4 Commits

Author SHA1 Message Date
1b72012d7f 10pt size to controller for Last Power Group in Hush 2025-11-26 11:58:22 +01:00
eab360e574 Added related display 2025-04-28 15:07:29 +02:00
97dad609d0 added stylesheet for hush and awake labels 2025-04-18 17:01:44 +02:00
ddf0869499 QInputDialog 2025-01-10 14:11:08 +01:00
2 changed files with 67 additions and 3 deletions

View File

@@ -1034,7 +1034,7 @@ QGroupBox::title#SIMULATION {
*#Controller10pt[disconnected="true"],
*#Controller[disconnected="true"],
*#Readback[disconnected="true"]
{
{
background-color: white;
color: lightgray;
/*qproperty-readOnly: true;*/
@@ -1053,6 +1053,9 @@ QGroupBox::title#SIMULATION {
*#Controller[notActOnBeam="true"] {
background-color: rgba(160, 160, 160, 255);
color:black;
font-size: 10pt;
font-style: normal;
font-weight: 500;
}
*#Controller10pt,
@@ -1285,6 +1288,36 @@ QComboBox::down-arrow#Controller {
image: url(:/down_arrow.png);
}
QInputDialog{
background-color: lightblue;
color: black;
font-size: 13px;
font-style: normal;
font-weight: 500;
font-family: "Sans serif";
border: 2px solid gray;
border-radius: 5px;
padding: 2px 2px 2px 5px;
margin: 5px;
qproperty-alignment: AlignLeft;
}
QInputDialog#Password {
background-color: lightblue;
color: black;
font-size: 13px;
font-style: normal;
font-weight: 500;
font-family: "Sans serif";
border: 2px solid gray;
border-radius: 5px;
padding: 2px 2px 2px 5px;
margin: 5px;
qproperty-alignment: AlignLeft;
}
QLabel#Elog {
background-color: lightblue;
color: black;
@@ -1439,10 +1472,29 @@ QTextEdit#hdf {
margin: 5px;
}
QPushButton#related
{
background-color: rgb(183, 157, 92);
color:black;
font-size: 16px;
font-style: normal;
font-weight: 500;
font-family: "Sans serif";
border-style: outset;
border-color: gray;
border-width: 6px;
border-radius: 5px;
padding-left: 5px;
margin-left: 2px;
margin-right: 2px;
margin-top: 2px;
margin-bottom: 2px;
text-align: AlignCenter;
}
QPushButton#hdf
{
background-color: rgb(0, 171, 102, 20);;
background-color: rgb(0, 171, 102, 20);
color:black;
font-size: 16px;
font-style: normal;

View File

@@ -48,5 +48,17 @@
"Machine" : {
"color" : "gray",
"qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 gray , stop: 1 #ffffff)"
}
},
"statusStyleSheet":{
"awake-background-color": "#ffe87c;",
"awake-color": "#000000",
"awake-text": " Awake ",
"awake-qgroupbox": "QGroupBox {background-color:#ffe87c; color:#000000; font-weight: bold;}",
"awake-qlabel": "QLabel {background-color:#ffe87c; color:#000000; font-weight: bold;}",
"standby-background-color": "#546bab",
"standby-color": "#ffffff",
"standby-text": " HUSH! ",
"standby-qgroupbox": "QGroupBox {background-color:#546bab; color:#ffffff; font-weight: bold;}",
"standby-qlabel": "QLabel {background-color:#546bab; color:#ffffff; font-weight: bold;}"
}
}