refs #347, renamed property to frameless

This commit is contained in:
Klaus Basan
2014-11-24 23:53:47 +01:00
committed by Roland Winklmeier
parent 7123cad53a
commit edaf1fba89
4 changed files with 7 additions and 7 deletions

View File

@@ -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());

View File

@@ -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;
} }

View File

@@ -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;

View File

@@ -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;
} }