diff options
author | Ken Moore <ken@pcbsd.org> | 2014-09-12 13:33:27 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-09-12 13:33:27 -0400 |
commit | 4a24ba032416349e297be1644f44486e4a9eea87 (patch) | |
tree | ae1b0a7a5c948dbc619e370c7842498c257c1dac /lumina-desktop/panel-plugins/LTBWidget.h | |
parent | Update lumina-config to use the new OS prefix settings. (diff) | |
download | lumina-4a24ba032416349e297be1644f44486e4a9eea87.tar.gz lumina-4a24ba032416349e297be1644f44486e4a9eea87.tar.bz2 lumina-4a24ba032416349e297be1644f44486e4a9eea87.zip |
Clean up the usage/detection of the "URGENT" window status, and also move the AppStore/ControlPanel/QtConfig shortcut definitions into the LuminaOS class for use in other OS's.
Diffstat (limited to 'lumina-desktop/panel-plugins/LTBWidget.h')
-rw-r--r-- | lumina-desktop/panel-plugins/LTBWidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/LTBWidget.h b/lumina-desktop/panel-plugins/LTBWidget.h index 02097039..5252c619 100644 --- a/lumina-desktop/panel-plugins/LTBWidget.h +++ b/lumina-desktop/panel-plugins/LTBWidget.h @@ -25,7 +25,7 @@ private: else if(cstate == Lumina::VISIBLE){ background = "background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(255, 255, 255, 240), stop:0.505682 rgba(240, 240, 240, 150), stop:1 rgba(210, 210, 210, 55));"; border="border: 1px solid transparent;"; } else if(cstate == Lumina::INVISIBLE){background = "background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(215, 215, 215, 240), stop:0.505682 rgba(184, 185, 186, 150), stop:1 rgba(221, 246, 255, 55));"; border="border: 1px solid transparent;"; } else if(cstate == Lumina::ACTIVE){ background= "background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(241, 233, 156, 240), stop:0.355682 rgba(255, 243, 127, 150), stop:1 rgba(221, 246, 255, 55));"; border ="border: 1px solid transparent;"; } - else if(cstate == Lumina::NOTIFICATION){ background= "background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(252, 187, 127, 240), stop:0.505682 rgba(255, 222, 197, 150), stop:1 rgba(221, 246, 255, 55));"; border="border: 1px solid transparent"; } + else if(cstate == Lumina::NOTIFICATION){ background= "background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(252, 187, 127, 240), stop:0.505682 rgba(255, 222, 197, 150), stop:1 rgba(221, 246, 255, 55));"; border="border: 1px solid transparent;"; } QString raw = rawstyle; this->setStyleSheet( raw.replace("%1",background).replace("%2", border) ); } |