mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-04-18 03:14:45 +08:00
Revert "Allow disabling of internal stylesheet."
This commit is contained in:
parent
a4d06923f1
commit
7b94eb9bf6
@ -396,7 +396,7 @@ void DockManagerPrivate::addActionToMenu(QAction* Action, QMenu* Menu, bool Inse
|
|||||||
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
CDockManager::CDockManager(QWidget *parent, bool useInternalStyleSheet) :
|
CDockManager::CDockManager(QWidget *parent) :
|
||||||
CDockContainerWidget(this, parent),
|
CDockContainerWidget(this, parent),
|
||||||
d(new DockManagerPrivate(this))
|
d(new DockManagerPrivate(this))
|
||||||
{
|
{
|
||||||
@ -411,11 +411,8 @@ CDockManager::CDockManager(QWidget *parent, bool useInternalStyleSheet) :
|
|||||||
d->DockAreaOverlay = new CDockOverlay(this, CDockOverlay::ModeDockAreaOverlay);
|
d->DockAreaOverlay = new CDockOverlay(this, CDockOverlay::ModeDockAreaOverlay);
|
||||||
d->ContainerOverlay = new CDockOverlay(this, CDockOverlay::ModeContainerOverlay);
|
d->ContainerOverlay = new CDockOverlay(this, CDockOverlay::ModeContainerOverlay);
|
||||||
d->Containers.append(this);
|
d->Containers.append(this);
|
||||||
if (useInternalStyleSheet)
|
|
||||||
{
|
|
||||||
d->loadStylesheet();
|
d->loadStylesheet();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
CDockManager::~CDockManager()
|
CDockManager::~CDockManager()
|
||||||
|
@ -130,12 +130,10 @@ public:
|
|||||||
* Default Constructor.
|
* Default Constructor.
|
||||||
* If the given parent is a QMainWindow, the dock manager sets itself as the
|
* If the given parent is a QMainWindow, the dock manager sets itself as the
|
||||||
* central widget.
|
* central widget.
|
||||||
* Loading of the internal stylesheet can be skipped by setting
|
|
||||||
* useInternalStyleSheet to false.
|
|
||||||
* Before you create any dock widgets, you should properly setup the
|
* Before you create any dock widgets, you should properly setup the
|
||||||
* configuration flags via setConfigFlags()
|
* configuration flags via setConfigFlags()
|
||||||
*/
|
*/
|
||||||
CDockManager(QWidget* parent = 0, bool useInternalStyleSheet = true);
|
CDockManager(QWidget* parent = 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Virtual Destructor
|
* Virtual Destructor
|
||||||
|
Loading…
Reference in New Issue
Block a user