|
11 | 11 | - [`TabCloseButtonIsToolButton`](#tabclosebuttonistoolbutton)
|
12 | 12 | - [`AllTabsHaveCloseButton`](#alltabshaveclosebutton)
|
13 | 13 | - [`RetainTabSizeWhenCloseButtonHidden`](#retaintabsizewhenclosebuttonhidden)
|
14 |
| - - [`OpaqueUndocking`](#opaqueundocking) |
15 | 14 | - [`DragPreviewIsDynamic`](#dragpreviewisdynamic)
|
16 | 15 | - [`DragPreviewShowsContentPixmap`](#dragpreviewshowscontentpixmap)
|
17 | 16 | - [`DragPreviewHasWindowFrame`](#dragpreviewhaswindowframe)
|
@@ -170,37 +169,6 @@ constant, that means, if enabled, the tabs need more space.
|
170 | 169 |
|
171 | 170 | 
|
172 | 171 |
|
173 |
| -### `OpaqueUndocking` |
174 |
| -
|
175 |
| -If this flag is set, opaque undocking is active. That means, as soon as you drag a dock widget or a dock area with a number of dock widgets it will be undocked and moved into a floating widget and then the floating widget will be dragged around. That means undocking will take place immediately. You can compare this with opaque splitter resizing. |
176 |
| -
|
177 |
| - |
178 |
| -
|
179 |
| -If you would like to test opaque undocking, you should set the predefined config |
180 |
| -flags `CDockManager::DefaultOpaqueConfig`. |
181 |
| -
|
182 |
| -```c++ |
183 |
| -CDockManager::setConfigFlags(CDockManager::DefaultOpaqueConfig); |
184 |
| -``` |
185 |
| - |
186 |
| -If this flag is cleared (default), then non-opaque undocking is active. In this mode, undocking is more like a standard drag and drop operation. That means, the dragged dock widget or dock area is not undocked immediatelly. Instead, a drag preview widget is created and dragged around to indicate the future position of the dock widget or dock area. The actual dock operation is only executed when the mouse button is released. That makes it possible, to cancel an active drag operation with the escape key. |
187 |
| - |
188 |
| - |
189 |
| - |
190 |
| -The drag preview widget can be configured by a number of global dock manager flags: |
191 |
| - |
192 |
| -- `DragPreviewIsDynamic` |
193 |
| -- `DragPreviewShowsContentPixmap` |
194 |
| -- `DragPreviewHasWindowFrame` |
195 |
| - |
196 |
| -Non-opaque undocking is enabled by default. If you would like to enable it |
197 |
| -explicitely, you can do this by setting the predefined configuration flags |
198 |
| -`CDockManager::DefaultNonOpaqueConfig`. |
199 |
| - |
200 |
| -```c++ |
201 |
| -CDockManager::setConfigFlags(CDockManager::DefaultNonOpaqueConfig); |
202 |
| -``` |
203 |
| -
|
204 | 172 | ### `DragPreviewIsDynamic`
|
205 | 173 |
|
206 | 174 | If non-opaque undocking is enabled, this flag defines the behavior of the drag
|
@@ -631,10 +599,7 @@ If set, the dock widget will have a close button.
|
631 | 599 |
|
632 | 600 | If a dock widget is movable, then it and can be moved to a new position in the
|
633 | 601 | current dock container. Disable this flag to prevent moving of a dock widget
|
634 |
| -via mouse. If the `OpaqueUndocking` configuration flag is set, then dock widgets |
635 |
| -are immediately undocked into floating widgets. That means, moving is only |
636 |
| -possible in this case, if the dock widget is also floatable (feature flag |
637 |
| -`DockWidgetFloatable` is set). |
| 602 | +via mouse. |
638 | 603 |
|
639 | 604 | ### `DockWidgetFloatable`
|
640 | 605 |
|
|
0 commit comments