Some improvements and fixes refs #312, Navigator (aka navigation bars)

* Added extra QFrame in CDockWidgets to have better control in stylesheez (CDockWidget -> QWidget -> QFrame)
* Adjusted stylesheets
* Force update of stylesheet when frameless changes
* Cascading status message in nested CInfoArea components

Floating frameless dock widget still not transparent
This commit is contained in:
Klaus Basan
2015-04-18 03:38:05 +02:00
parent dd3f91bcd8
commit 464a8f4258
11 changed files with 526 additions and 158 deletions

View File

@@ -36,6 +36,7 @@ namespace BlackGui
this->m_ownStatusBar = statusBar ? false : true;
this->m_statusBar = statusBar ? statusBar : new QStatusBar();
if (this->m_statusBar->objectName().isEmpty()) { this->m_statusBar->setObjectName("sb_ManagedStatusBar"); }
if (this->m_ownStatusBar) { m_statusBar->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);}
this->m_statusBarIcon = new QLabel(this->m_statusBar);
this->m_statusBarLabel = new QLabel(this->m_statusBar);