Files
common/config/acc.qss

2695 lines
63 KiB
Plaintext

/*################################################*/
/*# 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;
}
QWidget#INJECTOR, QTabWidget#INJECTOR
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FFFFFF, stop: 1 #008b8b);
color: black;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
border-radius: 0px;
margin-top: 0.0ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
}
QGroupBox#INJECTOR
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #008b8b, stop: 1 #ffffff);
color: #008b8b;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
border: 2px solid #008b8b;
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#INJECTOR {
subcontrol-origin: margin;
subcontrol-position: top center;
padding: 2px 2px 2px 2px;
margin: 0px 0px 0px 0px;
border: 2px solid #008b8b;
border-radius: 3px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ffffff , stop: 1 #008b8b);
}
QWidget#CYCLOTRON, QTabWidget#CYCLOTRON
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FFFFFF, stop: 1 #000047ab);
color: black;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
border-radius: 0px;
margin-top: 0.0ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
}
QGroupBox#CYCLOTRON
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #0047ab, stop: 1 #ffffff);
color: #0047ab;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
border: 2px solid #0047ab;
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#CYCLOTRON {
subcontrol-origin: margin;
subcontrol-position: top center;
padding: 2px 2px 2px 2px;
margin: 0px 0px 0px 0px;
border: 2px solid #0047ab;
border-radius: 3px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ffffff , stop: 1 #0047ab);
}
QWidget#MACHINE, QTabWidget#MACHINE
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FFFFFF, stop: 1 gray);
color: black;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
border-radius: 0px;
margin-top: 0.0ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
}
QWidget#Machine, QTabWidget#Machine
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 1 #FFFFFF, stop: 0 gray);
color: black;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
border-radius: 0px;
margin-top: 0.0ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
}
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#Beamline
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #9888b6, stop: 1 #FFFFFF);
color: black;
font-size: 10pt;
font-style: normal;
font-weight: 500;
font-family: "Sans Serif";
border: 0px solid #9888b6;
border-radius: 5px;
margin-top: 1.5ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
qproperty-alignment: 'AlignCenter | AlignVCenter';
}
QGroupBox::title#Beamline {
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 #9888b6;
border-radius: 3px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ffffff, stop: 1 #9888b6);
}
QWidget#Beamline, QTabWidget#Beamline
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 1 #FFFFFF, stop: 0 #9888b6);
color: #9888b6;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
/*border: 2px solid #9888b6;*/
border-radius: 0px;
margin-top: 0.0ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
}
QWidget#BEAMLINE, QTabWidget#BEAMLINE
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #FFFFFF, stop: 1 #9888b6);
color: #9888b6;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
/*border: 2px solid #9888b6;*/
border-radius: 0px;
margin-top: 0.0ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
}
QGroupBox#BEAMLINE
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #9888b6, stop: 1 #FFFFFF);
color: #9888b6;
font-size: 10pt;
font-style: normal;
font-weight: 600;
font-family: "Sans Serif";
border: 2px solid #9888b6;
border-radius: 5px;
margin-top: 1.5ex;
margin-left: 0.0ex;
padding-top: 2px;
padding-bottom: 4px;
qproperty-alignment: 'AlignCenter | AlignVCenter';
}
QGroupBox::title#BEAMLINE {
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 #9888b6;
border-radius: 3px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #ffffff , stop: 1 #9888b6);
}
QGroupBox#Aramis, QGroupBox#Pk
{
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, QGroupBox::title#Pk {
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, QWidget#Pk, QTabWidget#Pk
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 1 #FFFFFF, stop: 0#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;
}
QWidget#ARAMIS, QTabWidget#ARAMIS, QWidget#PK, QTabWidget#PK
{
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, QGroupBox#PK
{
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, QGroupBox::title#PK {
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#Aramis2
{
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#Aramis2 {
subcontrol-origin: margin;
subcontrol-position: top center;
padding: 2px 2px 2px 2px; /*top right bottom left */
margin: 0px 0px 0px 0px;
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#Athos2
{
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#Athos2 {
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#Sinq
{
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::title#Sinq {
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, QWidget#Sinq, QTabWidget#Sinq
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 1 #FFFFFF, stop: 0 #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;
}
QWidget#ATHOS, QTabWidget#ATHOS, QWidget#SINQ, QTabWidget#SINQ
{
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, QGroupBox#SINQ
{
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::title#SINQ
{
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#Porthos, QWidget#Ucn, QTabWidget#Ucn
{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 1 #FFFFFF, stop: 0 #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;
}
QWidget#PORTHOS, QTabWidget#PORTOS, QWidget#UCN, QTabWidget#UCN
{
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, QGroupBox#Ucn
{
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, QGroupBox::title#Ucn {
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, QGroupBox#UCN
{
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, QGroupBox::title#UCN {
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;
font-size: 10pt;
font-style: normal;
font-weight: 500;
}
*#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);
}
QInputDialog{
background-color: lightblue;
color: black;
font-size: 13px;
font-style: normal;
font-weight: 500;
font-family: "Sans serif";
border: 2px solid gray;
border-radius: 5px;
padding: 2px 2px 2px 5px;
margin: 5px;
qproperty-alignment: AlignLeft;
}
QInputDialog#Password {
background-color: lightblue;
color: black;
font-size: 13px;
font-style: normal;
font-weight: 500;
font-family: "Sans serif";
border: 2px solid gray;
border-radius: 5px;
padding: 2px 2px 2px 5px;
margin: 5px;
qproperty-alignment: AlignLeft;
}
QLabel#Elog {
background-color: lightblue;
color: black;
font-size: 13px;
font-style: normal;
font-weight: 500;
font-family: "Sans serif";
border: 2px solid gray;
border-radius: 5px;
padding: 2px 2px 2px 5px;
margin: 5px;
qproperty-alignment: AlignLeft;
}
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: 2px 2px 2px 5px;
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: 2px 2px 2px 5px;
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: 2px;
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: 2px;
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: 2px;
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: 2px;
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: 2px;
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#related
{
background-color: rgb(183, 157, 92);
color:black;
font-size: 16px;
font-style: normal;
font-weight: 500;
font-family: "Sans serif";
border-style: outset;
border-color: gray;
border-width: 6px;
border-radius: 5px;
padding-left: 5px;
margin-left: 2px;
margin-right: 2px;
margin-top: 2px;
margin-bottom: 2px;
text-align: AlignCenter;
}
QPushButton#hdf
{
background-color: rgb(0, 171, 102, 20);
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;
}
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;
}
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#ReadRight {
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: AlignRight;
qproperty-readOnly: true;
}
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: 4px;
border-radius: 3px;
padding: 1px;
margin-left: 1px;
margin-right: 1px;
margin-top: 1px;
margin-bottom: 1px;
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;
}