forked from qt-creator/qt-creator
FancyMainWindow: Add a way to make the layout immutable
To be used in the new Project mode main window to prevent accidental closing of the navigation dock. Change-Id: Id8970ab80a91113e97a9f9a07b9dfb12b9cb0e30 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
|
||||
/* The widget passed in should have an objectname set
|
||||
* which will then be used as key for QSettings. */
|
||||
QDockWidget *addDockForWidget(QWidget *widget);
|
||||
QDockWidget *addDockForWidget(QWidget *widget, bool immutable = false);
|
||||
QList<QDockWidget *> dockWidgets() const;
|
||||
|
||||
void setTrackingEnabled(bool enabled);
|
||||
|
||||
Reference in New Issue
Block a user