mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Added documentation for FloatingContainerHasWidgetTitle flag
This commit is contained in:
parent
842d417e8d
commit
ef855e3843
@ -522,7 +522,7 @@ CMainWindow::CMainWindow(QWidget *parent) :
|
||||
{
|
||||
using namespace ads;
|
||||
d->ui.setupUi(this);
|
||||
|
||||
setWindowTitle(QApplication::instance()->applicationName());
|
||||
d->createActions();
|
||||
|
||||
// uncomment the following line if the tab close button should be
|
||||
|
@ -41,6 +41,7 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
std::shared_ptr<int> b;
|
||||
QApplication a(argc, argv);
|
||||
a.setApplicationName("Advanced Docking System Demo");
|
||||
a.setQuitOnLastWindowClosed(true);
|
||||
|
||||
QFile StyleSheetFile(":/adsdemo/app.css");
|
||||
|
BIN
doc/cfg_flag_FloatingContainerHasWidgetTitle_false.png
Normal file
BIN
doc/cfg_flag_FloatingContainerHasWidgetTitle_false.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
BIN
doc/cfg_flag_FloatingContainerHasWidgetTitle_true.png
Normal file
BIN
doc/cfg_flag_FloatingContainerHasWidgetTitle_true.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
@ -20,6 +20,7 @@
|
||||
- [`DockAreaHasTabsMenuButton`](#dockareahastabsmenubutton)
|
||||
- [`DockAreaHideDisabledButtons`](#dockareahidedisabledbuttons)
|
||||
- [`DockAreaDynamicTabsMenuButtonVisibility`](#dockareadynamictabsmenubuttonvisibility)
|
||||
- [`FloatingContainerHasWidgetTitle`](#floatingcontainerhaswidgettitle)
|
||||
|
||||
## Configuration Flags
|
||||
|
||||
@ -255,3 +256,12 @@ only when it is required - that means, if the tabs are elided.
|
||||
If the tabs are not elided, the tabs menu button is hidden.
|
||||
|
||||
![DockAreaDynamicTabsMenuButtonVisibility false](cfg_flag_DockAreaDynamicTabsMenuButtonVisibility_true_hidden.png)
|
||||
|
||||
### `FloatingContainerHasWidgetTitle`
|
||||
|
||||
If set (default), the Floating Widget window title reflects the title of the
|
||||
current dock widget.
|
||||
|
||||
![FloatingContainerHasWidgetTitle true](cfg_flag_FloatingContainerHasWidgetTitle_true.png)
|
||||
|
||||
otherwise it displays application name as window title.
|
Loading…
Reference in New Issue
Block a user