Add DockWidget::Option::Option_DeleteOnClose

This commit is contained in:
Sergio Martins
2021-01-13 12:53:22 +00:00
parent cfcff6f2d7
commit 8f61e57b57
4 changed files with 20 additions and 2 deletions

View File

@@ -75,7 +75,8 @@ public:
enum Option {
Option_None = 0, ///< No option, the default
Option_NotClosable = 1, ///< The DockWidget can't be closed on the [x], only programatically
Option_NotDockable = 2 ///< The DockWidget can't be docked, it's always floating
Option_NotDockable = 2, ///< The DockWidget can't be docked, it's always floating
Option_DeleteOnClose = 4 ///< Deletes the DockWidget when closed
};
Q_DECLARE_FLAGS(Options, Option)