You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added FloatingContainerForc*TitleBar to switch between native and custom titlebar.
Co-authored-by: SleepProgger <SleepProgger@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/DockManager.h
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -178,9 +178,17 @@ class ADS_EXPORT CDockManager : public CDockContainerWidget
178
178
FloatingContainerHasWidgetIcon = 0x80000, //!< If set, the Floating Widget icon reflects the icon of the current dock widget otherwise it displays application icon
179
179
HideSingleCentralWidgetTitleBar = 0x100000, //!< If there is only one single visible dock widget in the main dock container (the dock manager) and if this flag is set, then the titlebar of this dock widget will be hidden
180
180
//!< this only makes sense for non draggable and non floatable widgets and enables the creation of some kind of "central" widget
181
+
181
182
FocusHighlighting = 0x200000, //!< enables styling of focused dock widget tabs or floating widget titlebar
182
183
EqualSplitOnInsertion = 0x400000, ///!< if enabled, the space is equally distributed to all widgets in a splitter
183
184
185
+
FloatingContainerForceNativeTitleBar = 0x800000, //!< Linux only ! Forces all FloatingContainer to use the native title bar. This might break docking for FloatinContainer on some Window Managers (like Kwin/KDE).
186
+
//!< If neither this nor FloatingContainerForceCustomTitleBar is set (the default) native titlebars are used except on known bad systems.
187
+
//! Users can overwrite this by setting the environment variable ADS_UseNativeTitle to "1" or "0".
188
+
FloatingContainerForceCustomTitleBar = 0x1000000,//!< Linux only ! Forces all FloatingContainer to use a custom title bar.
189
+
//!< If neither this nor FloatingContainerForceNativeTitleBar is set (the default) native titlebars are used except on known bad systems.
190
+
//! Users can overwrite this by setting the environment variable ADS_UseNativeTitle to "1" or "0".
191
+
184
192
DefaultDockAreaButtons = DockAreaHasCloseButton
185
193
| DockAreaHasUndockButton
186
194
| DockAreaHasTabsMenuButton,///< default configuration of dock area title bar buttons
@@ -464,6 +472,10 @@ class ADS_EXPORT CDockManager : public CDockContainerWidget
0 commit comments