Skip to content

Commit 00e4dc1

Browse files
fixed some documentation typos
1 parent 8ef696f commit 00e4dc1

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ If this flag is cleared, the widget resizing is deferred until the mouse button
153153

154154
### Opaque and non-opaque undocking
155155

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.
157157

158158
The drag preview widget can be configured by a number of global dock manager flags:
159159
- `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
416416
417417
HiveWE is a Warcraft III world editor. It focusses on speed and ease of use,
418418
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.
420420
The JASS editor uses the Qt Advanced Docking System for the management and layout
421421
of the open editor windows.
422422

doc/user-guide.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
## Configuration Flags
4848

4949
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
5151
configuration will be explained in detail in the following sections.
5252

5353
### Setting Configuration Flags
@@ -67,9 +67,9 @@ d->DockManager = new CDockManager(this);
6767
If you set the configurations flags, you can set individual flags using the
6868
function `CDockManager::setConfigFlag` or you can set all flags using
6969
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
7171
flags and then modify individual flags. The following predefined
72-
configurations are avilable
72+
configurations are available
7373
7474
- `DefaultNonOpaqueConfig` - uses non opaque splitter resizing and non opaque docking
7575
- `DefaultOpaqueConfig` - uses opaque splitter resizing and opaque docking
@@ -160,11 +160,11 @@ constant, that means, if enabled, the tabs need more space.
160160
161161
### `OpaqueUndocking`
162162
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.
164164
165165
![OpaqueUndocking true](opaque_undocking.gif)
166166
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
168168
flags `CDockManager::DefaultOpaqueConfig`.
169169
170170
```c++
@@ -324,7 +324,7 @@ still has a titlebar to drag it out of the main window.
324324

325325
If this is enabled, the docking system is able to highlight the tab and the
326326
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
328328
because it adds some overhead. The dock manager needs to react on focus
329329
changes and dock widget dragging to highlight the right dock widget. You should
330330
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
344344
widget differently. The picture above uses the following styling:
345345

346346
```css
347-
/* Color the tab with the nhighlight color */
347+
/* Color the tab with the highlight color */
348348
ads--CDockWidgetTab[focused="true"]
349349
{
350350
background: palette(highlight);
@@ -626,3 +626,4 @@ just call the function for settings the stylesheet with an empty string.
626626
```c++
627627
DockManager->setStyleSheet("");
628628
```
629+

0 commit comments

Comments
 (0)