summaryrefslogtreecommitdiffstats
path: root/src/designer/src/components/formeditor/formwindowmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/components/formeditor/formwindowmanager.h')
-rw-r--r--src/designer/src/components/formeditor/formwindowmanager.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/designer/src/components/formeditor/formwindowmanager.h b/src/designer/src/components/formeditor/formwindowmanager.h
index 16fa319f4..d9723cea6 100644
--- a/src/designer/src/components/formeditor/formwindowmanager.h
+++ b/src/designer/src/components/formeditor/formwindowmanager.h
@@ -58,7 +58,7 @@ class QT_FORMEDITOR_EXPORT FormWindowManager
{
Q_OBJECT
public:
- explicit FormWindowManager(QDesignerFormEditorInterface *core, QObject *parent = 0);
+ explicit FormWindowManager(QDesignerFormEditorInterface *core, QObject *parent = nullptr);
~FormWindowManager() override;
QDesignerFormEditorInterface *core() const override;
@@ -71,7 +71,7 @@ public:
int formWindowCount() const override;
QDesignerFormWindowInterface *formWindow(int index) const override;
- QDesignerFormWindowInterface *createFormWindow(QWidget *parentWidget = 0, Qt::WindowFlags flags = 0) override;
+ QDesignerFormWindowInterface *createFormWindow(QWidget *parentWidget = nullptr, Qt::WindowFlags flags = {}) override;
QPixmap createPreviewPixmap() const override;
@@ -133,38 +133,38 @@ private:
// edit actions
#if QT_CONFIG(clipboard)
- QAction *m_actionCut;
- QAction *m_actionCopy;
- QAction *m_actionPaste;
+ QAction *m_actionCut = nullptr;
+ QAction *m_actionCopy = nullptr;
+ QAction *m_actionPaste = nullptr;
#endif
- QAction *m_actionSelectAll;
- QAction *m_actionDelete;
- QAction *m_actionLower;
- QAction *m_actionRaise;
+ QAction *m_actionSelectAll = nullptr;
+ QAction *m_actionDelete = nullptr;
+ QAction *m_actionLower = nullptr;
+ QAction *m_actionRaise = nullptr;
// layout actions
- QAction *m_actionHorizontalLayout;
- QAction *m_actionVerticalLayout;
- QAction *m_actionFormLayout;
- QAction *m_actionSplitHorizontal;
- QAction *m_actionSplitVertical;
- QAction *m_actionGridLayout;
- QAction *m_actionBreakLayout;
- QAction *m_actionSimplifyLayout;
- QAction *m_actionAdjustSize;
+ QAction *m_actionHorizontalLayout = nullptr;
+ QAction *m_actionVerticalLayout = nullptr;
+ QAction *m_actionFormLayout = nullptr;
+ QAction *m_actionSplitHorizontal = nullptr;
+ QAction *m_actionSplitVertical = nullptr;
+ QAction *m_actionGridLayout = nullptr;
+ QAction *m_actionBreakLayout = nullptr;
+ QAction *m_actionSimplifyLayout = nullptr;
+ QAction *m_actionAdjustSize = nullptr;
// preview actions
- QAction *m_actionDefaultPreview;
- mutable PreviewActionGroup *m_actionGroupPreviewInStyle;
- QAction *m_actionShowFormWindowSettingsDialog;
+ QAction *m_actionDefaultPreview = nullptr;
+ mutable PreviewActionGroup *m_actionGroupPreviewInStyle = nullptr;
+ QAction *m_actionShowFormWindowSettingsDialog = nullptr;
- QAction *m_actionUndo;
- QAction *m_actionRedo;
+ QAction *m_actionUndo = nullptr;
+ QAction *m_actionRedo = nullptr;
QSet<QWidget *> getUnsortedLayoutsToBeBroken(bool firstOnly) const;
bool hasLayoutsToBeBroken() const;
QWidgetList layoutsToBeBroken(QWidget *w) const;
QWidgetList layoutsToBeBroken() const;
- QUndoGroup *m_undoGroup;
+ QUndoGroup *m_undoGroup = nullptr;
};