mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +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;
|
height: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator::checked {
|
QCheckBox::indicator:checked {
|
||||||
image: url(:/diagona/icons/diagona/icons/tick.png);
|
image: url(:/diagona/icons/diagona/icons/tick.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -218,6 +218,7 @@ QPushButton {
|
|||||||
min-height:20px;
|
min-height:20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QPushButton::disabled {
|
QPushButton::disabled {
|
||||||
background-color: rgba(77, 88, 99, 128); /* slated gray if a channel) */
|
background-color: rgba(77, 88, 99, 128); /* slated gray if a channel) */
|
||||||
border-style: none;
|
border-style: none;
|
||||||
@@ -229,11 +230,14 @@ QPushButton::disabled {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QPushButton:pressed{ background-color: lightblue; }
|
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:pressed{ background-color: black; }
|
||||||
QPushButton:focus{ background-color: green; }
|
QPushButton:focus{ background-color: green; }
|
||||||
QPushButton:hover{ background-color: red; }
|
QPushButton:hover{ background-color: red; }
|
||||||
QPushButton:checked{ background-color: pink; }
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
QProgressBar {
|
QProgressBar {
|
||||||
|
|||||||
@@ -85,14 +85,19 @@ QAbstractScrollArea #pg_StatusPageConsole { background-color: black; }
|
|||||||
min-height:20px;
|
min-height:20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wi_MainKeypadArea QPushButton::checked {
|
#wi_MainKeypadArea QPushButton:checked {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: green;
|
border-color: green;
|
||||||
font: bold;
|
font: bold;
|
||||||
color: yellow;
|
color: yellow;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wi_MainKeypadArea QPushButton::pressed {
|
#wi_MainKeypadArea QPushButton#pb_Connect:checked {
|
||||||
|
background-color: green;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wi_MainKeypadArea QPushButton:pressed {
|
||||||
background-color: lightblue;
|
background-color: lightblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user