diff --git a/config/acc.qss b/config/acc.qss new file mode 100644 index 0000000..8b13b1d --- /dev/null +++ b/config/acc.qss @@ -0,0 +1,2212 @@ +/*################################################*/ +/*# Qt Style Sheet Settings for pyqtacc #*/ +/*################################################*/ + +*#EXPERT +{ + background-color: #646464; + color: white; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} +*#OPERATION +{ + background-color: #dadada; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} +*#SIMULATION +{ + background-color: #8b1a96; + color: white; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} +QWidget#TARGETCOLOR, QTabWidget#TARGETCOLOR +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #98c998, stop: 1 #ffffff); + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid green; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; + +} +QWidget#NONTARGETCOLOR, QTabWidget#NONTARGETCOLOR +{ + background-color: #ececec; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding-top: 2px; + padding-bottom: 4px; + margin: 0ex; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + + +QGroupBox#OUTERLEFT +{ + background-color: #e1e1e1; + color: gray; + font-size: 10.5pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; + + +} + +QGroupBox::title#OUTERLEFT { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 2px 0px 0px; + border: 1px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + +QGroupBox#OUTER +{ + background-color: #e1e1e1; + color: gray; + font-size: 10.5pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#OUTER { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 2px 0px 0px; + border: 1px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + + +QGroupBox#INNER +{ + background-color: #e1e1e1; + color: gray; + font-size: 9pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 2px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#INNER { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 1px 0px 1px 0px; /*top right bottom left */ + margin: 0px 2px 0x 2px; + border: 0px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + + +QGroupBox#INNERCENTER +{ + background-color: #eeeeee; + color: gray; + font-size: 9pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid lightgray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 2px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#INNERCENTER { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 1px 0px 1px 0px; /*top right bottom left */ + margin: 0px 2px 0x 2px; + border: 0px solid gray; + border-radius: 3px; + background-color: #eeeeee; +} + + +QGroupBox#TARGET +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #98c998, stop: 1 #ffffff); + color: #555555; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #98c998; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#TARGET { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid #98c998; + border-radius: 3px; + background-color: white; +} + + +QGroupBox#MACHINE2 +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #98c998, stop: 1 #ffffff); + color: gray; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #98c998; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#MACHINE2 { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid #98c998; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1#98c998); +} + +QGroupBox#Machine::disabled +{ + color: gray; +} +QGroupBox#Aramis::disabled +{ + color: gray; +} +QGroupBox#Athos::disabled +{ + color: gray; +} +QGroupBox#Porthos::disabled +{ + color: gray; +} + +QGroupBox#Machine +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 gray, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Machine { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 0px solid gray; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 gray); +} + + + + +QGroupBox#MACHINE +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 gray, stop: 1 #FFFFFF); + color: gray; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#MACHINE { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid gray; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 gray); +} + +QGroupBox#Aramis +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #00b7eb, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #00b7eb; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Aramis { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 0px solid #00b7eb; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #00b7eb); +} +QWidget#ARAMIS, QTabWidget#ARAMIS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1#00b7eb); + color: #00b7eb; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + /*border: 2px solid #00b7eb;*/ + border-radius: 0px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; +} + +QGroupBox#ARAMIS, QGroupBox#PCT +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #00b7eb, stop: 1 #FFFFFF); + color: #00b7eb; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #00b7eb; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#ARAMIS, QGroupBox::title#PCT { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 2px solid #00b7eb; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 #00b7eb); +} + + +QGroupBox#Athos +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #2e5894, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #2e5894; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#Athos { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 0px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + +QWidget#ATHOS, QTabWidget#ATHOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); + color: #2e5894; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + /*border: 2px solid #2e5894; */ + border-radius: 0px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; +} + +QGroupBox#ATHOS, QGroupBox#ORBIT QWidget#ATHOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #2e5894, stop: 1 #FFFFFF); + color: #2e5894; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #2e5894; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#ORBIT +{ + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 2px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + +QGroupBox::title#ATHOS +{ + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 2px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + + + +QWidget#PORTHOS, QTabWidget#PORTOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #9c6da5); + color: #2e5894; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + /*border: 2px solid #2e5894; */ + border-radius: 0px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; +} + + + +QGroupBox#Porthos +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #9c6da5, stop: 1 #FFFFFF); + color: black; /* #734f96; #c8a2c8; #9b111e; */ + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #9c6da5; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Porthos { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 0px solid #9c6da5 ; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #9c6da5); +} +QGroupBox#PORTHOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #9c6da5, stop: 1 #FFFFFF); + color: #9c6da5; /* #734f96; #c8a2c8; #9b111e; */ + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #9c6da5; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#PORTHOS { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 2px solid #9c6da5 ; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #9c6da5); +} + +QGroupBox#EXPERT +{ + background-color: #646464; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox#OPERATION +{ + background-color: #dadada; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox#SIMULATION +{ + background-color: #8b1a96; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#EXPERT, +QGroupBox::title#OPERATION, +QGroupBox::title#SIMULATION { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 0px 3px 0px 3px; + background-color: rgba(236, 236, 236, 255); + /*border: 2px solid #2e5894; */ + border-radius: 3px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 0px; + padding-bottom: 0px; +} + +*#pvinfo +{ + background-color: #add8e6; + color: black; + font-size: 16px; + font-style: normal; + font-weight: 400; + font-family: "Sans Serif"; + border: 3px solid LightSteelBlue; + border-radius: 1px; + padding: 1px; +} + +*#contextMenu +{ + background-color: #e1e1e1; + color: black; + selection-background-color: steelblue; + font-size: 16px; + font-style: normal; + font-weight: 400; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; +} + +*#Controller10pt[disconnected="true"], +*#Controller[disconnected="true"], +*#Readback[disconnected="true"] +{ + background-color: white; + color: lightgray; + /*qproperty-readOnly: true;*/ +} + +*#Controller10pt[actOnBeam="true"], +*#Controller[actOnBeam="true"] { + /*background-color:qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 white, stop: 0.4 rgba(212, 219, 257, 251), + stop:1 rgb(212, 219, 157, 255)); */ + background-color: rgba(212, 219, 157, 255); + color:black; +} + +*#Controller10pt[notActOnBeam="true"], +*#Controller[notActOnBeam="true"] { + background-color: rgba(160, 160, 160, 255); + color:black; +} +*#Controller10pt, +*#Controller{ + background-color: rgba(160, 160, 160, 255); + color:black; +} + + +*::hover#Controller10pt[actOnBeam="true"], +*::hover#Controller[actOnBeam="true"] +{ + background: rgba(242, 249, 187, 255); +} +*::hover#Controller10pt[notActOnBeam="true"], +*::hover#Controller[notActOnBeam="true"] +{ + background: rgba(200, 200, 200, 255); +} +*::hover#Controller10pt[readOnly="true"], +*::hover#Controller[readOnly="true"] +{ + background : transparent; + image: url(:/forbidden.png); +} + + +QTableWidget{ + background-color: #e1e1e1; + color:black; +} + + +*#CARead[paused="true"] { + background-color : "#acb2cc"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[paused="true"] { + background-color : "#acb2cc"; /*"#6082b6" */ + image: url(:/pause.png); + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[stopped="true"] { + background-color : "#8c92ac"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[stopped="true"] { + background-color :"#8c92ac"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[disconnected="true"] { + background-color: white; + /*image: url(:/forbidden.png);*/ + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[disconnected="true"] { + background-color: white; + /*image: url(:/forbidden.png);*/ + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#BSRead[static="true"] { + background-color: #ffffe0; + color: black; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[static="true"] { + background-color: #ffffe0; + color: black; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[alarm="true"] { + background-color: rgba(200, 200, 200, 255); + color:black; + border: 2px solid navy blue; + border-radius: 5px; +} +*#CARead[alarm="true"] { + background-color: rgba(200, 200, 200, 255); + color:black; + border: 2px solid black; + border-radius: 5px; +} + + + +*#BSRead[alarmSevMinor="true"] { + background-color: #fbfb04; + color: black; + border: 2px navy blue; + border-radius: 5px; +} + +*#BSRead[alarmSevMajor="true"] { + color: black; + background-color: #ff2a1a; + border: 2px navy blue; + border-radius: 5px; +} + +*#BSRead[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; + border: 2px navy blue; + border-radius: 5px; +} + + +*#CARead[alarmSevMinor="true"] { + color: black; + background-color: #fbfb04; + border: 2px solid black; + border-radius: 5px; +} + +*#CARead[alarmSevMajor="true"] { + color: black; + background-color: #ff2a1a; + border: 2px solid black; + border-radius: 5px; +} + +*#CARead[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + + +*#Readback[static="true"] { + background-color: #ffffe0; + color:black; + +} + +*#Readback[alarm="true"] { + /*background-color: rgba(200, 200, 200, 255);*/ + background-color: rgba(0, 205, 0, 255); + color:black; +} + +*#Readback[alarmSevMinor="true"] { + background-color: #fbfb04; + color:black; +} + + +*#Readback[alarmSevMajor="true"] { + background-color: #ff2a1a; + color: black; + /*qproperty-readOnly: true;*/ +} + + +*#Readback[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; +} + + + +QComboBox#Controller { + selection-color: black; + selection-background-color: white; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QComboBox#Controller QAbstractItemView { + selection-color: white; + selection-background-color: #4d94ff; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid darkgray; + border-radius: 5px; + padding: 0px; + margin: 5px; +} + + +QComboBox::drop-down#Controller { + subcontrol-origin: padding; + subcontrol-position: right; + width: 18px; + height: 18px; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; +} + + +QComboBox::down-arrow#Controller { + /*image: url(/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/images/down_arrow.png);*/ + image: url(:/down_arrow.png); +} + +QLabel#Elog { + 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: 1px; + margin: 5px; + qproperty-alignment: AlignLeft; +} + + +QLineEdit#Elog { + 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: 1px; + margin: 5px; +} + + +QComboBox#Elog { + background-color: lightblue; + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + + +QMenuBar#load { + background-color: rgb(214, 202, 221, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QMenuBar#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + + +QLineEdit#blank { + background-color: rgb(230, 230, 230, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLineEdit#load { + background-color: rgb(214, 202, 221, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLineEdit#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLabel#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; + qproperty-alignment: AlignCenter; +} + + +QComboBox#hdf { + background-color: rgb(0, 171, 102, 20); + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 5px; + margin: 5px; +} + + +QTextEdit#hdf { + background-color: rgb(0, 171, 102, 20); + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 5px; + margin: 5px; +} + + +QPushButton#hdf +{ + background-color: rgb(0, 171, 102, 20);; + 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#hdflight +{ + background-color: rgb(0, 171, 102, 20);; + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 2px; + border-radius: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QComboBox::drop-down#Elog { + subcontrol-origin: padding; + subcontrol-position: right; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; +} + +QComboBox::down-arrow#Elog { + image: url(/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/images/down_arrow.png); +} + +QLabel#BSRead, +QLabel#CARead, +QLabel#Readback { + background-color: #ffffe0; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; +} + +QLineEdit#BSRead, +QLineEdit#CARead, +QLineEdit#Readback { + background-color: #ffffe0; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignRight; + qproperty-readOnly: true; +} + + +QComboBox#Write::disabled +{ + color:#aaaaaa; +} + +QLineEdit#Write::disabled +{ + color:#aaaaaa; +} + +QLineEdit#WriteLeft::disabled +{ + color:#aaaaaa; +} + + +QLineEdit#WriteCenter::disabled +{ + color:#aaaaaa; +} + + +QLineEdit#WriteRight::disabled +{ + color:#aaaaaa; +} + + +QRadioButton#Write::disabled +{ + color:#aaaaaa; +} + + +QComboBox#Write +{ + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding-left: 4px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QCheckBox::checked#Simulation +{ + background-color: purple; + color:#dddddd; +} + +QCheckBox::checked:disabled#Simulation +{ + background-color: purple; + color:#dddddd; +} + +QCheckBox::unchecked{ + background-color: #e1e1e1; + color:black; +} + +QCheckBox::disabled +{ + color:#aaaaaa; + background-color:#eeeeee; +} + + + +QCheckBox { + spacing: 5px; + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding-left: 4px; + padding-right: 4px; + padding-top: 1px; + padding-bottom: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QCheckBox::indicator { + width: 15px; + height: 15px; +} + +QCheckBox#Reconnect { + background-color: #e1e1e1; + color:black; + font-size: 10pt; + border: 0px solid lightgray; + border-radius: 0px; + padding-left: 0px; + padding-right: 0px; + padding-top: 0px; + padding-bottom: 0px; + margin-left: 3px; + margin-right: 0px; + margin-top: 1px; + margin-bottom: 1px; +} + +QCheckBox::indicator#Reconnect { + width: 14px; + height: 14px; +} + + +AppQLineEdit, +QLineEdit#Write { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignRight | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#WriteCenter { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignHCenter | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#WriteLeft { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignLeft | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#Read { + background-color: #dfdfdf; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: true; +} + +QLineEdit#Read14 { + background-color: #dfdfdf; + color:black; + font-size: 14px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: true; +} + + + +QLineEdit#Controller, +QSpinBox#Controller, +QDoubleSpinBox#Controller +{ + background-color: rgba(160, 160, 160, 255); + color:black; + selection-color: white; + selection-background-color: #4d94ff; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: false; +} + +CAQMessageButton::pressed#Controller10pt, +CAQMessageButton::pressed#Controller, +QPushButton::pressed#Controller10pt[actOnBeam="true"], +QPushButton::pressed#Controller[actOnBeam="true"] +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(217, 219, 157, 200)); +border-style: inset; +} + +CAQMessageButton::pressed#Controller, +QPushButton::pressed#Controller[notActOnBeam="true"], +CAQMessageButton::pressed#Controller10pt, +QPushButton::pressed#Controller10pt[notActOnBeam="true"] +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(160, 160, 160, 200)); +border-style: inset; + + +} +CAQMessageButton::!enabled#Controller10pt, +QPushButton::!enabled#Controller10pt, +CAQMessageButton::!enabled#Controller, +QPushButton::!enabled#Controller +{ + color:#777777; +} + +CAQMessageButton#Controller, +QPushButton#Controller +{ + background-color: rgba(160, 160, 160, 255); + color:black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 4px; + border-radius: 3px; + padding: 1px; + margin-left: 1px; + margin-right: 1px; + margin-top: 1px; + margin-bottom: 1px; + text-align: AlignCenter; +} + +CAQMessageButton#Controller10pt, +QPushButton#Controller10pt +{ + background-color: rgba(160, 160, 160, 255); + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 3px; + border-radius: 5px; + padding: 1px; + margin-left: 1px; + margin-right: 1px; + margin-top: 1px; + margin-bottom: 1px; + text-align: AlignCenter; +} + + +QPushButton::hover#WriteData +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(137, 139, 87, 40), + stop:1 rgb(20, 181, 122, 20)); +border-style: inset; +} + + +QPushButton::pressed#WriteData +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(0, 171, 102, 20)); +border-style: inset; +} + + +QPushButton::disabled#WriteData +{ + color:#aaaaaa; +} + + +QPushButton#WriteData +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 4px; + border-radius: 5px; + padding-left: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QPushButton::hover#Cancel +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(196, 174, 173, 255), + stop:1 rgb(255, 255, 255, 200)); +border-style: inset; +} + + +QPushButton::pressed#Cancel +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(196, 174, 173, 255), + stop:1 rgb(255, 255, 255, 200)); +border-style: inset; +} + + +QPushButton::disabled#Cancel +{ + color:#aaaaaa; +} + + +QPushButton#Cancel +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 4px; + border-radius: 5px; + padding-left: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + + + +QPushButton::hover#hdf, +QPushButton::hover#Update, +QPushButton::hover#Action +{ + background: rgba(196, 174, 173, 255); +} + +QPushButton::pressed#hdf, +QPushButton::pressed#Update, +QPushButton::pressed#Action +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(225, 225, 225, 200)); +border-style: inset; +} + +QPushButton::disabled#Update, +QPushButton::disabled#Action +{ + color:#aaaaaa; +} + + +QPushButton#Action +{ + background-color: rgba(225, 225, 225, 255); + 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::disabled#Archiver +{ + color:#aaaaaa; +} + + +QPushButton::pressed#Archiver +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(173, 216, 230, 200)); +border-style: inset; +} + + +QPushButton#Update +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 2px; + border-radius: 1px; + padding-left: 1px; + padding-right: 1px; + margin-left: 0px; + margin-right: 0px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QPushButton#Archiver +{ + background-color: rgba(173, 216, 230, 255); + 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::pressed#RelatedDisplay +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(183, 157, 92, 200)); +border-style: inset; +} + +QPushButton#RelatedDisplay +{ + background-color: rgba(183, 157, 92, 255); + 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: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + +QPushButton::disabled#Abort +{ + background-color: pink; + color:#777777; +} + +QPushButton#Abort +{ + background-color: #DB7093; /*rgba(212, 21, 15, 255);*/ + color:black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 6px; + border-radius: 5px; + padding: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QSpinBox#Write, +QDoubleSpinBox#Write +{ + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignRight; +} + +QSpinBox::disabled#Write, +QDoubleSpinBox::disabled#Write +{ + color: #aaaaaa; +} + +QSpinBox::up-button#Write, +QDoubleSpinBox::up-button#Write +{ + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + width: 14px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(:/spinup.png) 1; + border-left-width: 1px; + margin-top: 2px; + margin-right: 2px; +} + +QSpinBox::up-arrow#Write, +QDoubleSpinBox::up-arrow#Write +{ + image: url(:/up_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::down-button#Write, +QDoubleSpinBox::down-button#Write +{ + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + width: 14px; + border-image: url(:/spindown.png) 1; + border-left-width: 1px; + margin-bottom: 2px; + margin-right: 2px; +} + +QSpinBox::down-arrow#Write, +QDoubleSpinBox::down-arrow#Write +{ + image: url(:/down_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::up-button#Controller, +QDoubleSpinBox::up-button#Controller +{ + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(:/spinup.png) 1; + border-left-width: 1px; + margin-top: 2px; + margin-right: 2px; +} + +QSpinBox::up-button:hover#Write, +QDoubleSpinBox::up-button:hover#Write, +QSpinBox::up-button:hover#Controller, +QDoubleSpinBox::up-button:hover#Controller +{ + border-image: url(:/spinup_hover.png) 1; + background-color: #aaaaaa; +} + +QSpinBox::up-button:pressed#Write, +QDoubleSpinBox::up-button:pressed#Write, +QSpinBox::up-button:pressed#Controller, +QDoubleSpinBox::up-button:pressed#Controller +{ + subcontrol-origin: border; + border-image: url(:/spinup_pressed.png) 1; + background-color: #4d94ff; + border-left-width: 1px; +} + +QSpinBox::up-arrow#Controller, +QDoubleSpinBox::up-arrow#Controller +{ + image: url(:/up_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::up-arrow:disabled#Controller, +QSpinBox::up-arrow:off#Controller, +QDoubleSpinBox::up-arrow:disabled#Controller, +QDoubleSpinBox::up-arrow:off#Controller +{ /* off state when value is max */ + image: url(:/up_arrow_disabled.png); + background-color: black; +} + + +QSpinBox::down-button#Controller, +QDoubleSpinBox::down-button#Controller +{ + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + width: 16px; + border-image: url(:/spindown.png) 1; + border-left-width: 1px; + margin-bottom: 2px; + margin-right: 2px; +} + +QSpinBox::down-button:hover#Write, +QDoubleSpinBox::down-button:hover#Write, +QSpinBox::down-button:hover#Controller, +QDoubleSpinBox::down-button:hover#Controller +{ + border-image: url(:/spindown_hover.png) 1; + background-color: #aaaaaa; + border-left-width: 1px; +} + +QSpinBox::down-button:pressed#Write, +QDoubleSpinBox::down-button:pressed#Write, +QSpinBox::down-button:pressed#Controller, +QDoubleSpinBox::down-button:pressed#Controller +{ + border-image: url(:/spindown_pressed.png) 1; + background-color: #4d94ff; + border-left-width: 1px; +} + +QSpinBox::down-arrow#Controller, +QDoubleSpinBox::down-arrow#Controller +{ + image: url(:/down_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::down-arrow:disabled#Controller, +QSpinBox::down-arrow:off#Controller, +QDoubleSpinBox::down-arrow:disabled#Controller, +QDoubleSpinBox::down-arrow:off#Controller +{ /* off state when value in min */ + image: url(:/down_arrow_disabled.png); + background-color: black; +} + + + +QMainWindow#MainWindow, QWidget#Form, QDialog#Dialog{ + background: rgba(236, 236, 236, 255); +} + + +QWidget.QMessageButton{true + background: rgba(160, 160, 160, 255); + color: #000000; +} + +QWidget.QMessageButton[actOnBeam="true"]{ + color: #000000; + padding: 1px; + margin:2px; + border-width: 2px; + border-radius: 1px; + border-style: outset; + border-color: rgba(120, 120, 120 , 255); + background: rgba(212, 219, 157, 255); +} + + + +QDockWidget#LogDockWidget{ + background-color: #87cefa; + color: #000000; + font: normal 14pt; + font-family: Sans Serif; + border: 2px solid gray; + border-radius: 2px; + padding: 1px; + margin: 0px; +} + +QDockWidget#LogDockWidget::title{ + background-color: #87cefa; +} + + +QDockWidget#LogDockWidget QAbstractItemView{ + selection-color: #ffffff; + selection-background-color: #4d94ff; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid darkgray; + border-radius: 2px; + padding: 0px; + margin: 5px; +} + + +QMessageWidget{ + background-color: rgba(245, 245, 245, 255); + selection-background-color: #4d94ff; +} + + +QMessageWidget#Log{ + background-color: #87cefa; + selection-background-color: #4d94ff; +} + +QMessageBox{ + background: #add8e6; /*#87CEFA; lightblue/ light sky blue*/ +} + + +QProgressBar{ + border: 2px solid grey; + border-radius: 2px; + text-align: center; +} + +QProgressBar::chunk { + background-color: #CD96CD; + width: 10px; + margin: 0.5px; +} + + +QProgressBar#simulation{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(235,222,240,185); + text-align: center; +} + +QProgressBar::chunk#simulation { + background-color: #CD96CD; + width: 10px; + margin: 0.5px; +} + + +QProgressBar#blue{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(173,216,230, 85); + text-align: center; +} + +QProgressBar::chunk#blue { + background-color: rgb(70, 130, 180, 185); + width: 10px; + margin: 0.5px; +} + +QProgressBar#green{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(144,238,144, 25); + text-align: center; +} + +QProgressBar::chunk#green { + background-color: rgb(143,188,143); /*rgba(60, 179, 113, 25);*/ + width: 10px; + margin: 0.5px; +} + + +QProgressBar#abort{ + border: 2px solid grey; + border-radius: 2px; + text-align: center; + background-color: #DB7093; /*rgb(212, 21, 15);*/ +} + +QProgressBar::chunk#abort { + background-color: pink; + width: 10px; + margin: 0.5px; +} + + +CAQNumeric{ + background-color: rgba(160, 160, 160, 255); + color:black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + border: 1px groove black; + border-radius: 1px; + padding: 1px; +} + + +/*FYI: Plain QToolButton controls main Toolbar!! */ +/* Controls QWheelComponents */ +QLabel[wheelArrow="true"], QToolButton[wheelArrow="true"] { + background-color: rgba(212, 219, 157, 255); + border: 0px groove black; + color: black; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + width: 12px; + height: 10px; +} +QLabel[wheelSign="true"], QToolButton[wheelSign="true"]{ + background-color: rgba(212, 219, 157, 255); + border: 0px groove black; + color: black; + font-style: normal; + font-weight: bold; + font-family: "Monospace"; + width: 6px; + height: 10px; +} + +caQSpinBox{ + background-color: rgba(160, 160, 160, 255); + border-image: url(:/images/frame.png) 4; + border-width: 3; + color:black; + selection-color: black; + selection-background-color: #add8e6; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + border: 1px groove black; + border-radius: 1px; + padding: 1px; + padding-right: 15px; + margin: 1px; +} + + +QLabel#units{ + /*background: #87cefa;*/ + color: #000000; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + padding: 1px; + margin: 0px; +} + + +QLabel#Tagged{ + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignLeft | AlignVCenter"; +} + +QLabel[statusTip="log"]{ + background: #ADD8E6; + padding: 1px; + margin: 0px; +} + +QLabel[statusTip="static"]{ + background-color: #ffffe0; + color: black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + qproperty-alignment: "AlignRight | AlignVCenter"; + padding: 1px; + margin: 0px; +} + + +QLabel[statusTip="alarm"]{ + background-color: rgba(200,200,200); + color: black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + qproperty-alignment: "AlignRight | AlignVCenter"; + padding: 1px; + margin: 0px; +} + + +QComboBox > QToolTip { + color: #000000; + background-color: #97cefa; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px groove black; + border-radius: 3px; + + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + +QToolTip { + color: #000000; + background-color: #97cefa; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px groove black; + border-radius: 3px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + + +QToolBox[actOnBeam="true"]{ + background-color: rgba(212, 219, 157, 255); +} + + +QLabel[actOnBeam="true"]{ + background-color: rgba(212, 219, 157, 255); + color: #000000; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; +} + + + + +/*-----------------------------------------------*/ +/* Containers */ +/*-----------------------------------------------*/ +QTabWidget{ + background-color: rgba(225, 225, 225, 255); +} + +QGroupBox{ + background-color: rgba(225, 225, 225, 255); +} + +QToolBox{ + background: rgba(225, 225, 225, 255); + qproperty-frameShape: StyledPanel; + qproperty-frameShadow: Plain; +} + diff --git a/config/acc.qss- b/config/acc.qss- new file mode 100644 index 0000000..b3a3637 --- /dev/null +++ b/config/acc.qss- @@ -0,0 +1,2098 @@ +/*################################################*/ +/*# Qt Style Sheet Settings for pyqtacc #*/ +/*################################################*/ + +*#EXPERT +{ + background-color: #646464; + color: white; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} +*#OPERATION +{ + background-color: #dadada; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} +*#SIMULATION +{ + background-color: #8b1a96; + color: white; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + +QGroupBox#OUTERLEFT +{ + background-color: #e1e1e1; + color: gray; + font-size: 10.5pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#OUTERLEFT { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 2px 0px 0px; + border: 1px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + +QGroupBox#OUTER +{ + background-color: #e1e1e1; + color: gray; + font-size: 10.5pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#OUTER { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 2px 0px 0px; + border: 1px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + + +QGroupBox#INNER +{ + background-color: #e1e1e1; + color: gray; + font-size: 9pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 2px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#INNER { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 1px 0px 1px 0px; /*top right bottom left */ + margin: 0px 2px 0x 2px; + border: 0px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + + +QGroupBox#INNERCENTER +{ + background-color: #eeeeee; + color: gray; + font-size: 9pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 2px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#INNERCENTER { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 1px 0px 1px 0px; /*top right bottom left */ + margin: 0px 2px 0x 2px; + border: 0px solid gray; + border-radius: 3px; + background-color: #eeeeee; +} + + +QGroupBox#TARGET +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #98c998, stop: 1 #ffffff); + color: #555555; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #98c998; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#TARGET { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid #98c998; + border-radius: 3px; + background-color: white; +} + + +QGroupBox#MACHINE2 +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #98c998, stop: 1 #ffffff); + color: gray; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #98c998; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#MACHINE2 { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid #98c998; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1#98c998); +} + +QGroupBox#Machine::disabled +{ + color: gray; +} +QGroupBox#Aramis::disabled +{ + color: gray; +} +QGroupBox#Athos::disabled +{ + color: gray; +} +QGroupBox#Porthos::disabled +{ + color: gray; +} + +QGroupBox#Machine +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 gray, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Machine { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 0px solid gray; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 gray); +} + + + + +QGroupBox#MACHINE +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 gray, stop: 1 #FFFFFF); + color: gray; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#MACHINE { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid gray; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 gray); +} + +QGroupBox#Aramis +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #00b7eb, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #00b7eb; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Aramis { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 0px solid #00b7eb; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #00b7eb); +} + + +QGroupBox#ARAMIS, QGroupBox#PCT +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #00b7eb, stop: 1 #FFFFFF); + color: #00b7eb; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #00b7eb; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#ARAMIS, QGroupBox::title#PCT { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 2px solid #00b7eb; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 #00b7eb); +} + + +QGroupBox#Athos +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #2e5894, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #2e5894; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#Athos { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 0px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + +QGroupBox#ATHOS, QGroupBox#ORBIT +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #2e5894, stop: 1 #FFFFFF); + color: #2e5894; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #2e5894; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#ORBIT +{ + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 2px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + +QGroupBox::title#ATHOS +{ + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 2px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + + +QGroupBox#Porthos +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #9c6da5, stop: 1 #FFFFFF); + color: black; /* #734f96; #c8a2c8; #9b111e; */ + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #9c6da5; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Porthos { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 0px solid #9c6da5 ; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #9c6da5); +} +QGroupBox#PORTHOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #9c6da5, stop: 1 #FFFFFF); + color: #9c6da5; /* #734f96; #c8a2c8; #9b111e; */ + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #9c6da5; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#PORTHOS { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 2px solid #9c6da5 ; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #9c6da5); +} + +QGroupBox#EXPERT +{ + background-color: #646464; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox#OPERATION +{ + background-color: #dadada; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox#SIMULATION +{ + background-color: #8b1a96; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#EXPERT, +QGroupBox::title#OPERATION, +QGroupBox::title#SIMULATION { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 0px 3px 0px 3px; + background-color: rgba(236, 236, 236, 255); + /*border: 2px solid #2e5894; */ + border-radius: 3px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 0px; + padding-bottom: 0px; +} + +*#pvinfo +{ + background-color: #add8e6; + color: black; + font-size: 16px; + font-style: normal; + font-weight: 400; + font-family: "Sans Serif"; + border: 3px solid LightSteelBlue; + border-radius: 1px; + padding: 1px; +} + +*#contextMenu +{ + background-color: #e1e1e1; + color: black; + selection-background-color: steelblue; + font-size: 16px; + font-style: normal; + font-weight: 400; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; +} + +*#Controller[disconnected="true"], +*#Readback[disconnected="true"] +{ + background-color: white; + color: lightgray; + /*qproperty-readOnly: true;*/ +} + +*#Controller[actOnBeam="true"] { + /*background-color:qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 white, stop: 0.4 rgba(212, 219, 257, 251), + stop:1 rgb(212, 219, 157, 255)); */ + background-color: rgba(212, 219, 157, 255); + color:black; +} + + +*#Controller[notActOnBeam="true"] { + background-color: rgba(160, 160, 160, 255); + color:black; +} + +*#Controller{ + background-color: rgba(160, 160, 160, 255); + color:black; +} + + + +*::hover#Controller[actOnBeam="true"] +{ + background: rgba(242, 249, 187, 255); +} + +*::hover#Controller[notActOnBeam="true"] +{ + background: rgba(200, 200, 200, 255); +} + +*::hover#Controller[readOnly="true"] +{ + background : transparent; + image: url(:/forbidden.png); +} + + +QTableWidget{ + background-color: #e1e1e1; + color:black; +} + + +*#CARead[paused="true"] { + background-color : "#acb2cc"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[paused="true"] { + background-color : "#acb2cc"; /*"#6082b6" */ + image: url(:/pause.png); + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[stopped="true"] { + background-color : "#8c92ac"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[stopped="true"] { + background-color :"#8c92ac"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[disconnected="true"] { + background-color: white; + /*image: url(:/forbidden.png);*/ + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[disconnected="true"] { + background-color: white; + /*image: url(:/forbidden.png);*/ + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#BSRead[static="true"] { + background-color: #ffffe0; + color: black; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[static="true"] { + background-color: #ffffe0; + color: black; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[alarm="true"] { + background-color: rgba(200, 200, 200, 255); + color:black; + border: 2px solid navy blue; + border-radius: 5px; +} +*#CARead[alarm="true"] { + background-color: rgba(200, 200, 200, 255); + color:black; + border: 2px solid black; + border-radius: 5px; +} + + + +*#BSRead[alarmSevMinor="true"] { + background-color: #fbfb04; + color: black; + border: 2px navy blue; + border-radius: 5px; +} + +*#BSRead[alarmSevMajor="true"] { + color: black; + background-color: #ff2a1a; + border: 2px navy blue; + border-radius: 5px; +} + +*#BSRead[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; + border: 2px navy blue; + border-radius: 5px; +} + + +*#CARead[alarmSevMinor="true"] { + color: black; + background-color: #fbfb04; + border: 2px solid black; + border-radius: 5px; +} + +*#CARead[alarmSevMajor="true"] { + color: black; + background-color: #ff2a1a; + border: 2px solid black; + border-radius: 5px; +} + +*#CARead[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + + +*#Readback[static="true"] { + background-color: #ffffe0; + color:black; + +} + +*#Readback[alarm="true"] { + /*background-color: rgba(200, 200, 200, 255);*/ + background-color: rgba(0, 205, 0, 255); + color:black; +} + +*#Readback[alarmSevMinor="true"] { + background-color: #fbfb04; + color:black; +} + + +*#Readback[alarmSevMajor="true"] { + background-color: #ff2a1a; + color: black; + /*qproperty-readOnly: true;*/ +} + + +*#Readback[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; +} + + + +QComboBox#Controller { + selection-color: black; + selection-background-color: white; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QComboBox#Controller QAbstractItemView { + selection-color: white; + selection-background-color: #4d94ff; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid darkgray; + border-radius: 5px; + padding: 0px; + margin: 5px; +} + + +QComboBox::drop-down#Controller { + subcontrol-origin: padding; + subcontrol-position: right; + width: 18px; + height: 18px; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; +} + + +QComboBox::down-arrow#Controller { + /*image: url(/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/images/down_arrow.png);*/ + image: url(:/down_arrow.png); +} + +QLabel#Elog { + 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: 1px; + margin: 5px; + qproperty-alignment: AlignLeft; +} + + +QLineEdit#Elog { + 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: 1px; + margin: 5px; +} + + +QComboBox#Elog { + background-color: lightblue; + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + + +QMenuBar#load { + background-color: rgb(214, 202, 221, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QMenuBar#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + + +QLineEdit#blank { + background-color: rgb(230, 230, 230, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLineEdit#load { + background-color: rgb(214, 202, 221, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLineEdit#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLabel#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; + qproperty-alignment: AlignCenter; +} + + +QComboBox#hdf { + background-color: rgb(0, 171, 102, 20); + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 5px; + margin: 5px; +} + + +QTextEdit#hdf { + background-color: rgb(0, 171, 102, 20); + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 5px; + margin: 5px; +} + + +QPushButton#hdf +{ + background-color: rgb(0, 171, 102, 20);; + 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#hdflight +{ + background-color: rgb(0, 171, 102, 20);; + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 2px; + border-radius: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QComboBox::drop-down#Elog { + subcontrol-origin: padding; + subcontrol-position: right; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; +} + +QComboBox::down-arrow#Elog { + image: url(/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/images/down_arrow.png); +} + +QLabel#BSRead, +QLabel#CARead, +QLabel#Readback { + background-color: #ffffe0; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; +} + +QLineEdit#BSRead, +QLineEdit#CARead, +QLineEdit#Readback { + background-color: #ffffe0; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignRight; + qproperty-readOnly: true; +} + + +QComboBox#Write::disabled +{ + color:#aaaaaa; +} + +QLineEdit#Write::disabled +{ + color:#aaaaaa; +} + +QLineEdit#WriteLeft::disabled +{ + color:#aaaaaa; +} + + +QLineEdit#WriteCenter::disabled +{ + color:#aaaaaa; +} + + +QLineEdit#WriteRight::disabled +{ + color:#aaaaaa; +} + + +QRadioButton#Write::disabled +{ + color:#aaaaaa; +} + + +QComboBox#Write +{ + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding-left: 4px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QCheckBox::checked#Simulation +{ + background-color: purple; + color:#dddddd; +} + +QCheckBox::checked:disabled#Simulation +{ + background-color: purple; + color:#dddddd; +} + +QCheckBox::unchecked{ + background-color: #e1e1e1; + color:black; +} + +QCheckBox::disabled +{ + color:#aaaaaa; + background-color:#eeeeee; +} + + + +QCheckBox { + spacing: 5px; + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding-left: 4px; + padding-right: 4px; + padding-top: 1px; + padding-bottom: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QCheckBox::indicator { + width: 15px; + height: 15px; +} + +QCheckBox#Reconnect { + background-color: #e1e1e1; + color:black; + font-size: 10pt; + border: 0px solid lightgray; + border-radius: 0px; + padding-left: 0px; + padding-right: 0px; + padding-top: 0px; + padding-bottom: 0px; + margin-left: 3px; + margin-right: 0px; + margin-top: 1px; + margin-bottom: 1px; +} + +QCheckBox::indicator#Reconnect { + width: 14px; + height: 14px; +} + + +AppQLineEdit, +QLineEdit#Write { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignRight | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#WriteCenter { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignHCenter | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#WriteLeft { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignLeft | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#Read { + background-color: #dfdfdf; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: true; +} + +QLineEdit#Read14 { + background-color: #dfdfdf; + color:black; + font-size: 14px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: true; +} + + + +QLineEdit#Controller, +QSpinBox#Controller, +QDoubleSpinBox#Controller +{ + background-color: rgba(160, 160, 160, 255); + color:black; + selection-color: white; + selection-background-color: #4d94ff; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: false; +} + + +CAQMessageButton::pressed#Controller, +QPushButton::pressed#Controller[actOnBeam="true"] +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(217, 219, 157, 200)); +border-style: inset; +} + +CAQMessageButton::pressed#Controller, +QPushButton::pressed#Controller[notActOnBeam="true"] +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(160, 160, 160, 200)); +border-style: inset; + +} +CAQMessageButton::!enabled#Controller, +QPushButton::!enabled#Controller +{ + color:#777777; +} + +CAQMessageButton#Controller, +QPushButton#Controller +{ + background-color: rgba(160, 160, 160, 255); + 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: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + +QPushButton::hover#WriteData +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(137, 139, 87, 40), + stop:1 rgb(20, 181, 122, 20)); +border-style: inset; +} + + +QPushButton::pressed#WriteData +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(0, 171, 102, 20)); +border-style: inset; +} + + +QPushButton::disabled#WriteData +{ + color:#aaaaaa; +} + + +QPushButton#WriteData +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 4px; + border-radius: 5px; + padding-left: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QPushButton::hover#Cancel +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(196, 174, 173, 255), + stop:1 rgb(255, 255, 255, 200)); +border-style: inset; +} + + +QPushButton::pressed#Cancel +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(196, 174, 173, 255), + stop:1 rgb(255, 255, 255, 200)); +border-style: inset; +} + + +QPushButton::disabled#Cancel +{ + color:#aaaaaa; +} + + +QPushButton#Cancel +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 4px; + border-radius: 5px; + padding-left: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + + + +QPushButton::hover#hdf, +QPushButton::hover#Update, +QPushButton::hover#Action +{ + background: rgba(196, 174, 173, 255); +} + +QPushButton::pressed#hdf, +QPushButton::pressed#Update, +QPushButton::pressed#Action +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(225, 225, 225, 200)); +border-style: inset; +} + +QPushButton::disabled#Update, +QPushButton::disabled#Action +{ + color:#aaaaaa; +} + + +QPushButton#Action +{ + background-color: rgba(225, 225, 225, 255); + 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::disabled#Archiver +{ + color:#aaaaaa; +} + + +QPushButton::pressed#Archiver +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(173, 216, 230, 200)); +border-style: inset; +} + + +QPushButton#Update +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 2px; + border-radius: 1px; + padding-left: 1px; + padding-right: 1px; + margin-left: 0px; + margin-right: 0px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QPushButton#Archiver +{ + background-color: rgba(173, 216, 230, 255); + 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::pressed#RelatedDisplay +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(183, 157, 92, 200)); +border-style: inset; +} + +QPushButton#RelatedDisplay +{ + background-color: rgba(183, 157, 92, 255); + 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: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + +QPushButton::disabled#Abort +{ + background-color: pink; + color:#777777; +} + +QPushButton#Abort +{ + background-color: #DB7093; /*rgba(212, 21, 15, 255);*/ + 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: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QSpinBox#Write, +QDoubleSpinBox#Write +{ + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignRight; +} + +QSpinBox::disabled#Write, +QDoubleSpinBox::disabled#Write +{ + color: #aaaaaa; +} + +QSpinBox::up-button#Write, +QDoubleSpinBox::up-button#Write +{ + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + width: 14px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(:/spinup.png) 1; + border-left-width: 1px; + margin-top: 2px; + margin-right: 2px; +} + +QSpinBox::up-arrow#Write, +QDoubleSpinBox::up-arrow#Write +{ + image: url(:/up_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::down-button#Write, +QDoubleSpinBox::down-button#Write +{ + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + width: 14px; + border-image: url(:/spindown.png) 1; + border-left-width: 1px; + margin-bottom: 2px; + margin-right: 2px; +} + +QSpinBox::down-arrow#Write, +QDoubleSpinBox::down-arrow#Write +{ + image: url(:/down_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::up-button#Controller, +QDoubleSpinBox::up-button#Controller +{ + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(:/spinup.png) 1; + border-left-width: 1px; + margin-top: 2px; + margin-right: 2px; +} + +QSpinBox::up-button:hover#Write, +QDoubleSpinBox::up-button:hover#Write, +QSpinBox::up-button:hover#Controller, +QDoubleSpinBox::up-button:hover#Controller +{ + border-image: url(:/spinup_hover.png) 1; + background-color: #aaaaaa; +} + +QSpinBox::up-button:pressed#Write, +QDoubleSpinBox::up-button:pressed#Write, +QSpinBox::up-button:pressed#Controller, +QDoubleSpinBox::up-button:pressed#Controller +{ + subcontrol-origin: border; + border-image: url(:/spinup_pressed.png) 1; + background-color: #4d94ff; + border-left-width: 1px; +} + +QSpinBox::up-arrow#Controller, +QDoubleSpinBox::up-arrow#Controller +{ + image: url(:/up_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::up-arrow:disabled#Controller, +QSpinBox::up-arrow:off#Controller, +QDoubleSpinBox::up-arrow:disabled#Controller, +QDoubleSpinBox::up-arrow:off#Controller +{ /* off state when value is max */ + image: url(:/up_arrow_disabled.png); + background-color: black; +} + + +QSpinBox::down-button#Controller, +QDoubleSpinBox::down-button#Controller +{ + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + width: 16px; + border-image: url(:/spindown.png) 1; + border-left-width: 1px; + margin-bottom: 2px; + margin-right: 2px; +} + +QSpinBox::down-button:hover#Write, +QDoubleSpinBox::down-button:hover#Write, +QSpinBox::down-button:hover#Controller, +QDoubleSpinBox::down-button:hover#Controller +{ + border-image: url(:/spindown_hover.png) 1; + background-color: #aaaaaa; + border-left-width: 1px; +} + +QSpinBox::down-button:pressed#Write, +QDoubleSpinBox::down-button:pressed#Write, +QSpinBox::down-button:pressed#Controller, +QDoubleSpinBox::down-button:pressed#Controller +{ + border-image: url(:/spindown_pressed.png) 1; + background-color: #4d94ff; + border-left-width: 1px; +} + +QSpinBox::down-arrow#Controller, +QDoubleSpinBox::down-arrow#Controller +{ + image: url(:/down_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::down-arrow:disabled#Controller, +QSpinBox::down-arrow:off#Controller, +QDoubleSpinBox::down-arrow:disabled#Controller, +QDoubleSpinBox::down-arrow:off#Controller +{ /* off state when value in min */ + image: url(:/down_arrow_disabled.png); + background-color: black; +} + + + +QMainWindow#MainWindow, QWidget#Form, QDialog#Dialog{ + background: rgba(236, 236, 236, 255); +} + + +QWidget.QMessageButton{true + background: rgba(160, 160, 160, 255); + color: #000000; +} + +QWidget.QMessageButton[actOnBeam="true"]{ + color: #000000; + padding: 1px; + margin:2px; + border-width: 2px; + border-radius: 1px; + border-style: outset; + border-color: rgba(120, 120, 120 , 255); + background: rgba(212, 219, 157, 255); +} + + + +QDockWidget#LogDockWidget{ + background-color: #87cefa; + color: #000000; + font: normal 14pt; + font-family: Sans Serif; + border: 2px solid gray; + border-radius: 2px; + padding: 1px; + margin: 0px; +} + +QDockWidget#LogDockWidget::title{ + background-color: #87cefa; +} + + +QDockWidget#LogDockWidget QAbstractItemView{ + selection-color: #ffffff; + selection-background-color: #4d94ff; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid darkgray; + border-radius: 2px; + padding: 0px; + margin: 5px; +} + + +QMessageWidget{ + background-color: rgba(245, 245, 245, 255); + selection-background-color: #4d94ff; +} + + +QMessageWidget#Log{ + background-color: #87cefa; + selection-background-color: #4d94ff; +} + +QMessageBox{ + background: #add8e6; /*#87CEFA; lightblue/ light sky blue*/ +} + + +QProgressBar{ + border: 2px solid grey; + border-radius: 2px; + text-align: center; +} + +QProgressBar::chunk { + background-color: #CD96CD; + width: 10px; + margin: 0.5px; +} + + +QProgressBar#simulation{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(235,222,240,185); + text-align: center; +} + +QProgressBar::chunk#simulation { + background-color: #CD96CD; + width: 10px; + margin: 0.5px; +} + + +QProgressBar#blue{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(173,216,230, 85); + text-align: center; +} + +QProgressBar::chunk#blue { + background-color: rgb(70, 130, 180, 185); + width: 10px; + margin: 0.5px; +} + +QProgressBar#green{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(144,238,144, 25); + text-align: center; +} + +QProgressBar::chunk#green { + background-color: rgb(143,188,143); /*rgba(60, 179, 113, 25);*/ + width: 10px; + margin: 0.5px; +} + + +QProgressBar#abort{ + border: 2px solid grey; + border-radius: 2px; + text-align: center; + background-color: #DB7093; /*rgb(212, 21, 15);*/ +} + +QProgressBar::chunk#abort { + background-color: pink; + width: 10px; + margin: 0.5px; +} + + +CAQNumeric{ + background-color: rgba(160, 160, 160, 255); + color:black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + border: 1px groove black; + border-radius: 1px; + padding: 1px; +} + + +/*FYI: Plain QToolButton controls main Toolbar!! */ +/* Controls QWheelComponents */ +QLabel[wheelArrow="true"], QToolButton[wheelArrow="true"] { + background-color: rgba(212, 219, 157, 255); + border: 0px groove black; + color: black; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + width: 12px; + height: 10px; +} +QLabel[wheelSign="true"], QToolButton[wheelSign="true"]{ + background-color: rgba(212, 219, 157, 255); + border: 0px groove black; + color: black; + font-style: normal; + font-weight: bold; + font-family: "Monospace"; + width: 6px; + height: 10px; +} + +caQSpinBox{ + background-color: rgba(160, 160, 160, 255); + border-image: url(:/images/frame.png) 4; + border-width: 3; + color:black; + selection-color: black; + selection-background-color: #add8e6; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + border: 1px groove black; + border-radius: 1px; + padding: 1px; + padding-right: 15px; + margin: 1px; +} + + +QLabel#units{ + /*background: #87cefa;*/ + color: #000000; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + padding: 1px; + margin: 0px; +} + + +QLabel#Tagged{ + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignLeft | AlignVCenter"; +} + +QLabel[statusTip="log"]{ + background: #ADD8E6; + padding: 1px; + margin: 0px; +} + +QLabel[statusTip="static"]{ + background-color: #ffffe0; + color: black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + qproperty-alignment: "AlignRight | AlignVCenter"; + padding: 1px; + margin: 0px; +} + + +QLabel[statusTip="alarm"]{ + background-color: rgba(200,200,200); + color: black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + qproperty-alignment: "AlignRight | AlignVCenter"; + padding: 1px; + margin: 0px; +} + + +QComboBox > QToolTip { + color: #000000; + background-color: #97cefa; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px groove black; + border-radius: 3px; + + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + +QToolTip { + color: #000000; + background-color: #97cefa; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px groove black; + border-radius: 3px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + + +QToolBox[actOnBeam="true"]{ + background-color: rgba(212, 219, 157, 255); +} + + +QLabel[actOnBeam="true"]{ + background-color: rgba(212, 219, 157, 255); + color: #000000; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; +} + + + + +/*-----------------------------------------------*/ +/* Containers */ +/*-----------------------------------------------*/ +QTabWidget{ + background-color: rgba(225, 225, 225, 255); +} + +QGroupBox{ + background-color: rgba(225, 225, 225, 255); +} + +QToolBox{ + background: rgba(225, 225, 225, 255); + qproperty-frameShape: StyledPanel; + qproperty-frameShadow: Plain; +} + diff --git a/config/acc.qss~ b/config/acc.qss~ new file mode 100644 index 0000000..8869a20 --- /dev/null +++ b/config/acc.qss~ @@ -0,0 +1,2182 @@ +/*################################################*/ +/*# Qt Style Sheet Settings for pyqtacc #*/ +/*################################################*/ + +*#EXPERT +{ + background-color: #646464; + color: white; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} +*#OPERATION +{ + background-color: #dadada; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} +*#SIMULATION +{ + background-color: #8b1a96; + color: white; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} +QWidget#TARGETCOLOR, QTabWidget#TARGETCOLOR +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #98c998, stop: 1 #ffffff); + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid green; + border-radius: 5px; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; + +} +QWidget#NONTARGETCOLOR, QTabWidget#NONTARGETCOLOR +{ + background-color: #ececec; + font-size: 10pt; + font-style: normal; + font-weight: 700; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding-top: 2px; + padding-bottom: 4px; + margin: 0ex; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + + +QGroupBox#OUTERLEFT +{ + background-color: #e1e1e1; + color: gray; + font-size: 10.5pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; + + +} + +QGroupBox::title#OUTERLEFT { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 2px 0px 0px; + border: 1px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + +QGroupBox#OUTER +{ + background-color: #e1e1e1; + color: gray; + font-size: 10.5pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#OUTER { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 2px 0px 0px; + border: 1px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + + +QGroupBox#INNER +{ + background-color: #e1e1e1; + color: gray; + font-size: 9pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 1px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 2px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#INNER { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 1px 0px 1px 0px; /*top right bottom left */ + margin: 0px 2px 0x 2px; + border: 0px solid gray; + border-radius: 3px; + background-color: #e1e1e1; +} + + +QGroupBox#INNERCENTER +{ + background-color: #eeeeee; + color: gray; + font-size: 9pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 2px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#INNERCENTER { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 1px 0px 1px 0px; /*top right bottom left */ + margin: 0px 2px 0x 2px; + border: 0px solid gray; + border-radius: 3px; + background-color: #eeeeee; +} + + +QGroupBox#TARGET +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #98c998, stop: 1 #ffffff); + color: #555555; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #98c998; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#TARGET { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid #98c998; + border-radius: 3px; + background-color: white; +} + + +QGroupBox#MACHINE2 +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #98c998, stop: 1 #ffffff); + color: gray; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #98c998; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#MACHINE2 { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid #98c998; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1#98c998); +} + +QGroupBox#Machine::disabled +{ + color: gray; +} +QGroupBox#Aramis::disabled +{ + color: gray; +} +QGroupBox#Athos::disabled +{ + color: gray; +} +QGroupBox#Porthos::disabled +{ + color: gray; +} + +QGroupBox#Machine +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 gray, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Machine { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 0px solid gray; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 gray); +} + + + + +QGroupBox#MACHINE +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 gray, stop: 1 #FFFFFF); + color: gray; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + margin-bottom: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#MACHINE { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; + margin: 0px 0px 0px 0px; + border: 2px solid gray; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 gray); +} + +QGroupBox#Aramis +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #00b7eb, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #00b7eb; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Aramis { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 0px solid #00b7eb; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #00b7eb); +} +QWidget#ARAMIS, QTabWidget#ARAMIS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1#00b7eb); + color: #00b7eb; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + /*border: 2px solid #00b7eb;*/ + border-radius: 0px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; +} + +QGroupBox#ARAMIS, QGroupBox#PCT +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #00b7eb, stop: 1 #FFFFFF); + color: #00b7eb; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #00b7eb; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#ARAMIS, QGroupBox::title#PCT { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 2px solid #00b7eb; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff , stop: 1 #00b7eb); +} + + +QGroupBox#Athos +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #2e5894, stop: 1 #FFFFFF); + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #2e5894; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#Athos { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 0px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + +QWidget#ATHOS, QTabWidget#ATHOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); + color: #2e5894; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + /*border: 2px solid #2e5894; */ + border-radius: 0px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; +} + +QGroupBox#ATHOS, QGroupBox#ORBIT QWidget#ATHOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #2e5894, stop: 1 #FFFFFF); + color: #2e5894; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #2e5894; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#ORBIT +{ + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 2px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + +QGroupBox::title#ATHOS +{ + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; + border: 2px solid #2e5894; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #2e5894); +} + + + +QWidget#PORTHOS, QTabWidget#PORTOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #FFFFFF, stop: 1 #9c6da5); + color: #2e5894; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + /*border: 2px solid #2e5894; */ + border-radius: 0px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; +} + + + +QGroupBox#Porthos +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #9c6da5, stop: 1 #FFFFFF); + color: black; /* #734f96; #c8a2c8; #9b111e; */ + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 0px solid #9c6da5; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#Porthos { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 0px solid #9c6da5 ; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #9c6da5); +} +QGroupBox#PORTHOS +{ + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #9c6da5, stop: 1 #FFFFFF); + color: #9c6da5; /* #734f96; #c8a2c8; #9b111e; */ + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid #9c6da5; + border-radius: 5px; + margin-top: 1.5ex; + margin-left: 0.0ex; + padding-top: 2px; + padding-bottom: 4px; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox::title#PORTHOS { + subcontrol-origin: margin; + subcontrol-position: top center; + padding: 2px 2px 2px 2px; /*top right bottom left */ + margin: 0px 0px 0px 0px; /* 0 0 0 1 for inwards */ + border: 2px solid #9c6da5 ; + border-radius: 3px; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #ffffff, stop: 1 #9c6da5); +} + +QGroupBox#EXPERT +{ + background-color: #646464; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox#OPERATION +{ + background-color: #dadada; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + +QGroupBox#SIMULATION +{ + background-color: #8b1a96; + color: black; + font-size: 10pt; + font-style: normal; + font-weight: 600; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + margin-top: 1.0em; + margin-left: 0.0em; + qproperty-alignment: 'AlignCenter | AlignVCenter'; +} + + +QGroupBox::title#EXPERT, +QGroupBox::title#OPERATION, +QGroupBox::title#SIMULATION { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 0px 3px 0px 3px; + background-color: rgba(236, 236, 236, 255); + /*border: 2px solid #2e5894; */ + border-radius: 3px; + margin-top: 0.0ex; + margin-left: 0.0ex; + padding-top: 0px; + padding-bottom: 0px; +} + +*#pvinfo +{ + background-color: #add8e6; + color: black; + font-size: 16px; + font-style: normal; + font-weight: 400; + font-family: "Sans Serif"; + border: 3px solid LightSteelBlue; + border-radius: 1px; + padding: 1px; +} + +*#contextMenu +{ + background-color: #e1e1e1; + color: black; + selection-background-color: steelblue; + font-size: 16px; + font-style: normal; + font-weight: 400; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; +} + +*#Controller[disconnected="true"], +*#Readback[disconnected="true"] +{ + background-color: white; + color: lightgray; + /*qproperty-readOnly: true;*/ +} + +*#Controller[actOnBeam="true"] { + /*background-color:qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 white, stop: 0.4 rgba(212, 219, 257, 251), + stop:1 rgb(212, 219, 157, 255)); */ + background-color: rgba(212, 219, 157, 255); + color:black; +} + + +*#Controller[notActOnBeam="true"] { + background-color: rgba(160, 160, 160, 255); + color:black; +} + +*#Controller{ + background-color: rgba(160, 160, 160, 255); + color:black; +} + + + +*::hover#Controller[actOnBeam="true"] +{ + background: rgba(242, 249, 187, 255); +} + +*::hover#Controller[notActOnBeam="true"] +{ + background: rgba(200, 200, 200, 255); +} + +*::hover#Controller[readOnly="true"] +{ + background : transparent; + image: url(:/forbidden.png); +} + + +QTableWidget{ + background-color: #e1e1e1; + color:black; +} + + +*#CARead[paused="true"] { + background-color : "#acb2cc"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[paused="true"] { + background-color : "#acb2cc"; /*"#6082b6" */ + image: url(:/pause.png); + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[stopped="true"] { + background-color : "#8c92ac"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[stopped="true"] { + background-color :"#8c92ac"; + image: url(:/pause.png); + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[disconnected="true"] { + background-color: white; + /*image: url(:/forbidden.png);*/ + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[disconnected="true"] { + background-color: white; + /*image: url(:/forbidden.png);*/ + color: lightgray; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#BSRead[static="true"] { + background-color: #ffffe0; + color: black; + border: 2px solid navy blue; + border-radius: 5px; +} + +*#CARead[static="true"] { + background-color: #ffffe0; + color: black; + border: 2px solid black; + border-radius: 5px; +} + +*#BSRead[alarm="true"] { + background-color: rgba(200, 200, 200, 255); + color:black; + border: 2px solid navy blue; + border-radius: 5px; +} +*#CARead[alarm="true"] { + background-color: rgba(200, 200, 200, 255); + color:black; + border: 2px solid black; + border-radius: 5px; +} + + + +*#BSRead[alarmSevMinor="true"] { + background-color: #fbfb04; + color: black; + border: 2px navy blue; + border-radius: 5px; +} + +*#BSRead[alarmSevMajor="true"] { + color: black; + background-color: #ff2a1a; + border: 2px navy blue; + border-radius: 5px; +} + +*#BSRead[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; + border: 2px navy blue; + border-radius: 5px; +} + + +*#CARead[alarmSevMinor="true"] { + color: black; + background-color: #fbfb04; + border: 2px solid black; + border-radius: 5px; +} + +*#CARead[alarmSevMajor="true"] { + color: black; + background-color: #ff2a1a; + border: 2px solid black; + border-radius: 5px; +} + +*#CARead[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; + border: 2px solid black; + border-radius: 5px; +} + + +*#Readback[static="true"] { + background-color: #ffffe0; + color:black; + +} + +*#Readback[alarm="true"] { + /*background-color: rgba(200, 200, 200, 255);*/ + background-color: rgba(0, 205, 0, 255); + color:black; +} + +*#Readback[alarmSevMinor="true"] { + background-color: #fbfb04; + color:black; +} + + +*#Readback[alarmSevMajor="true"] { + background-color: #ff2a1a; + color: black; + /*qproperty-readOnly: true;*/ +} + + +*#Readback[alarmSevInvalid="true"] { + background-color: white; + color: lightgray; +} + + + +QComboBox#Controller { + selection-color: black; + selection-background-color: white; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QComboBox#Controller QAbstractItemView { + selection-color: white; + selection-background-color: #4d94ff; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid darkgray; + border-radius: 5px; + padding: 0px; + margin: 5px; +} + + +QComboBox::drop-down#Controller { + subcontrol-origin: padding; + subcontrol-position: right; + width: 18px; + height: 18px; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; +} + + +QComboBox::down-arrow#Controller { + /*image: url(/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/images/down_arrow.png);*/ + image: url(:/down_arrow.png); +} + +QLabel#Elog { + 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: 1px; + margin: 5px; + qproperty-alignment: AlignLeft; +} + + +QLineEdit#Elog { + 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: 1px; + margin: 5px; +} + + +QComboBox#Elog { + background-color: lightblue; + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + + +QMenuBar#load { + background-color: rgb(214, 202, 221, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QMenuBar#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + + +QLineEdit#blank { + background-color: rgb(230, 230, 230, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLineEdit#load { + background-color: rgb(214, 202, 221, 220); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLineEdit#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; +} + +QLabel#hdf { + background-color: rgb(0, 171, 102, 20); + color: black; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin: 5px; + qproperty-alignment: AlignCenter; +} + + +QComboBox#hdf { + background-color: rgb(0, 171, 102, 20); + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 5px; + margin: 5px; +} + + +QTextEdit#hdf { + background-color: rgb(0, 171, 102, 20); + selection-color: black; + selection-background-color: steelblue; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 5px; + margin: 5px; +} + + +QPushButton#hdf +{ + background-color: rgb(0, 171, 102, 20);; + 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#hdflight +{ + background-color: rgb(0, 171, 102, 20);; + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 2px; + border-radius: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QComboBox::drop-down#Elog { + subcontrol-origin: padding; + subcontrol-position: right; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; +} + +QComboBox::down-arrow#Elog { + image: url(/afs/psi.ch/intranet/SF/Beamdynamics/common/qrc_resources/images/down_arrow.png); +} + +QLabel#BSRead, +QLabel#CARead, +QLabel#Readback { + background-color: #ffffe0; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; +} + +QLineEdit#BSRead, +QLineEdit#CARead, +QLineEdit#Readback { + background-color: #ffffe0; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignRight; + qproperty-readOnly: true; +} + + +QComboBox#Write::disabled +{ + color:#aaaaaa; +} + +QLineEdit#Write::disabled +{ + color:#aaaaaa; +} + +QLineEdit#WriteLeft::disabled +{ + color:#aaaaaa; +} + + +QLineEdit#WriteCenter::disabled +{ + color:#aaaaaa; +} + + +QLineEdit#WriteRight::disabled +{ + color:#aaaaaa; +} + + +QRadioButton#Write::disabled +{ + color:#aaaaaa; +} + + +QComboBox#Write +{ + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding-left: 4px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QCheckBox::checked#Simulation +{ + background-color: purple; + color:#dddddd; +} + +QCheckBox::checked:disabled#Simulation +{ + background-color: purple; + color:#dddddd; +} + +QCheckBox::unchecked{ + background-color: #e1e1e1; + color:black; +} + +QCheckBox::disabled +{ + color:#aaaaaa; + background-color:#eeeeee; +} + + + +QCheckBox { + spacing: 5px; + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding-left: 4px; + padding-right: 4px; + padding-top: 1px; + padding-bottom: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; +} + +QCheckBox::indicator { + width: 15px; + height: 15px; +} + +QCheckBox#Reconnect { + background-color: #e1e1e1; + color:black; + font-size: 10pt; + border: 0px solid lightgray; + border-radius: 0px; + padding-left: 0px; + padding-right: 0px; + padding-top: 0px; + padding-bottom: 0px; + margin-left: 3px; + margin-right: 0px; + margin-top: 1px; + margin-bottom: 1px; +} + +QCheckBox::indicator#Reconnect { + width: 14px; + height: 14px; +} + + +AppQLineEdit, +QLineEdit#Write { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignRight | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#WriteCenter { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignHCenter | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#WriteLeft { + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: "AlignLeft | AlignVCenter"; + qproperty-readOnly: false; + +} + +QLineEdit#Read { + background-color: #dfdfdf; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: true; +} + +QLineEdit#Read14 { + background-color: #dfdfdf; + color:black; + font-size: 14px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: true; +} + + + +QLineEdit#Controller, +QSpinBox#Controller, +QDoubleSpinBox#Controller +{ + background-color: rgba(160, 160, 160, 255); + color:black; + selection-color: white; + selection-background-color: #4d94ff; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid gray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignCenter; + qproperty-readOnly: false; +} + + +CAQMessageButton::pressed#Controller, +QPushButton::pressed#Controller[actOnBeam="true"] +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(217, 219, 157, 200)); +border-style: inset; +} + +CAQMessageButton::pressed#Controller, +QPushButton::pressed#Controller[notActOnBeam="true"] +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(160, 160, 160, 200)); +border-style: inset; + +} +CAQMessageButton::!enabled#Controller, +QPushButton::!enabled#Controller +{ + color:#777777; +} + +CAQMessageButton#Controller, +QPushButton#Controller +{ + background-color: rgba(160, 160, 160, 255); + 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: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + +QPushButton::hover#WriteData +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(137, 139, 87, 40), + stop:1 rgb(20, 181, 122, 20)); +border-style: inset; +} + + +QPushButton::pressed#WriteData +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(0, 171, 102, 20)); +border-style: inset; +} + + +QPushButton::disabled#WriteData +{ + color:#aaaaaa; +} + + +QPushButton#WriteData +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 4px; + border-radius: 5px; + padding-left: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QPushButton::hover#Cancel +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(196, 174, 173, 255), + stop:1 rgb(255, 255, 255, 200)); +border-style: inset; +} + + +QPushButton::pressed#Cancel +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(196, 174, 173, 255), + stop:1 rgb(255, 255, 255, 200)); +border-style: inset; +} + + +QPushButton::disabled#Cancel +{ + color:#aaaaaa; +} + + +QPushButton#Cancel +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 16px; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 4px; + border-radius: 5px; + padding-left: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + + + +QPushButton::hover#hdf, +QPushButton::hover#Update, +QPushButton::hover#Action +{ + background: rgba(196, 174, 173, 255); +} + +QPushButton::pressed#hdf, +QPushButton::pressed#Update, +QPushButton::pressed#Action +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(225, 225, 225, 200)); +border-style: inset; +} + +QPushButton::disabled#Update, +QPushButton::disabled#Action +{ + color:#aaaaaa; +} + + +QPushButton#Action +{ + background-color: rgba(225, 225, 225, 255); + 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::disabled#Archiver +{ + color:#aaaaaa; +} + + +QPushButton::pressed#Archiver +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(173, 216, 230, 200)); +border-style: inset; +} + + +QPushButton#Update +{ + background-color: rgba(225, 225, 225, 255); + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border-style: outset; + border-color: gray; + border-width: 2px; + border-radius: 1px; + padding-left: 1px; + padding-right: 1px; + margin-left: 0px; + margin-right: 0px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QPushButton#Archiver +{ + background-color: rgba(173, 216, 230, 255); + 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::pressed#RelatedDisplay +{ +background-color: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 lightgray, stop: 0.2 rgba(117, 119, 57, 40), + stop:1 rgb(183, 157, 92, 200)); +border-style: inset; +} + +QPushButton#RelatedDisplay +{ + background-color: rgba(183, 157, 92, 255); + 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: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + +QPushButton::disabled#Abort +{ + background-color: pink; + color:#777777; +} + +QPushButton#Abort +{ + background-color: #DB7093; /*rgba(212, 21, 15, 255);*/ + 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: 5px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + text-align: AlignCenter; +} + + +QSpinBox#Write, +QDoubleSpinBox#Write +{ + background-color: #ffffff; + color:black; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans serif"; + border: 2px solid lightgray; + border-radius: 5px; + padding: 1px; + margin-left: 2px; + margin-right: 2px; + margin-top: 2px; + margin-bottom: 2px; + qproperty-alignment: AlignRight; +} + +QSpinBox::disabled#Write, +QDoubleSpinBox::disabled#Write +{ + color: #aaaaaa; +} + +QSpinBox::up-button#Write, +QDoubleSpinBox::up-button#Write +{ + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + width: 14px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(:/spinup.png) 1; + border-left-width: 1px; + margin-top: 2px; + margin-right: 2px; +} + +QSpinBox::up-arrow#Write, +QDoubleSpinBox::up-arrow#Write +{ + image: url(:/up_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::down-button#Write, +QDoubleSpinBox::down-button#Write +{ + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + width: 14px; + border-image: url(:/spindown.png) 1; + border-left-width: 1px; + margin-bottom: 2px; + margin-right: 2px; +} + +QSpinBox::down-arrow#Write, +QDoubleSpinBox::down-arrow#Write +{ + image: url(:/down_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::up-button#Controller, +QDoubleSpinBox::up-button#Controller +{ + subcontrol-origin: border; + subcontrol-position: top right; /* position at the top right corner */ + width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */ + border-image: url(:/spinup.png) 1; + border-left-width: 1px; + margin-top: 2px; + margin-right: 2px; +} + +QSpinBox::up-button:hover#Write, +QDoubleSpinBox::up-button:hover#Write, +QSpinBox::up-button:hover#Controller, +QDoubleSpinBox::up-button:hover#Controller +{ + border-image: url(:/spinup_hover.png) 1; + background-color: #aaaaaa; +} + +QSpinBox::up-button:pressed#Write, +QDoubleSpinBox::up-button:pressed#Write, +QSpinBox::up-button:pressed#Controller, +QDoubleSpinBox::up-button:pressed#Controller +{ + subcontrol-origin: border; + border-image: url(:/spinup_pressed.png) 1; + background-color: #4d94ff; + border-left-width: 1px; +} + +QSpinBox::up-arrow#Controller, +QDoubleSpinBox::up-arrow#Controller +{ + image: url(:/up_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::up-arrow:disabled#Controller, +QSpinBox::up-arrow:off#Controller, +QDoubleSpinBox::up-arrow:disabled#Controller, +QDoubleSpinBox::up-arrow:off#Controller +{ /* off state when value is max */ + image: url(:/up_arrow_disabled.png); + background-color: black; +} + + +QSpinBox::down-button#Controller, +QDoubleSpinBox::down-button#Controller +{ + subcontrol-origin: border; + subcontrol-position: bottom right; /* position at bottom right corner */ + width: 16px; + border-image: url(:/spindown.png) 1; + border-left-width: 1px; + margin-bottom: 2px; + margin-right: 2px; +} + +QSpinBox::down-button:hover#Write, +QDoubleSpinBox::down-button:hover#Write, +QSpinBox::down-button:hover#Controller, +QDoubleSpinBox::down-button:hover#Controller +{ + border-image: url(:/spindown_hover.png) 1; + background-color: #aaaaaa; + border-left-width: 1px; +} + +QSpinBox::down-button:pressed#Write, +QDoubleSpinBox::down-button:pressed#Write, +QSpinBox::down-button:pressed#Controller, +QDoubleSpinBox::down-button:pressed#Controller +{ + border-image: url(:/spindown_pressed.png) 1; + background-color: #4d94ff; + border-left-width: 1px; +} + +QSpinBox::down-arrow#Controller, +QDoubleSpinBox::down-arrow#Controller +{ + image: url(:/down_arrow.png); + width: 6px; + height: 6px; +} + + +QSpinBox::down-arrow:disabled#Controller, +QSpinBox::down-arrow:off#Controller, +QDoubleSpinBox::down-arrow:disabled#Controller, +QDoubleSpinBox::down-arrow:off#Controller +{ /* off state when value in min */ + image: url(:/down_arrow_disabled.png); + background-color: black; +} + + + +QMainWindow#MainWindow, QWidget#Form, QDialog#Dialog{ + background: rgba(236, 236, 236, 255); +} + + +QWidget.QMessageButton{true + background: rgba(160, 160, 160, 255); + color: #000000; +} + +QWidget.QMessageButton[actOnBeam="true"]{ + color: #000000; + padding: 1px; + margin:2px; + border-width: 2px; + border-radius: 1px; + border-style: outset; + border-color: rgba(120, 120, 120 , 255); + background: rgba(212, 219, 157, 255); +} + + + +QDockWidget#LogDockWidget{ + background-color: #87cefa; + color: #000000; + font: normal 14pt; + font-family: Sans Serif; + border: 2px solid gray; + border-radius: 2px; + padding: 1px; + margin: 0px; +} + +QDockWidget#LogDockWidget::title{ + background-color: #87cefa; +} + + +QDockWidget#LogDockWidget QAbstractItemView{ + selection-color: #ffffff; + selection-background-color: #4d94ff; + font-size: 13px; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px solid darkgray; + border-radius: 2px; + padding: 0px; + margin: 5px; +} + + +QMessageWidget{ + background-color: rgba(245, 245, 245, 255); + selection-background-color: #4d94ff; +} + + +QMessageWidget#Log{ + background-color: #87cefa; + selection-background-color: #4d94ff; +} + +QMessageBox{ + background: #add8e6; /*#87CEFA; lightblue/ light sky blue*/ +} + + +QProgressBar{ + border: 2px solid grey; + border-radius: 2px; + text-align: center; +} + +QProgressBar::chunk { + background-color: #CD96CD; + width: 10px; + margin: 0.5px; +} + + +QProgressBar#simulation{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(235,222,240,185); + text-align: center; +} + +QProgressBar::chunk#simulation { + background-color: #CD96CD; + width: 10px; + margin: 0.5px; +} + + +QProgressBar#blue{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(173,216,230, 85); + text-align: center; +} + +QProgressBar::chunk#blue { + background-color: rgb(70, 130, 180, 185); + width: 10px; + margin: 0.5px; +} + +QProgressBar#green{ + border: 2px solid grey; + border-radius: 2px; + background-color: rgb(144,238,144, 25); + text-align: center; +} + +QProgressBar::chunk#green { + background-color: rgb(143,188,143); /*rgba(60, 179, 113, 25);*/ + width: 10px; + margin: 0.5px; +} + + +QProgressBar#abort{ + border: 2px solid grey; + border-radius: 2px; + text-align: center; + background-color: #DB7093; /*rgb(212, 21, 15);*/ +} + +QProgressBar::chunk#abort { + background-color: pink; + width: 10px; + margin: 0.5px; +} + + +CAQNumeric{ + background-color: rgba(160, 160, 160, 255); + color:black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + border: 1px groove black; + border-radius: 1px; + padding: 1px; +} + + +/*FYI: Plain QToolButton controls main Toolbar!! */ +/* Controls QWheelComponents */ +QLabel[wheelArrow="true"], QToolButton[wheelArrow="true"] { + background-color: rgba(212, 219, 157, 255); + border: 0px groove black; + color: black; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + width: 12px; + height: 10px; +} +QLabel[wheelSign="true"], QToolButton[wheelSign="true"]{ + background-color: rgba(212, 219, 157, 255); + border: 0px groove black; + color: black; + font-style: normal; + font-weight: bold; + font-family: "Monospace"; + width: 6px; + height: 10px; +} + +caQSpinBox{ + background-color: rgba(160, 160, 160, 255); + border-image: url(:/images/frame.png) 4; + border-width: 3; + color:black; + selection-color: black; + selection-background-color: #add8e6; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + border: 1px groove black; + border-radius: 1px; + padding: 1px; + padding-right: 15px; + margin: 1px; +} + + +QLabel#units{ + /*background: #87cefa;*/ + color: #000000; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + padding: 1px; + margin: 0px; +} + + +QLabel#Tagged{ + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + padding: 1px; + margin: 0px; + qproperty-alignment: "AlignLeft | AlignVCenter"; +} + +QLabel[statusTip="log"]{ + background: #ADD8E6; + padding: 1px; + margin: 0px; +} + +QLabel[statusTip="static"]{ + background-color: #ffffe0; + color: black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + qproperty-alignment: "AlignRight | AlignVCenter"; + padding: 1px; + margin: 0px; +} + + +QLabel[statusTip="alarm"]{ + background-color: rgba(200,200,200); + color: black; + font-size: 12pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; + qproperty-alignment: "AlignRight | AlignVCenter"; + padding: 1px; + margin: 0px; +} + + +QComboBox > QToolTip { + color: #000000; + background-color: #97cefa; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px groove black; + border-radius: 3px; + + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + +QToolTip { + color: #000000; + background-color: #97cefa; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Sans Serif"; + border: 2px groove black; + border-radius: 3px; + margin: 0px; + qproperty-alignment: "AlignCenter | AlignVCenter"; +} + + + +QToolBox[actOnBeam="true"]{ + background-color: rgba(212, 219, 157, 255); +} + + +QLabel[actOnBeam="true"]{ + background-color: rgba(212, 219, 157, 255); + color: #000000; + font-size: 10pt; + font-style: normal; + font-weight: 500; + font-family: "Monospace"; +} + + + + +/*-----------------------------------------------*/ +/* Containers */ +/*-----------------------------------------------*/ +QTabWidget{ + background-color: rgba(225, 225, 225, 255); +} + +QGroupBox{ + background-color: rgba(225, 225, 225, 255); +} + +QToolBox{ + background: rgba(225, 225, 225, 255); + qproperty-frameShape: StyledPanel; + qproperty-frameShadow: Plain; +} + diff --git a/config/style.json b/config/style.json new file mode 100644 index 0000000..d990ff7 --- /dev/null +++ b/config/style.json @@ -0,0 +1,52 @@ +{ + "menuFlags":{ + "hasFile": 1, + "loadInitFile": 1, + "hasDaq": 1, + "hasH5" : 1, + "hasEpics" : 1 + }, + "MsgSeverity": { + "fatal": "#ee0011", + "error": "#990033", + "warn": "#cc6600", + "info": "#0040ff", + "debug": "#11aaee" + }, + "stdlog": { + "destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/stdlog/" + }, + "screenshot": { + "destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/screenshot/" + }, + "StyleGuide":{ + "widgetHeight": 25, + "extraGroupHeight": 30, + "fgAlarmInvalid": "#ffffff", + "fgAlarmMajor": "#ff0000", + "fgAlarmMinor": "#fbfb04", + "fgAlarmNoAlarm": "#00cd00", + "fgNormalText": "#000000", + "fgCurveHor": "#2a63e4", + "fgCurveVer": "#8b1a96", + "fgCurveLong": "#cd6100", + "bgTitleOperation": "#dadada", + "bgTitleExpert": "#646464", + "bgTitleSimulation":"#8b1a96", + "bgMain": "#ececec", + "bgReadbackAlarm": "#c8c8c8", + "bgReadback" : "#ffffe0", + "bgPVSetBeam": "#d4db9d", + "bgPVSet": "#a0a0a0", + "bgButtonWindow": "#b79d5c", + "bgGroupContainers":"#e1e1e1", + "bgErrorLogFile" : "#f0f0f8", + "machine_color": "#2e5894", + "machine_qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 gray , stop: 1 #ffffff)" + + }, + "Machine" : { + "color" : "gray", + "qlingrad": "qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 gray , stop: 1 #ffffff)" + } +} diff --git a/images/Document-Delete-icon.png b/images/Document-Delete-icon.png new file mode 100644 index 0000000..2491e07 Binary files /dev/null and b/images/Document-Delete-icon.png differ diff --git a/images/EL.png b/images/EL.png new file mode 100644 index 0000000..bc722a7 Binary files /dev/null and b/images/EL.png differ diff --git a/images/EPICS.png b/images/EPICS.png new file mode 100644 index 0000000..4723c0f Binary files /dev/null and b/images/EPICS.png differ diff --git a/images/HDF_logo.png b/images/HDF_logo.png new file mode 100644 index 0000000..9a598f7 Binary files /dev/null and b/images/HDF_logo.png differ diff --git a/images/HDF_logoL.png b/images/HDF_logoL.png new file mode 100644 index 0000000..9a598f7 Binary files /dev/null and b/images/HDF_logoL.png differ diff --git a/images/HDF_logoS.png b/images/HDF_logoS.png new file mode 100644 index 0000000..bb9de6c Binary files /dev/null and b/images/HDF_logoS.png differ diff --git a/images/Thumbs.db b/images/Thumbs.db new file mode 100644 index 0000000..6eba118 Binary files /dev/null and b/images/Thumbs.db differ diff --git a/images/aramis.png b/images/aramis.png new file mode 100644 index 0000000..dbe0c1c Binary files /dev/null and b/images/aramis.png differ diff --git a/images/athos.png b/images/athos.png new file mode 100644 index 0000000..79f2ed1 Binary files /dev/null and b/images/athos.png differ diff --git a/images/back.png b/images/back.png new file mode 100644 index 0000000..60caccf Binary files /dev/null and b/images/back.png differ diff --git a/images/bar.png b/images/bar.png new file mode 100644 index 0000000..43e91dc Binary files /dev/null and b/images/bar.png differ diff --git a/images/down_arrow.png b/images/down_arrow.png new file mode 100644 index 0000000..85004ae Binary files /dev/null and b/images/down_arrow.png differ diff --git a/images/down_arrow_disabled.png b/images/down_arrow_disabled.png new file mode 100644 index 0000000..d9eefed Binary files /dev/null and b/images/down_arrow_disabled.png differ diff --git a/images/editinvert.png b/images/editinvert.png new file mode 100644 index 0000000..92e570e Binary files /dev/null and b/images/editinvert.png differ diff --git a/images/editmirror.png b/images/editmirror.png new file mode 100644 index 0000000..57a3ae9 Binary files /dev/null and b/images/editmirror.png differ diff --git a/images/editmirrorhoriz.png b/images/editmirrorhoriz.png new file mode 100644 index 0000000..9569d16 Binary files /dev/null and b/images/editmirrorhoriz.png differ diff --git a/images/editmirrorvert.png b/images/editmirrorvert.png new file mode 100644 index 0000000..a0accd2 Binary files /dev/null and b/images/editmirrorvert.png differ diff --git a/images/editresize.png b/images/editresize.png new file mode 100644 index 0000000..a31f29e Binary files /dev/null and b/images/editresize.png differ diff --git a/images/editswap.png b/images/editswap.png new file mode 100644 index 0000000..0dce8de Binary files /dev/null and b/images/editswap.png differ diff --git a/images/editunmirror.png b/images/editunmirror.png new file mode 100644 index 0000000..f897dde Binary files /dev/null and b/images/editunmirror.png differ diff --git a/images/editzoom.png b/images/editzoom.png new file mode 100644 index 0000000..500dcd8 Binary files /dev/null and b/images/editzoom.png differ diff --git a/images/elog.png b/images/elog.png new file mode 100644 index 0000000..f1238c9 Binary files /dev/null and b/images/elog.png differ diff --git a/images/filenew.png b/images/filenew.png new file mode 100644 index 0000000..dfc7a10 Binary files /dev/null and b/images/filenew.png differ diff --git a/images/fileopen.png b/images/fileopen.png new file mode 100644 index 0000000..2e86079 Binary files /dev/null and b/images/fileopen.png differ diff --git a/images/fileprint.png b/images/fileprint.png new file mode 100644 index 0000000..d554b55 Binary files /dev/null and b/images/fileprint.png differ diff --git a/images/filequit.png b/images/filequit.png new file mode 100644 index 0000000..7445887 Binary files /dev/null and b/images/filequit.png differ diff --git a/images/filesave.png b/images/filesave.png new file mode 100644 index 0000000..dd00abd Binary files /dev/null and b/images/filesave.png differ diff --git a/images/filesaveas.png b/images/filesaveas.png new file mode 100644 index 0000000..61a080e Binary files /dev/null and b/images/filesaveas.png differ diff --git a/images/filestdlog.png b/images/filestdlog.png new file mode 100644 index 0000000..4a9c6ce Binary files /dev/null and b/images/filestdlog.png differ diff --git a/images/forbidden.jpg b/images/forbidden.jpg new file mode 100644 index 0000000..3c3feaa Binary files /dev/null and b/images/forbidden.jpg differ diff --git a/images/forbidden.png b/images/forbidden.png new file mode 100644 index 0000000..8466f05 Binary files /dev/null and b/images/forbidden.png differ diff --git a/images/frame.png b/images/frame.png new file mode 100644 index 0000000..05a6005 Binary files /dev/null and b/images/frame.png differ diff --git a/images/hdf.jpeg b/images/hdf.jpeg new file mode 100644 index 0000000..b871259 Binary files /dev/null and b/images/hdf.jpeg differ diff --git a/images/helpabout.png b/images/helpabout.png new file mode 100644 index 0000000..5a604ad Binary files /dev/null and b/images/helpabout.png differ diff --git a/images/home.png b/images/home.png new file mode 100644 index 0000000..69cad3b Binary files /dev/null and b/images/home.png differ diff --git a/images/icon.png b/images/icon.png new file mode 100644 index 0000000..3b39c56 Binary files /dev/null and b/images/icon.png differ diff --git a/images/joint.png b/images/joint.png new file mode 100644 index 0000000..c0eb3de Binary files /dev/null and b/images/joint.png differ diff --git a/images/list.png b/images/list.png new file mode 100644 index 0000000..b696241 Binary files /dev/null and b/images/list.png differ diff --git a/images/loading.gif b/images/loading.gif new file mode 100644 index 0000000..733db1a Binary files /dev/null and b/images/loading.gif differ diff --git a/images/log.png b/images/log.png new file mode 100644 index 0000000..e9281f3 Binary files /dev/null and b/images/log.png differ diff --git a/images/pause.png b/images/pause.png new file mode 100644 index 0000000..7bce590 Binary files /dev/null and b/images/pause.png differ diff --git a/images/play.png b/images/play.png new file mode 100644 index 0000000..26e2893 Binary files /dev/null and b/images/play.png differ diff --git a/images/pushbutton.png b/images/pushbutton.png new file mode 100644 index 0000000..c7529ba Binary files /dev/null and b/images/pushbutton.png differ diff --git a/images/pushbutton_hover.png b/images/pushbutton_hover.png new file mode 100644 index 0000000..af0ef9d Binary files /dev/null and b/images/pushbutton_hover.png differ diff --git a/images/pushbutton_pressed.png b/images/pushbutton_pressed.png new file mode 100644 index 0000000..f7381f7 Binary files /dev/null and b/images/pushbutton_pressed.png differ diff --git a/images/remove.png b/images/remove.png new file mode 100644 index 0000000..e48d836 Binary files /dev/null and b/images/remove.png differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..4f73840 Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/send.png b/images/send.png new file mode 100644 index 0000000..256eeff Binary files /dev/null and b/images/send.png differ diff --git a/images/spindown.png b/images/spindown.png new file mode 100644 index 0000000..7ff3c64 Binary files /dev/null and b/images/spindown.png differ diff --git a/images/spindown_hover.png b/images/spindown_hover.png new file mode 100644 index 0000000..1486c4d Binary files /dev/null and b/images/spindown_hover.png differ diff --git a/images/spindown_off.png b/images/spindown_off.png new file mode 100644 index 0000000..a90ab3f Binary files /dev/null and b/images/spindown_off.png differ diff --git a/images/spindown_pressed.png b/images/spindown_pressed.png new file mode 100644 index 0000000..f6271cb Binary files /dev/null and b/images/spindown_pressed.png differ diff --git a/images/spinup.png b/images/spinup.png new file mode 100644 index 0000000..1069dd0 Binary files /dev/null and b/images/spinup.png differ diff --git a/images/spinup_hover.png b/images/spinup_hover.png new file mode 100644 index 0000000..884c8d7 Binary files /dev/null and b/images/spinup_hover.png differ diff --git a/images/spinup_pressed.png b/images/spinup_pressed.png new file mode 100644 index 0000000..b1843e2 Binary files /dev/null and b/images/spinup_pressed.png differ diff --git a/images/up_arrow.png b/images/up_arrow.png new file mode 100644 index 0000000..e7f7ddb Binary files /dev/null and b/images/up_arrow.png differ diff --git a/images/up_arrow_disabled.png b/images/up_arrow_disabled.png new file mode 100644 index 0000000..4d2c277 Binary files /dev/null and b/images/up_arrow_disabled.png differ diff --git a/images/viewclearlog.png b/images/viewclearlog.png new file mode 120000 index 0000000..4c9b091 --- /dev/null +++ b/images/viewclearlog.png @@ -0,0 +1 @@ +Document-Delete-icon.png \ No newline at end of file