27 explicit QDesignerFormWindowManagerInterface(QObject *parent =
nullptr);
28 virtual ~QDesignerFormWindowManagerInterface();
32#if QT_CONFIG(clipboard)
46 HorizontalLayoutAction = 400,
48 SplitHorizontalAction,
56 DefaultPreviewAction = 500,
58 FormWindowSettingsDialogAction = 600
64 StyledPreviewActionGroup = 100
68 virtual QAction *action(Action action)
const = 0;
69 virtual QActionGroup *actionGroup(ActionGroup actionGroup)
const = 0;
71#if QT_CONFIG(clipboard)
72 QAction *actionCut()
const;
73 QAction *actionCopy()
const;
74 QAction *actionPaste()
const;
76 QAction *actionDelete()
const;
77 QAction *actionSelectAll()
const;
78 QAction *actionLower()
const;
79 QAction *actionRaise()
const;
80 QAction *actionUndo()
const;
81 QAction *actionRedo()
const;
83 QAction *actionHorizontalLayout()
const;
84 QAction *actionVerticalLayout()
const;
85 QAction *actionSplitHorizontal()
const;
86 QAction *actionSplitVertical()
const;
87 QAction *actionGridLayout()
const;
88 QAction *actionFormLayout()
const;
89 QAction *actionBreakLayout()
const;
90 QAction *actionAdjustSize()
const;
91 QAction *actionSimplifyLayout()
const;
93 virtual QDesignerFormWindowInterface *activeFormWindow()
const = 0;
95 virtual int formWindowCount()
const = 0;
96 virtual QDesignerFormWindowInterface *formWindow(
int index)
const = 0;
98 virtual QDesignerFormWindowInterface *createFormWindow(QWidget *parentWidget =
nullptr, Qt::WindowFlags flags = Qt::WindowFlags()) = 0;
100 virtual QDesignerFormEditorInterface *core()
const = 0;
102 virtual void dragItems(
const QList<QDesignerDnDItemInterface*> &item_list) = 0;
104 virtual QPixmap createPreviewPixmap()
const = 0;
107 void formWindowAdded(QDesignerFormWindowInterface *formWindow);
108 void formWindowRemoved(QDesignerFormWindowInterface *formWindow);
109 void activeFormWindowChanged(QDesignerFormWindowInterface *formWindow);
110 void formWindowSettingsChanged(QDesignerFormWindowInterface *fw);
113 virtual void addFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
114 virtual void removeFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
115 virtual void setActiveFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
116 virtual void showPreview() = 0;
117 virtual void closeAllPreviews() = 0;
118 virtual void showPluginDialog() = 0;