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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ If this flag is cleared, the widget resizing is deferred until the mouse button
153
153
154
154
### Opaque and non-opaque undocking
155
155
156
-
By default, 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 immediatelly. You can compare this with opaque splitter resizing. If the flag `OpaqueUndocking` is cleared, 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.
156
+
By default, 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. If the flag `OpaqueUndocking` is cleared, 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 immediately. 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.
157
157
158
158
The drag preview widget can be configured by a number of global dock manager flags:
159
159
-`DragPreviewIsDynamic`: if this flag is enabled, the preview will be adjusted dynamically to the drop area
@@ -416,7 +416,7 @@ D-Tect X is a X-ray inspection software for industrial radiography. It is a stat
416
416
417
417
HiveWE is a Warcraft III world editor. It focusses on speed and ease of use,
418
418
especially for large maps where the regular World Editor is often too slow and clunky.
419
-
It has a JASS editor with syntax hightlighting, tabs, code completion and more.
419
+
It has a JASS editor with syntax highlighting, tabs, code completion and more.
420
420
The JASS editor uses the Qt Advanced Docking System for the management and layout
Copy file name to clipboardExpand all lines: doc/user-guide.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@
47
47
## Configuration Flags
48
48
49
49
The Advanced Docking System has a number of global configuration options to
50
-
configure the design and the functionality of the docking system. Eachs
50
+
configure the design and the functionality of the docking system. Each
51
51
configuration will be explained in detail in the following sections.
52
52
53
53
### Setting Configuration Flags
@@ -67,9 +67,9 @@ d->DockManager = new CDockManager(this);
67
67
If you set the configurations flags, you can set individual flags using the
68
68
function `CDockManager::setConfigFlag` or you can set all flags using
69
69
the function `CDockManager::setConfigFlags`. Instead of settings all
70
-
flags individualy, it is better to pick a predefined set of configuration
70
+
flags individually, it is better to pick a predefined set of configuration
71
71
flags and then modify individual flags. The following predefined
72
-
configurations are avilable
72
+
configurations are available
73
73
74
74
- `DefaultNonOpaqueConfig` - uses non opaque splitter resizing and non opaque docking
75
75
- `DefaultOpaqueConfig` - uses opaque splitter resizing and opaque docking
@@ -160,11 +160,11 @@ constant, that means, if enabled, the tabs need more space.
160
160
161
161
### `OpaqueUndocking`
162
162
163
-
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 immediatelly. You can compare this with opaque splitter resizing.
163
+
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.
164
164
165
165

166
166
167
-
If you would like to test opaque undocking, you should set the pedefined config
167
+
If you would like to test opaque undocking, you should set the predefined config
168
168
flags `CDockManager::DefaultOpaqueConfig`.
169
169
170
170
```c++
@@ -324,7 +324,7 @@ still has a titlebar to drag it out of the main window.
324
324
325
325
If this is enabled, the docking system is able to highlight the tab and the
326
326
components of a dock area with a different style (i.e. a different color).
327
-
This option is disabled by default and needs to be enabled explicitely
327
+
This option is disabled by default and needs to be enabled explicitly
328
328
because it adds some overhead. The dock manager needs to react on focus
329
329
changes and dock widget dragging to highlight the right dock widget. You should
330
330
enable it only, if you really need it for your application.
@@ -344,7 +344,7 @@ be set to true and you can use this property to style the focused dock
344
344
widget differently. The picture above uses the following styling:
345
345
346
346
```css
347
-
/* Color the tab with the nhighlight color */
347
+
/* Color the tab with the highlight color */
348
348
ads--CDockWidgetTab[focused="true"]
349
349
{
350
350
background: palette(highlight);
@@ -626,3 +626,4 @@ just call the function for settings the stylesheet with an empty string.
0 commit comments