mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-04-01 02:42:39 +08:00
Added FloatingContainerHasWidgetIcon documentation to user-guide.md
This commit is contained in:
parent
cbd2fcb0d3
commit
e4c5eac146
@ -564,6 +564,7 @@ CMainWindow::CMainWindow(QWidget *parent) :
|
|||||||
// CDockManager::setConfigFlag(CDockManager::HideSingleCentralWidgetTitleBar, true);
|
// CDockManager::setConfigFlag(CDockManager::HideSingleCentralWidgetTitleBar, true);
|
||||||
|
|
||||||
// Now create the dock manager and its content
|
// Now create the dock manager and its content
|
||||||
|
CDockManager::setConfigFlag(CDockManager::FloatingContainerHasWidgetIcon, true);
|
||||||
d->DockManager = new CDockManager(this);
|
d->DockManager = new CDockManager(this);
|
||||||
|
|
||||||
connect(d->PerspectiveComboBox, SIGNAL(activated(const QString&)),
|
connect(d->PerspectiveComboBox, SIGNAL(activated(const QString&)),
|
||||||
|
@ -14,18 +14,17 @@ styles as much as possible.
|
|||||||
|
|
||||||
### Overview
|
### Overview
|
||||||
|
|
||||||
- [Advanced Docking System for Qt](#advanced-docking-system-for-qt)
|
- [Features](#features)
|
||||||
- [Features](#features)
|
- [Overview](#overview)
|
||||||
- [Overview](#overview)
|
- [Docking everywhere - no central widget](#docking-everywhere---no-central-widget)
|
||||||
- [Docking everywhere - no central widget](#docking-everywhere---no-central-widget)
|
- [Docking inside floating windows](#docking-inside-floating-windows)
|
||||||
- [Docking inside floating windows](#docking-inside-floating-windows)
|
- [Grouped dragging](#grouped-dragging)
|
||||||
- [Grouped dragging](#grouped-dragging)
|
- [Perspectives for fast switching of the complete main window layout](#perspectives-for-fast-switching-of-the-complete-main-window-layout)
|
||||||
- [Perspectives for fast switching of the complete main window layout](#perspectives-for-fast-switching-of-the-complete-main-window-layout)
|
- [Opaque and non-opaque splitter resizing](#opaque-and-non-opaque-splitter-resizing)
|
||||||
- [Opaque and non-opaque splitter resizing](#opaque-and-non-opaque-splitter-resizing)
|
- [Opaque and non-opaque undocking](#opaque-and-non-opaque-undocking)
|
||||||
- [Opaque and non-opaque undocking](#opaque-and-non-opaque-undocking)
|
- [Tab-menu for easy handling of many tabbed dock widgets](#tab-menu-for-easy-handling-of-many-tabbed-dock-widgets)
|
||||||
- [Tab-menu for easy handling of many tabbed dock widgets](#tab-menu-for-easy-handling-of-many-tabbed-dock-widgets)
|
- [Many different ways to detach dock widgets](#many-different-ways-to-detach-dock-widgets)
|
||||||
- [Many different ways to detach dock widgets](#many-different-ways-to-detach-dock-widgets)
|
- [Supports deletion of dynamically created dock widgets](#supports-deletion-of-dynamically-created-dock-widgets)
|
||||||
- [Supports deletion of dynamically created dock widgets](#supports-deletion-of-dynamically-created-dock-widgets)
|
|
||||||
|
|
||||||
### Docking everywhere - no central widget
|
### Docking everywhere - no central widget
|
||||||
|
|
||||||
@ -33,8 +32,8 @@ There is no central widget like in the Qt docking system. You can dock on every
|
|||||||
border of the main window or you can dock into each dock area - so you are
|
border of the main window or you can dock into each dock area - so you are
|
||||||
free to dock almost everywhere.
|
free to dock almost everywhere.
|
||||||
|
|
||||||
\
|

|
||||||
\
|
|
||||||

|

|
||||||
|
|
||||||
### Docking inside floating windows
|
### Docking inside floating windows
|
||||||
@ -42,8 +41,8 @@ free to dock almost everywhere.
|
|||||||
There is no difference between the main window and a floating window. Docking
|
There is no difference between the main window and a floating window. Docking
|
||||||
into floating windows is supported.
|
into floating windows is supported.
|
||||||
|
|
||||||
\
|

|
||||||
\
|
|
||||||

|

|
||||||
|
|
||||||
### Grouped dragging
|
### Grouped dragging
|
||||||
@ -52,8 +51,8 @@ When dragging the titlebar of a dock, all the tabs that are tabbed with it are
|
|||||||
going to be dragged. So you can move complete groups of tabbed widgets into
|
going to be dragged. So you can move complete groups of tabbed widgets into
|
||||||
a floating widget or from one dock area to another one.
|
a floating widget or from one dock area to another one.
|
||||||
|
|
||||||
\
|

|
||||||
\
|
|
||||||

|

|
||||||
|
|
||||||
### Perspectives for fast switching of the complete main window layout
|
### Perspectives for fast switching of the complete main window layout
|
||||||
@ -64,8 +63,8 @@ perspective to make your own custom perspective. Later you can simply
|
|||||||
select a perspective from the perspective list to quickly switch the complete
|
select a perspective from the perspective list to quickly switch the complete
|
||||||
main window layout.
|
main window layout.
|
||||||
|
|
||||||
\
|

|
||||||
\
|
|
||||||

|

|
||||||
|
|
||||||
### Opaque and non-opaque splitter resizing
|
### Opaque and non-opaque splitter resizing
|
||||||
|
BIN
doc/cfg_flag_FloatingContainerHasWidgetIcon_false.png
Normal file
BIN
doc/cfg_flag_FloatingContainerHasWidgetIcon_false.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
BIN
doc/cfg_flag_FloatingContainerHasWidgetIcon_true.png
Normal file
BIN
doc/cfg_flag_FloatingContainerHasWidgetIcon_true.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
@ -21,6 +21,7 @@
|
|||||||
- [`DockAreaHideDisabledButtons`](#dockareahidedisabledbuttons)
|
- [`DockAreaHideDisabledButtons`](#dockareahidedisabledbuttons)
|
||||||
- [`DockAreaDynamicTabsMenuButtonVisibility`](#dockareadynamictabsmenubuttonvisibility)
|
- [`DockAreaDynamicTabsMenuButtonVisibility`](#dockareadynamictabsmenubuttonvisibility)
|
||||||
- [`FloatingContainerHasWidgetTitle`](#floatingcontainerhaswidgettitle)
|
- [`FloatingContainerHasWidgetTitle`](#floatingcontainerhaswidgettitle)
|
||||||
|
- [`FloatingContainerHasWidgetIcon`](#floatingcontainerhaswidgeticon)
|
||||||
|
|
||||||
## Configuration Flags
|
## Configuration Flags
|
||||||
|
|
||||||
@ -259,9 +260,21 @@ If the tabs are not elided, the tabs menu button is hidden.
|
|||||||
|
|
||||||
### `FloatingContainerHasWidgetTitle`
|
### `FloatingContainerHasWidgetTitle`
|
||||||
|
|
||||||
If set (default), the Floating Widget window title reflects the title of the
|
If set (default), the floating widget window title reflects the title of the
|
||||||
current dock widget.
|
current dock widget.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
otherwise it displays application name as window title.
|
otherwise it displays application name as window title.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### `FloatingContainerHasWidgetIcon`
|
||||||
|
|
||||||
|
If set, the floating widget icon reflects the icon of the current dock widget
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
otherwise (default setting) it displays application icon.
|
||||||
|
|
||||||
|

|
||||||
|
Loading…
Reference in New Issue
Block a user