Style sheet fixes, moved green connect button to style sheet. Also it is just ":" and not "::" for pseudo states.

This commit is contained in:
Klaus Basan
2018-08-12 19:13:16 +02:00
parent d209164474
commit cfbc0d4c35
2 changed files with 13 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ QCheckBox::indicator {
height: 15px;
}
QCheckBox::indicator::checked {
QCheckBox::indicator:checked {
image: url(:/diagona/icons/diagona/icons/tick.png);
}
@@ -218,6 +218,7 @@ QPushButton {
min-height:20px;
}
QPushButton::disabled {
background-color: rgba(77, 88, 99, 128); /* slated gray if a channel) */
border-style: none;
@@ -229,11 +230,14 @@ QPushButton::disabled {
}
QPushButton:pressed{ background-color: lightblue; }
/**
KEYPAD area buttons are in swift GUI stylesheet
QPushButton:checked{ background-color: blue; }
QPushButton:focus:pressed{ background-color: black; }
QPushButton:focus{ background-color: green; }
QPushButton:hover{ background-color: red; }
QPushButton:checked{ background-color: pink; }
**/
QProgressBar {

View File

@@ -85,14 +85,19 @@ QAbstractScrollArea #pg_StatusPageConsole { background-color: black; }
min-height:20px;
}
#wi_MainKeypadArea QPushButton::checked {
#wi_MainKeypadArea QPushButton:checked {
border-style: solid;
border-color: green;
font: bold;
color: yellow;
}
#wi_MainKeypadArea QPushButton::pressed {
#wi_MainKeypadArea QPushButton#pb_Connect:checked {
background-color: green;
color: white;
}
#wi_MainKeypadArea QPushButton:pressed {
background-color: lightblue;
}