aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-09-14 12:41:48 -0400
committerKen Moore <ken@ixsystems.com>2017-09-14 12:41:48 -0400
commit11383468325d5cf37761d2ee6ab112d9e8ecaa5b (patch)
tree33b5c49ce7f2fe45fe95c222de246e6554beedf6 /src-qt5
parentTurn off the custom theme engine for the 1.x desktop itself, and use the lthe... (diff)
downloadlumina-11383468325d5cf37761d2ee6ab112d9e8ecaa5b.tar.gz
lumina-11383468325d5cf37761d2ee6ab112d9e8ecaa5b.tar.bz2
lumina-11383468325d5cf37761d2ee6ab112d9e8ecaa5b.zip
Make sure the "leave" dialog is themeable, and theme it within the DarkGlass style.
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/core/lumina-desktop/SystemWindow.cpp1
-rw-r--r--src-qt5/core/lumina-theme-engine/desktop_qss/DarkGlass.qss4
2 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/SystemWindow.cpp b/src-qt5/core/lumina-desktop/SystemWindow.cpp
index cd09c9bd..c709bb2a 100644
--- a/src-qt5/core/lumina-desktop/SystemWindow.cpp
+++ b/src-qt5/core/lumina-desktop/SystemWindow.cpp
@@ -12,6 +12,7 @@
SystemWindow::SystemWindow() : QDialog(), ui(new Ui::SystemWindow){
ui->setupUi(this); //load the designer file
+ this->setObjectName("LeaveDialog");
//Setup the window flags
this->setWindowFlags( Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
//Setup the icons based on the current theme
diff --git a/src-qt5/core/lumina-theme-engine/desktop_qss/DarkGlass.qss b/src-qt5/core/lumina-theme-engine/desktop_qss/DarkGlass.qss
index 70db70fc..2de9fefa 100644
--- a/src-qt5/core/lumina-theme-engine/desktop_qss/DarkGlass.qss
+++ b/src-qt5/core/lumina-theme-engine/desktop_qss/DarkGlass.qss
@@ -36,7 +36,7 @@ QWidget#LuminaPanelColor{
}
/*Special taskmanager window buttons: based on window state*/
-LTBWidget, LPanel QToolButton{
+LTBWidget, LPanel QToolButton, QDialog#LeaveDialog QToolButton{
border: 1px solid transparent;
border-radius: 3px;
background: transparent;
@@ -54,7 +54,7 @@ LTBWidget#WindowActive{
LTBWidget#WindowAttention{
background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.1 palette(highlight), stop: 1 transparent);
}
-LTBWidget:hover, LTBWidget#WindowVisible:hover, LTBWidget#WindowInvisible:hover, LTBWidget#WindowActive:hover, LTBWidget#WindowAttention:hover, QToolButton:hover{
+LTBWidget:hover, LTBWidget#WindowVisible:hover, LTBWidget#WindowInvisible:hover, LTBWidget#WindowActive:hover, LTBWidget#WindowAttention:hover, QToolButton:hover, QDialog#LeaveDialog QToolButton:hover{
background: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 1.1, stop: 0.1 palette(highlight), stop: 1 transparent);
color: palette(highlighted-text);
border-width: 1px;
bgstack15