mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #347, renamed property to frameless
This commit is contained in:
committed by
Roland Winklmeier
parent
7123cad53a
commit
edaf1fba89
@@ -22,7 +22,7 @@ namespace BlackGui
|
||||
{
|
||||
CDockWidgetInfoBar::CDockWidgetInfoBar(QWidget *parent) : CDockWidget(parent)
|
||||
{
|
||||
this->setProperty("mainframeless", CGuiUtility::isMainWindowFrameless());
|
||||
this->setProperty("frameless", CGuiUtility::isMainWindowFrameless());
|
||||
this->setMarginsWhenDocked(0, 0, 0, -1);
|
||||
this->setWindowTitle("Info bar");
|
||||
this->setWindowIcon(CIcons::swift24());
|
||||
|
||||
@@ -5,7 +5,7 @@ QFrame {
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
/** mainframeless is dynamic property**/
|
||||
QDockWidget[mainframeless="true"] QFrame {
|
||||
/** frameless is dynamic property**/
|
||||
QDockWidget[frameless="true"] QFrame {
|
||||
background-color: darkslategray;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ there is no opacity with background image, so we need semitransparent images
|
||||
use -- instead of :: for namespaces
|
||||
|
||||
Used dynamic properties
|
||||
mainframeless (infobar.qss)
|
||||
frameless (infobar.qss)
|
||||
**/
|
||||
|
||||
/** Main window **/
|
||||
@@ -53,7 +53,7 @@ QAbstractScrollArea #pg_StatusPageConsole { background-color: black; }
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
#wi_CentralWidgetOutside[mainframeless="true"] {
|
||||
#wi_CentralWidgetOutside[frameless="true"] {
|
||||
background-image: url(:/textures/icons/textures/texture-outer.jpg);
|
||||
background-color: darkslategray;
|
||||
margin: 0px;
|
||||
|
||||
@@ -5,7 +5,7 @@ QFrame {
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
/** mainframeless dynamic property**/
|
||||
QDockWidget[mainframeless="true"] QFrame {
|
||||
/** frameless dynamic property**/
|
||||
QDockWidget[frameless="true"] QFrame {
|
||||
background-color: darkslategray;
|
||||
}
|
||||
Reference in New Issue
Block a user