49
49
- [ ` AutoHideCloseButtonCollapsesDock ` ] ( #autohideclosebuttoncollapsesdock )
50
50
- [ ` AutoHideHasCloseButton ` ] ( #autohidehasclosebutton )
51
51
- [ ` AutoHideHasMinimizeButton ` ] ( #autohidehasminimizebutton )
52
+ - [ ` AutoHideOpenOnDragHover ` ] ( #autohideopenondraghover )
52
53
- [ DockWidget Feature Flags] ( #dockwidget-feature-flags )
53
54
- [ ` DockWidgetClosable ` ] ( #dockwidgetclosable )
54
55
- [ ` DockWidgetMovable ` ] ( #dockwidgetmovable )
@@ -150,7 +151,7 @@ This ie enabled by default to minimize the size of the saved data.
150
151
151
152
### `TabCloseButtonIsToolButton`
152
153
153
- If enabled the tab close buttons will be `QToolButtons` instead of `QPushButtons` -
154
+ If enabled the tab close buttons will be `QToolButtons` instead of `QPushButtons` -
154
155
disabled by default. Normally the default configuration should be ok but if your
155
156
application requires `QToolButtons` instead of `QPushButtons` for styling reasons
156
157
or for any other reasons, then you can enable this flag.
@@ -181,7 +182,7 @@ constant, that means, if enabled, the tabs need more space.
181
182
182
183
### `DragPreviewIsDynamic`
183
184
184
- If non-opaque undocking is enabled, this flag defines the behavior of the drag
185
+ If non-opaque undocking is enabled, this flag defines the behavior of the drag
185
186
preview window. If this flag is enabled, then it will give the user the
186
187
impression, that the floating drag preview is dynamically adjusted to the drop
187
188
area. In order to give the perfect impression, you should disable the flags
@@ -197,7 +198,7 @@ CDockManager::setConfigFlag(CDockManager::DragPreviewHasWindowFrame, false);
197
198
198
199
### ` DragPreviewShowsContentPixmap `
199
200
200
- If non-opaque undocking is enabled, the created drag preview window shows a
201
+ If non-opaque undocking is enabled, the created drag preview window shows a
201
202
copy of the content of the dock widget / dock are that is dragged, if this
202
203
flag is enabled (default).
203
204
@@ -210,7 +211,7 @@ like window without any content.
210
211
211
212
### ` DragPreviewHasWindowFrame `
212
213
213
- If non-opaque undocking is enabled, then this flag configures if the drag
214
+ If non-opaque undocking is enabled, then this flag configures if the drag
214
215
preview is frameless (default) or looks like a real window. If it is enabled,
215
216
then the drag preview is a transparent window with a system window frame.
216
217
@@ -378,7 +379,7 @@ ads--CDockAreaWidget[focused="true"] ads--CDockAreaTitleBar
378
379
379
380
If you have a content widget that does not support focussing for some reason
380
381
(like ` QVTKOpenGLStereoWidget ` from the [ VTK library] ( https://github.com/Kitware/VTK ) ),
381
- then you can manually switch the focus by reacting on mouse events. The
382
+ then you can manually switch the focus by reacting on mouse events. The
382
383
following code shows, how to install en event filter on the ` QVTKOpenGLStereoWidget `
383
384
to properly switch the focus on ` QEvent::MouseButtonPress ` :
384
385
@@ -422,7 +423,7 @@ bool CMainWindow::eventFilter(QObject *watched, QEvent *event)
422
423
### ` EqualSplitOnInsertion `
423
424
424
425
This flag configures how the space is distributed if a new dock widget is
425
- inserted into an existing dock area. The flag is disabled by default. If 3
426
+ inserted into an existing dock area. The flag is disabled by default. If 3
426
427
dock widgets are inserted with the following code
427
428
428
429
``` c++
@@ -433,7 +434,7 @@ then this is the result, if the flag is disabled:
433
434
434
435

435
436
436
- If the flag is enabled, then the space is equally distributed to all widgets
437
+ If the flag is enabled, then the space is equally distributed to all widgets
437
438
in a splitter:
438
439
439
440

@@ -501,7 +502,7 @@ for active tabs. Inactive tabs only show their icon:
501
502
502
503
The Advanced Docking System supports "Auto-Hide" functionality for **all**
503
504
dock containers. The "Auto Hide" feature allows to display more information
504
- using less screen space by hiding or showing windows pinned to one of the
505
+ using less screen space by hiding or showing windows pinned to one of the
505
506
four dock container borders.
506
507
507
508
Enabling this feature adds a button with a pin icon to each dock area.
@@ -563,7 +564,7 @@ That means, you can drag them to a different border or sidebar:
563
564
564
565
### Auto-Hide Tab Sorting
565
566
566
- You can drag Auto-Hide tabs to a new position in the current sidebar
567
+ You can drag Auto-Hide tabs to a new position in the current sidebar
567
568
to sort them:
568
569
569
570

@@ -632,7 +633,7 @@ the other Auto-Hide flags will be evaluated.
632
633
633
634
### `DockAreaHasAutoHideButton`
634
635
635
- If this flag is set (default), then each dock area has a pin button in the title
636
+ If this flag is set (default), then each dock area has a pin button in the title
636
637
bar to toggle Auto-Hide state.
637
638
638
639

@@ -676,7 +677,7 @@ works if this feature is enabled.
676
677
Some users don't understand the distinction between closing an auto hide dock and
677
678
collapsing an auto hide dock. This may lead to situations where they press the
678
679
close button (losing the side tab widget) instead of simply clicking outside
679
- the auto hide dock (collapsing the dock).
680
+ the auto hide dock (collapsing the dock).
680
681
681
682

682
683
@@ -704,6 +705,15 @@ If this flag is set (disabled by default), then each auto hide widget has a mini
704
705
705
706

706
707
708
+
709
+ ### `AutoHideOpenOnDragHover`
710
+
711
+ If this flag is set (disabled by default), then holding a dragging cursor hover an auto-hide collapsed dock's tab will open said dock:
712
+
713
+ 
714
+
715
+ Said dock must be set to accept drops to hide when cursor leaves its scope. See `AutoHideDragNDropExample` for more details.
716
+
707
717
## DockWidget Feature Flags
708
718
709
719
### `DockWidgetClosable`
0 commit comments