You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

728 lines
8.2 KiB
Plaintext

QComboBox#dataTypeCombox, QComboBox#orderCombox{
font-size: 20px;
}
QComboBox#modeCombox{
background-color: #f0f0f0;
border: none;
height: 43px;
font-size: 40px;
}
QComboBox#tbcombox{
background-color: #f0f0f0;
border: none;
height: 43px;
padding-left: 5px;
border-radius: 5px;
margin-left: -10px;
font-size: 20px;
}
QComboBox#deviceTypeCombox{
background-color: #f0f0f0;
border: none;
height: 43px;
padding-left: 5px;
border-radius: 5px;
font-size: 20px;
}
QComboBox#deviceTypeCombox::drop-down{
image: url(Static/down.png);
subcontrol-origin: padding;
subcontrol-position: top right;
background-color: #f0f0f0;
width: 20px;
border:none;
border-radius: 5px;
}
QComboBox#modeCombox::drop-down{
image: url(Static/down.png);
subcontrol-origin: padding;
subcontrol-position: top right;
background-color: #f0f0f0;
width: 20px;
border:none;
border-radius: 5px;
}
QComboBox#tbcombox::drop-down{
image: url(Static/down.png);
subcontrol-origin: padding;
subcontrol-position: top right;
background-color: #f0f0f0;
width: 20px;
border:none;
border-radius: 5px;
}
QTabBar::close-button {
image: url(Static/close_black.png);
subcontrol-origin: padding;
border: none;
}
QTabBar::close-button:hover {
background-color: #cccccc;
}
QTabBar{
background-color: #D3E3FD;
font:28px;
}
QTabBar#areaTabBar::tab{
background: #D3E3FD;
width: 100px;
height: 35px;
font: 20px;
margin-left: 2px;
font-family: ".SFNSDisplay-Regular";
}
QTabBar#areaTabBar::tab:hover {
background-color: #A8C7FA;
font: bold;
border-radius: 5px;
}
QTabBar#areaTabBar::tab:selected {
background-color: #A8C7FA;
font: bold;
border-radius: 5px;
}
QDockWidget{
font: 28px;
font: bold;
font-family: ".SFNSDisplay-Regular";
border: none;
color: white;
}
QDockWidget::title{
font-size: 20px;
background-color: #2084F6;
color: white;
text-align: center;
}
QPushButton#profibusStartProtocolBtn, QPushButton#switchBtn, QPushButton#switchTouchBtn, QPushButton#deviceParameterManageBtn{
font-size: 25px;
border: none;
background-color: white;
}
QPushButton#profibusStartProtocolBtn:hover, QPushButton#switchBtn:hover, QPushButton#switchTouchBtn:hover,
QPushButton#deviceParameterManageBtn:hover{
font-size: 25px;
font: bold;
border: none;
margin-bottom: -2px;
background-color: white;
}
QPushButton#profibusStartProtocolBtn:checked, QPushButton#switchBtn:checked, QPushButton#switchTouchBtn:checked,
QPushButton#deviceParameterManageBtn:checked{
font-size: 25px;
border: none;
}
QPushButton#okButton{
width: 54.75px;
height: 40px;
background-color: #09F738;
border-radius: 5px;
color: #FFFFFF;
font-family: ".SFNSDisplay-Medium";
font-size: 20px;
font-weight: 520;
}
QPushButton#cancelButton{
width: 54.75px;
height: 40px;
background-color: #EE1169;
border-radius: 5px;
color: white;
font-family: ".SFNSDisplay-Medium";
font-size: 20px;
font-weight: 520;
}
QPushButton#okButton:hover, QPushButton#cancelButton:hover{
font: bold;
border: none;
margin-bottom: -1px;
}
QPushButton#closeButton, QPushButton#minButton, QPushButton#startActionBtn{
border: none;
}
QPushButton#confirmButton{
width: 54.75px;
height: 40px;
background-color: #5b8cff;
border-radius: 5px;
color: #FFFFFF;
font-family: ".SFNSDisplay-Medium";
font-size: 17px;
font-weight: 520;
}
QPushButton#parameBtn{
border: none;
/*
width: 54.75px; */
height: 40px;
background-color: #f0f0f0;
border-radius: 5px;
color: #0e0000;
font-family: ".SFNSDisplay-Medium";
font-size: 20px;
font-weight: 520;
}
QPushButton#parameBtn:hover{
font: bold;
border: none;
background-color: #007bff;
margin-bottom: -1px;
}
QPushButton#parameBtn:checked{
background-color: #007bff;
color: #f7f6f6;
}
QPushButton#parameBtn:pressed{
font: bold;
border: none;
background-color: #3333ff;
margin-bottom: -3px;
}
QPushButton#tbparameBtn{
border: none;
width: 140.75px;
height: 40px;
background-color: #f0f0f0;
/* border-radius: 5px; */
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
color: #0e0000;
font-family: ".SFNSDisplay-Medium";
font-size: 17px;
font-weight: 520;
}
QPushButton#tbparameBtn:hover{
font: bold;
border: none;
background-color: #007bff;
margin-bottom: -1px;
}
QPushButton#tbparameBtn:checked{
background-color: #007bff;
color: #f7f6f6;
}
QPushButton#startActionBtn:hover, QPushButton#refreshButton:hover{
font: bold;
border: none;
background-color: #67f38e;
margin-bottom: -2px;
}
QPushButton#startActionBtn:pressed, QPushButton#refreshButton:pressed{
font: bold;
border: none;
background-color: #04942c;
margin-bottom: -2px;
}
QPushButton#refreshButton{
border: none;
size: 100px;
}
QWidget#MainWindow{
background-color: white;
border: none;
font: 20px;
}
QWidget#deviceWidget{
background-color: white;
}
QWidget#scroWidget{
background-color: white;
hight: 25px;
}
QScrollArea#scroArea{
border: none;
}
QScrollBar#scroBar{
background: white;
height: 5px;
}
QScrollBar#scroBar::handle{
background: gray;
height: 5px;
}
QDialog#deviceDialog{
background-color: #FFFFFF;
}
QTabWidget#areaTabWidget{
border: none;
background-color: white;
}
QLabel#proTypeLabel{
font-size: 23px;
font: bold;
border: none;
}
QLabel#batteryLabel{
font-size: 23px;
font: bold;
border: none;
}
QLabel#deviceAddressLabel{
font-size: 23px;
font: bold;
border: none;
font-family: ".SFNSDisplay-Medium";
}
QLabel#oldAddressLabel{
font-size: 23px;
font: bold;
border: none;
font-family: ".SFNSDisplay-Medium";
}
QProgressBar {
border: 2px solid grey;
border-radius: 5px;
text-align: center;
color: white;
}
QProgressBar::chunk {
background-color: green;
width: 20px;
}
QRadioButton#valueRadio{
color: black;
font-size: 25px;
font-family: ".SFNSDisplay-Regular";
font: bold;
}
QRadioButton#proTypeRadioBtn{
font-size: 25px;
}
QRadioButton#proTypeRadioBtn::indicator:enabled:checked{
image: url(Static/DP.png);
}
QRadioButton#proTypeRadioBtn::indicator:enabled:unchecked{
image: url(Static/PA.png);
}
QRadioButton#valueRadio::indicator:enabled:checked{
image: url(Static/radioOn.png);
}
QRadioButton#valueRadio::indicator:enabled:unchecked{
image: url(Static/radioOff.png);
}
QRadioButton#valueRadio::indicator:disabled:unchecked{
image: url(Static/radioDisableOff.png);
}
QRadioButton#valueRadio::indicator:disabled:checked{
image: url(Static/radioDisableOn.png);
}
QLineEdit#deviceMesEdit{
background-color: #f5f8f9;
border: none;
width: 239px;
height: 40px;
border-radius: 5px;
padding-left : 10px;
color: #889399;
font-family: ".SFNSDisplay-Regular";
font-size: 20px;
font-weight: 520;
}
QLineEdit#deviceAddressEdit, QLineEdit#parameEditline{
font-size: 25px;
border-top: none;
border-left: none;
border-right: none;
background: rgba(255, 255, 255, 0);
border-bottom: 2px solid gary;
}
QTableView#BlockView{
font-size: 25px;
font-family: ".SFNSDisplay-Regular";
}
QHeaderView::section {
/* background-color: lightblue;
color: black; */
/* padding: 4px;
border: 1px solid #6c6c6c; */
font-size: 16pt;
}
QProgressBar {
text-align: center;
color: black;
}
QWidget#tbwidget{
background-color: #ffffff;
padding: 0px;
margin: 0px;
}