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.
809 lines
10 KiB
Plaintext
809 lines
10 KiB
Plaintext
QWidget#centralwidget{
|
|
|
|
background-color: #F5F5F5;
|
|
|
|
}
|
|
|
|
QWidget#titlewidget{
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
QWidget#leftWidget{
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
QWidget#topWidget{
|
|
|
|
background-color: #2277EF;
|
|
|
|
}
|
|
|
|
QWidget#userWidget, QWidget#varWidget, QWidget#projectWidget, QWidget#trendWidget, QWidget#LoginWidget{
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
|
QWidget#userBtnWidget, QWidget#projectBtnWidget{
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
margin-top: 7px;
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
QWidget#userCheckWidget{
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
QWidget#registerWidget{
|
|
background : #181922;
|
|
|
|
}
|
|
|
|
/*QStackedWidget#rightWidget{
|
|
|
|
background-color: #000000;
|
|
|
|
}*/
|
|
|
|
QPushButton{
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
QPushButton#closeBtn, QPushButton#minBtn, QPushButton#maxBtn{
|
|
|
|
background-color: #2277EF;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
QPushButton#createProject, QPushButton#openProject, QPushButton#trendMag, QPushButton#varMag, QPushButton#userMag, QPushButton#protocolMag{
|
|
|
|
border: none;
|
|
|
|
font-size: 26px;
|
|
|
|
text-align: center;
|
|
|
|
font-family: "Roboto";
|
|
|
|
color: #929eaa;
|
|
|
|
}
|
|
|
|
|
|
QPushButton#createProject:hover, QPushButton#openProject:hover, QPushButton#trendMag:hover, QPushButton#varMag:hover, QPushButton#userMag:hover, QPushButton#protocolMag:hover{
|
|
|
|
color: #2277EF;
|
|
|
|
background-color: #F7F7F7;
|
|
|
|
border-right:4px solid #2277EF;
|
|
|
|
}
|
|
|
|
|
|
QPushButton#createProject:pressed, QPushButton#openProject:pressed, QPushButton#trendMag:pressed, QPushButton#varMag:pressed, QPushButton#userMag:pressed, QPushButton#protocolMag:pressed{
|
|
|
|
|
|
background-color: #F5F5F6;
|
|
|
|
color: #2277EF;
|
|
|
|
border-right:4px solid #2277EF;
|
|
|
|
}
|
|
|
|
QPushButton#createProject:checked, QPushButton#openProject:checked, QPushButton#trendMag:checked, QPushButton#varMag:checked, QPushButton#userMag:checked, QPushButton#protocolMag:checked{
|
|
|
|
background-color: #F5F5F6;
|
|
|
|
color: #2277EF;
|
|
|
|
border-right:4px solid #2277EF;
|
|
|
|
}
|
|
|
|
QPushButton#forceBtn, QPushButton#exportBtn, QPushButton#importBtn, QPushButton#createBtn, QPushButton#delBtn, QPushButton#messageBtn, QPushButton#startProtocolBtn, QPushButton#clearBtn{
|
|
|
|
color: #0076ff;
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
QPushButton#loginButton, QPushButton#exitButton{
|
|
|
|
width: 54.75px;
|
|
|
|
height: 40px;
|
|
|
|
background-color: #5b8cff;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: #FFFFFF;
|
|
|
|
font-family: ".SFNSDisplay-Medium";
|
|
|
|
font-size: 13.26px;
|
|
|
|
font-weight: 520;
|
|
|
|
}
|
|
|
|
QPushButton#mesButton{
|
|
|
|
width: 80px;
|
|
|
|
height: 40px;
|
|
|
|
background-color: #bfbfbf;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: #000000;
|
|
|
|
font-family: ".SFNSDisplay-Regular";
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 520;
|
|
|
|
}
|
|
|
|
QPushButton#mesButton:hover
|
|
{
|
|
color:white;
|
|
background-color:rgb(44 , 137 , 255);
|
|
border: 1px solid rgb(11 , 137 , 234);
|
|
}
|
|
|
|
QPushButton#mesButton:pressed
|
|
{
|
|
color:white;
|
|
background-color:rgb(14 , 135 , 228);
|
|
border: 1px solid rgb(12 , 138 , 235);
|
|
padding-left:3px;
|
|
padding-top:3px;
|
|
}
|
|
|
|
|
|
QPushButton#setButton{
|
|
width: 54.75px;
|
|
|
|
height: 50px;
|
|
|
|
background-color: #2277EF;
|
|
|
|
border-radius: 25px;
|
|
|
|
color: #FFFFFF;
|
|
|
|
font-family: ".SFNSDisplay-Medium";
|
|
|
|
font-size: 25px;
|
|
|
|
font-weight: 520;
|
|
}
|
|
|
|
QPushButton#registerPushButton{
|
|
width: 100px;
|
|
|
|
height: 30px;
|
|
|
|
border-radius: 6px;
|
|
|
|
color: #ffffff;
|
|
|
|
font-family: "PingFangSC-Medium";
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 16px;
|
|
|
|
background: qlineargradient(x1:0, y1:1, x2:0, y2:1,stop:0 #3EC169,stop:1 #1BBB70);
|
|
}
|
|
|
|
QPushButton#cancel_btn{
|
|
width: 100px;
|
|
|
|
height: 30px;
|
|
|
|
border-radius: 6px;
|
|
|
|
color: #ffffff;
|
|
|
|
font-family: "PingFangSC-Medium";
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 16px;
|
|
|
|
background: #5c5858;
|
|
}
|
|
|
|
QLabel#titleLabel{
|
|
|
|
color: #FFFFFF;
|
|
|
|
font-size: 30px;
|
|
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
QLabel#setlabel, QLabel#mesLabel{
|
|
background-color: #f2f2f2;
|
|
|
|
border: none;
|
|
|
|
width: 239px;
|
|
|
|
height: 40px;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding-left : 3px;
|
|
|
|
color: #282828;
|
|
|
|
font-family: "ProximaNova-Regular";
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
QLabel#registerlabel{
|
|
width: 308px;
|
|
|
|
height: 16px;
|
|
|
|
color: #5b5d6a;
|
|
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 16px;
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
QLabel#registerlabel_2, QLabel#registerlabel_1{
|
|
width: 36px;
|
|
|
|
height: 19px;
|
|
|
|
color: #ffffff;
|
|
|
|
font-family: "PingFangSC-Medium";
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 19px;
|
|
|
|
}
|
|
|
|
|
|
QLineEdit#searchEdit{
|
|
|
|
background-color: #4b8cf2;
|
|
|
|
border : none;
|
|
|
|
padding-left : 15px;
|
|
|
|
padding-top : 5px;
|
|
|
|
padding-bottom : 5px;
|
|
|
|
color: #ffffff;
|
|
|
|
font-family: Lato;
|
|
|
|
}
|
|
|
|
QLineEdit#userEdit, QLineEdit#pwdEdit{
|
|
|
|
background-color: #f5f8f9;
|
|
|
|
border: none;
|
|
|
|
width: 239px;
|
|
|
|
height: 40px;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding-left : 10px;
|
|
|
|
color: #889399;
|
|
|
|
font-family: ".SFNSDisplay-Regular";
|
|
|
|
font-size: 13.26px;
|
|
|
|
font-weight: 520;
|
|
}
|
|
QLineEdit#setEdit{
|
|
|
|
background-color: #ffffff;
|
|
|
|
border: 1px solid #dddddd;
|
|
|
|
width: 239px;
|
|
|
|
height: 49px;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding-left : 10px;
|
|
|
|
color: #889399;
|
|
|
|
font-family: ".SFNSDisplay-Regular";
|
|
|
|
font-size: 28px;
|
|
|
|
font-weight: 520;
|
|
}
|
|
|
|
QLineEdit#registerlineEdit{
|
|
width: 360px;
|
|
|
|
height: 38px;
|
|
|
|
border-radius: 8px;
|
|
|
|
background: #21232f;
|
|
|
|
color: #5b5d6a;
|
|
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 13px;
|
|
}
|
|
|
|
QTableView#varView{
|
|
|
|
/*alternate-background-color:#cccccc;*/
|
|
|
|
background-color: #ffffff;
|
|
|
|
selection-background-color: #AAAAAA;
|
|
|
|
selection-color: #1A1A1A;
|
|
|
|
border: none;
|
|
|
|
font: 20px "PingFangSC-Regular";
|
|
|
|
color: #1A1A1A;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QTableView#varView::item{
|
|
|
|
/*border : 0px;*/
|
|
|
|
/*margin-bottom: 4px;*/
|
|
|
|
/*margin-top: 4px;*/
|
|
|
|
/*background: #ffffff;*/
|
|
|
|
font-family: 20px "PingFangSC-Regular";
|
|
|
|
}
|
|
QTreeView{
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
QTreeView::item{
|
|
height: 25px;
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
}
|
|
|
|
QTableView#userView, QTableView#projectView{
|
|
|
|
border: 0px;
|
|
|
|
background-color: #F5F5F5;
|
|
|
|
font: 20px "PingFangSC-Regular";
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 7px;
|
|
|
|
}
|
|
|
|
|
|
QTableView#userView::item,QTableView#projectView::item{
|
|
|
|
border : none;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
margin-top: 3px;
|
|
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
}
|
|
|
|
QTableView#userView::item{
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
QHeaderView::section{
|
|
|
|
color: #ffffff;
|
|
|
|
font-size: 23px;
|
|
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
font-weight: 400;
|
|
|
|
text-align:center;
|
|
|
|
height:35px;
|
|
|
|
background-color: #666666;
|
|
|
|
border-color: #D8D8D8;
|
|
|
|
/*border: none;*/
|
|
|
|
/*outline:none*/
|
|
|
|
}
|
|
|
|
QHeaderView#paramHeader::section{
|
|
|
|
color: #ffffff;
|
|
|
|
font-size: 23px;
|
|
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
font-weight: 400;
|
|
|
|
text-align:center;
|
|
|
|
height:35px;
|
|
|
|
background-color: #666666;
|
|
|
|
border-color: #D8D8D8;
|
|
|
|
/*border: none;*/
|
|
|
|
/*outline:none*/
|
|
|
|
}
|
|
|
|
QHeaderView{
|
|
|
|
border-color: #D8D8D8;
|
|
|
|
}
|
|
|
|
QHeaderView#userHeader::section, QHeaderView#projectHeader::section{
|
|
|
|
color: #112E53;
|
|
|
|
font-size: 23px;
|
|
|
|
font-family: "PingFangSC-Regular";
|
|
|
|
font-weight: 400;
|
|
|
|
text-align:center;
|
|
|
|
height:42px;
|
|
|
|
background-color: #F5F5F5;
|
|
|
|
border-color: #D8D8D8;
|
|
|
|
border: none;
|
|
|
|
outline:none;
|
|
|
|
padding-top: 7px;
|
|
|
|
}
|
|
|
|
QHeaderView#userHeader, QHeaderView#projectHeader{
|
|
|
|
border-color: #ffffff;
|
|
|
|
}
|
|
|
|
QScrollBar:vertical{
|
|
|
|
margin-left:5px;
|
|
|
|
margin-top:35px;
|
|
|
|
width: 10px;
|
|
|
|
background:#FFFFFF;
|
|
|
|
}
|
|
|
|
QScrollBar::handle:vertical{
|
|
|
|
background:#5c5858;
|
|
|
|
}
|
|
|
|
QScrollBar::handle:vertical:hover{
|
|
|
|
background:#959595;
|
|
|
|
}
|
|
|
|
QScrollBar::add-line:vertical{
|
|
|
|
background:#FFFFFF;
|
|
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical{
|
|
|
|
background:#FFFFFF;
|
|
|
|
}
|
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical{
|
|
|
|
background:#FFFFFF;
|
|
|
|
}
|
|
|
|
QCheckBox#userBox::indicator{
|
|
|
|
width: 30px; height: 30px;
|
|
|
|
}
|
|
|
|
QCheckBox#userBox::indicator:checked{
|
|
|
|
image: url(Static/checkoff.png);
|
|
|
|
}
|
|
|
|
QCheckBox#userBox::indicator:enabled:unchecked{
|
|
|
|
image: url(Static/checkon.png);
|
|
|
|
}
|
|
|
|
QComboBox#setBox{
|
|
|
|
background-color: #ffffff;
|
|
|
|
border: 1px solid #dddddd;
|
|
|
|
width: 239px;
|
|
|
|
height: 49px;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding-left : 10px;
|
|
|
|
color: #889399;
|
|
|
|
font-family: "SFNSDisplay-Regular";
|
|
|
|
font-size: 28px;
|
|
|
|
font-weight: 520;
|
|
|
|
}
|
|
|
|
QComboBox#ProTypeBox{
|
|
border: 0px;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
font: 20px "PingFangSC-Regular";
|
|
|
|
padding-left: 7px;
|
|
|
|
margin-top: 6.5px;
|
|
|
|
padding-right: 7px;
|
|
|
|
width: 400px;
|
|
|
|
height: 43px;
|
|
|
|
}
|
|
|
|
QComboBox#timeBox{
|
|
|
|
border: 0px;
|
|
|
|
font: 22px "PingFangSC-Regular";
|
|
|
|
width: 40px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
QComboBox#TcRtdTypeBox,QComboBox#ModbusTypeBox {
|
|
|
|
border: 0px;
|
|
|
|
padding-right: 7px;
|
|
|
|
width: 400px;
|
|
|
|
height: 40px;
|
|
|
|
font: 18px "PingFangSC-Regular";
|
|
|
|
}
|
|
|
|
QComboBox#setBox::drop-down, QComboBox#ProTypeBox::drop-down,QComboBox#TcRtdTypeBox::drop-down, QComboBox#ModbusTypeBox::drop-down{
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: top right;
|
|
|
|
width: 15px;
|
|
|
|
border:none;
|
|
}
|
|
|
|
QComboBox#timeBox::drop-down{
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: top right;
|
|
|
|
width: 25px;
|
|
|
|
border:none;
|
|
}
|
|
|
|
QComboBox#setBox::drop-down, QComboBox#ProTypeBox::drop-down,QComboBox#TcRtdTypeBox::drop-down, QComboBox#ModbusTypeBox::drop-down, QComboBox#timeBox::drop-down{
|
|
|
|
image: url(Static/down.png);
|
|
|
|
}
|
|
|
|
QComboBox#setBox QAbstractItemView{
|
|
|
|
border: none;
|
|
|
|
font-size: 28px;
|
|
|
|
outline: 0px;
|
|
|
|
font-family: ".SFNSDisplay-Regular";
|
|
|
|
selection-background-color: white;
|
|
|
|
font-weight: 520;
|
|
|
|
}
|
|
|
|
QComboBox#ProTypeBox QAbstractItemView::item:hover{
|
|
background-color:#7cceff;
|
|
color: #889399;
|
|
}
|
|
|
|
QComboBox#ProTypeBox QAbstractItemView{
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
QComboBox#setBox QAbstractItemView::item{
|
|
|
|
background-color:white;
|
|
|
|
height: 49px;
|
|
|
|
font-size: 28px;
|
|
|
|
padding-left : 10px;
|
|
|
|
color: #889399;
|
|
|
|
font-family: ".SFNSDisplay-Regular";
|
|
|
|
font-weight: 520;
|
|
|
|
}
|
|
|
|
QComboBox#setBox QAbstractItemView::item:hover{
|
|
|
|
background-color:#7cceff;
|
|
|
|
color:white;
|
|
|
|
font-size: 28px;
|
|
|
|
padding-left : 10px;
|
|
|
|
color: #889399;
|
|
|
|
font-family: ".SFNSDisplay-Regular";
|
|
|
|
font-weight: 520;
|
|
|
|
}
|
|
|
|
QComboBox#timeBox QAbstractItemView::item:hover{
|
|
|
|
background-color:#7cceff;
|
|
color: #889399;
|
|
|
|
}
|
|
|
|
|
|
QTextEdit#mesEdit{
|
|
border: 2px solid #dddddd;
|
|
border-radius: 8px;
|
|
font-family: ".SFNSDisplay-Regular";
|
|
font-size: 20px;
|
|
}
|
|
|
|
QListView#trendListView{
|
|
|
|
font: 22px "PingFangSC-Regular";
|
|
|
|
}
|
|
|
|
QListView#trendListView::item{
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|