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

@@ -39,17 +39,18 @@ BlackGui--CDockWidgetInfoArea {
background-color: green; /** I use green here so I can adjust the borders in gui.ini **/
}
/** this is the first widget in the dock area **/
/** all dock widgets shall have this QWidget as container **/
BlackGui--CDockWidgetInfoArea > QWidget {
background-color: black;
background: black; /** background is background color here **/
background-image: url(:/textures/icons/textures/texture-inner.jpg);
}
/** the following QFrame, likely the component itself
BlackGui--CDockWidgetInfoArea > QWidget > QFrame {
border: 0px;
padding: 0px;
/** this is the first widget in the dock area **/
/** all dock widgets shall have this QWidget as container **/
BlackGui--CDockWidgetInfoArea[framelessDockWidget="true"] > QWidget > QFrame {
margin: 0px;
padding: 3px;
border: 2px solid green;
border-radius: 10px;
}
/** fix the menu, which is overridden by the above QWidget **/

View File

@@ -1,7 +1,8 @@
#fr_NavigatorDockWidgetInner[framelessDockWidget="true"] {
margin: 0px;
padding: 3px;
border: 2px solid green;
border-radius: 20px;
border-radius: 10px;
}
#fr_NavigatorDockWidgetInner QToolButton {