mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
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:
@@ -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 **/
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user