mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
Style sheet improvements
* button clicked shown in different style (better user experience) * menu toopen main style sheet
This commit is contained in:
@@ -176,6 +176,14 @@ QPushButton::disabled {
|
||||
qproperty-textElideMode: ElideMiddle;
|
||||
}
|
||||
|
||||
QPushButton:pressed{ background-color: lightblue; }
|
||||
/**
|
||||
QPushButton:focus:pressed{ background-color: black; }
|
||||
QPushButton:focus{ background-color: green; }
|
||||
QPushButton:hover{ background-color: red; }
|
||||
QPushButton:checked{ background-color: pink; }
|
||||
**/
|
||||
|
||||
QProgressBar {
|
||||
border: 1px solid green;
|
||||
border-radius: 5px;
|
||||
|
||||
@@ -22,7 +22,7 @@ QAbstractScrollArea #qw_RemarksGenerator { background-color: transparent; backg
|
||||
/* in log component */
|
||||
/**
|
||||
QAbstractScrollArea #pg_StatusPageMessages { background-color: black; }
|
||||
QAbstractScrollArea #pg_StatusPageCons ole { background-color: black; }
|
||||
QAbstractScrollArea #pg_StatusPageConsole { background-color: black; }
|
||||
**/
|
||||
|
||||
/* main GUI parts */
|
||||
@@ -92,6 +92,10 @@ QAbstractScrollArea #pg_StatusPageCons ole { background-color: black; }
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
#wi_MainKeypadArea QPushButton::pressed {
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
/* cockpit needs to come after sw_MainMiddle */
|
||||
#comp_CockpitComComponent QPushButton {
|
||||
background-color: transparent;
|
||||
|
||||
Reference in New Issue
Block a user