Add DockWidgetBase::setFloatingWindowFlags(flags)
So you can specify, per floating window, which flags you want
This commit is contained in:
@@ -460,6 +460,15 @@ public:
|
||||
/// This only applies when using MainWindowOption_HasCentralWidget
|
||||
bool isPersistentCentralDockWidget() const;
|
||||
|
||||
/// @brief Sets the desired floating window flags, in case the defaults aren't desired.
|
||||
/// By default KDDW will use the flags specified in KDDockWidgets::Config to influence
|
||||
/// many aspects regarding windows (minimize,maximize support for example).
|
||||
/// You can use this function to override those "global flags" and specify per-dock widget
|
||||
/// flags. Be sure to not call this before the floating window has already been created.
|
||||
/// It's suggested to call it before the dock widget is shown.
|
||||
void setFloatingWindowFlags(FloatingWindowFlags);
|
||||
KDDockWidgets::FloatingWindowFlags floatingWindowFlags() const;
|
||||
|
||||
Q_SIGNALS:
|
||||
#ifdef KDDOCKWIDGETS_QTWIDGETS
|
||||
///@brief signal emitted when the parent changed
|
||||
|
||||
Reference in New Issue
Block a user