|
13 | 13 | - [`RetainTabSizeWhenCloseButtonHidden`](#retaintabsizewhenclosebuttonhidden) |
14 | 14 | - [`OpaqueUndocking`](#opaqueundocking) |
15 | 15 | - [`DragPreviewIsDynamic`](#dragpreviewisdynamic) |
| 16 | + - [`DragPreviewShowsContentPixmap`](#dragpreviewshowscontentpixmap) |
| 17 | + - [`DragPreviewHasWindowFrame`](#dragpreviewhaswindowframe) |
16 | 18 |
|
17 | 19 | ## Configuration Flags |
18 | 20 |
|
@@ -172,4 +174,25 @@ CDockManager::setConfigFlag(CDockManager::DragPreviewShowsContentPixmap, false); |
172 | 174 | CDockManager::setConfigFlag(CDockManager::DragPreviewHasWindowFrame, false); |
173 | 175 | ``` |
174 | 176 |
|
175 | | - |
| 177 | + |
| 178 | + |
| 179 | +### `DragPreviewShowsContentPixmap` |
| 180 | + |
| 181 | +If non-opaque undocking is enabled, the created drag preview window shows a |
| 182 | +copy of the content of the dock widget / dock are that is dragged, if this |
| 183 | +flag is enabled (default). |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | +If this flag is disabled, the drag preview is only a transparent `QRubberBand` |
| 188 | +like window without any content. |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | +### `DragPreviewHasWindowFrame` |
| 193 | + |
| 194 | +If non-opaque undocking is enabled, then this flag configures if the drag |
| 195 | +preview is frameless (default) or looks like a real window. If it is enabled, |
| 196 | +then the drag preview is a transparent window with a system window frame. |
| 197 | + |
| 198 | + |
0 commit comments