mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25: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)
|
CDockWidgetInfoBar::CDockWidgetInfoBar(QWidget *parent) : CDockWidget(parent)
|
||||||
{
|
{
|
||||||
this->setProperty("mainframeless", CGuiUtility::isMainWindowFrameless());
|
this->setProperty("frameless", CGuiUtility::isMainWindowFrameless());
|
||||||
this->setMarginsWhenDocked(0, 0, 0, -1);
|
this->setMarginsWhenDocked(0, 0, 0, -1);
|
||||||
this->setWindowTitle("Info bar");
|
this->setWindowTitle("Info bar");
|
||||||
this->setWindowIcon(CIcons::swift24());
|
this->setWindowIcon(CIcons::swift24());
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ QFrame {
|
|||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** mainframeless is dynamic property**/
|
/** frameless is dynamic property**/
|
||||||
QDockWidget[mainframeless="true"] QFrame {
|
QDockWidget[frameless="true"] QFrame {
|
||||||
background-color: darkslategray;
|
background-color: darkslategray;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ there is no opacity with background image, so we need semitransparent images
|
|||||||
use -- instead of :: for namespaces
|
use -- instead of :: for namespaces
|
||||||
|
|
||||||
Used dynamic properties
|
Used dynamic properties
|
||||||
mainframeless (infobar.qss)
|
frameless (infobar.qss)
|
||||||
**/
|
**/
|
||||||
|
|
||||||
/** Main window **/
|
/** Main window **/
|
||||||
@@ -53,7 +53,7 @@ QAbstractScrollArea #pg_StatusPageConsole { background-color: black; }
|
|||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wi_CentralWidgetOutside[mainframeless="true"] {
|
#wi_CentralWidgetOutside[frameless="true"] {
|
||||||
background-image: url(:/textures/icons/textures/texture-outer.jpg);
|
background-image: url(:/textures/icons/textures/texture-outer.jpg);
|
||||||
background-color: darkslategray;
|
background-color: darkslategray;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ QFrame {
|
|||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** mainframeless dynamic property**/
|
/** frameless dynamic property**/
|
||||||
QDockWidget[mainframeless="true"] QFrame {
|
QDockWidget[frameless="true"] QFrame {
|
||||||
background-color: darkslategray;
|
background-color: darkslategray;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user