mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-24 05:22:06 +08:00
Remove auto hide feature being set by default. Add config for the default auto hide feature.
This commit is contained in:
parent
de4a59d45a
commit
8bfb98ea20
@ -3,26 +3,17 @@
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
#include <QWidgetAction>
|
||||
#include <QLabel>
|
||||
#include <QCalendarWidget>
|
||||
#include <QTreeView>
|
||||
#include <QFileSystemModel>
|
||||
#include <QTableWidget>
|
||||
#include <QHBoxLayout>
|
||||
#include <QRadioButton>
|
||||
#include <QPushButton>
|
||||
#include <QInputDialog>
|
||||
#include <QFileDialog>
|
||||
#include <QSettings>
|
||||
#include <QMessageBox>
|
||||
#include <QPlainTextEdit>
|
||||
#include <QToolBar>
|
||||
|
||||
#include "DockAreaWidget.h"
|
||||
#include "DockAreaTitleBar.h"
|
||||
#include "DockAreaTabBar.h"
|
||||
#include "FloatingDockContainer.h"
|
||||
#include "DockComponentsFactory.h"
|
||||
|
||||
using namespace ads;
|
||||
|
||||
@ -35,6 +26,7 @@ CMainWindow::CMainWindow(QWidget *parent)
|
||||
CDockManager::setConfigFlag(CDockManager::OpaqueSplitterResize, true);
|
||||
CDockManager::setConfigFlag(CDockManager::XmlCompressionEnabled, false);
|
||||
CDockManager::setConfigFlag(CDockManager::FocusHighlighting, true);
|
||||
CDockManager::setConfigFlag(CDockManager::DefaultDockContainerConfig, true);
|
||||
DockManager = new CDockManager(this);
|
||||
|
||||
// Set central widget
|
||||
|
@ -210,8 +210,7 @@ public:
|
||||
|
||||
DefaultDockAreaButtons = DockAreaHasCloseButton
|
||||
| DockAreaHasUndockButton
|
||||
| DockAreaHasTabsMenuButton
|
||||
| DockAreaHasAutoHideButton,///< default configuration of dock area title bar buttons
|
||||
| DockAreaHasTabsMenuButton, ///< default configuration of dock area title bar buttons
|
||||
|
||||
DefaultDockContainerSideBars = DockContainerHasLeftSideBar
|
||||
| DockContainerHasRightSideBar, ///< the default configuration for left and right side bars
|
||||
|
Loading…
Reference in New Issue
Block a user