Skip to content

Commit 8bf8309

Browse files
Added configuration flags DockAreaHasTabsMenuButton and DockAreaHasUndockButton to user-guide.md
1 parent 528f48e commit 8bf8309

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed
Loading
Loading

doc/user-guide.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
- [`DragPreviewShowsContentPixmap`](#dragpreviewshowscontentpixmap)
1717
- [`DragPreviewHasWindowFrame`](#dragpreviewhaswindowframe)
1818
- [`AlwaysShowTabs`](#alwaysshowtabs)
19+
- [`DockAreaHasUndockButton`](#dockareahasundockbutton)
20+
- [`DockAreaHasTabsMenuButton`](#dockareahastabsmenubutton)
1921

2022
## Configuration Flags
2123

@@ -202,7 +204,26 @@ then the drag preview is a transparent window with a system window frame.
202204

203205
If this option is enabled, the tab of a dock widget is always displayed - even
204206
if it is the only visible dock widget in a floating widget. In the image below
205-
on the left side, the flag is disabled (default) and on the right side it is
207+
on the left side, the flag is disabled (default) and on the right side it is
206208
enabled.
207209

208210
![AlwaysShowTabs false true](cfg_flag_AlwaysShowTabs_false_true.png)
211+
212+
### `DockAreaHasUndockButton`
213+
214+
If the flag is set (default) each dock area has an undock button (right
215+
image). If the flag is cleared, a dock area has no undock button (left image)
216+
217+
![DockAreaHasUndockButton false true](cfg_flag_DockAreaHasUndockButton_false_true.png)
218+
219+
### `DockAreaHasTabsMenuButton`
220+
221+
Tabs are a good way to quickly switch between dockwidgets in a dockarea.
222+
However, if the number of dockwidgets in a dockarea is too large, this may affect
223+
the usability of the tab bar. To keep track in this situation, you can use the
224+
tab menu. The menu allows you to quickly select the dockwidget you want to
225+
activate from a drop down menu. This flag shows / hides the tabs menu button
226+
in the dock area title bar. On the left side, the tabs menu button flag
227+
is cleared.
228+
229+
![DockAreaHasTabsMenuButton false true](cfg_flag_DockAreaHasTabsMenuButton_false_true.png)

0 commit comments

Comments
 (0)