mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Style sheet fixes, moved green connect button to style sheet. Also it is just ":" and not "::" for pseudo states.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user