1212更新
parent
5a271dd374
commit
be4f422da7
@ -1,281 +1,243 @@
|
||||
/* ==================== Area 样式表 ==================== */
|
||||
/* 统一项目样式风格 */
|
||||
|
||||
|
||||
|
||||
QPushButton#okBtn, QPushButton#delAreaBtn {
|
||||
|
||||
font-size: 22px;
|
||||
|
||||
/* ==================== 按钮样式 ==================== */
|
||||
QPushButton#okBtn {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 18px;
|
||||
border: none;
|
||||
|
||||
border-radius: 4px;
|
||||
padding: 6px 12px;
|
||||
min-height: 28px;
|
||||
background-color: #DDEEFF;
|
||||
color: #2277EF;
|
||||
}
|
||||
|
||||
QPushButton#okBtn:hover, QPushButton#delAreaBtn:hover {
|
||||
|
||||
font-size: 22px;
|
||||
|
||||
font: bold;
|
||||
|
||||
QPushButton#delAreaBtn {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 18px;
|
||||
border: none;
|
||||
|
||||
margin-bottom: -2px
|
||||
|
||||
border-radius: 4px;
|
||||
padding: 6px 12px;
|
||||
min-height: 28px;
|
||||
background-color: #FFEEEE;
|
||||
color: #EE1169;
|
||||
}
|
||||
|
||||
QPushButton#wirteDIDOforceBtn{
|
||||
|
||||
font-size: 16px;
|
||||
|
||||
padding-left: 5px;
|
||||
|
||||
padding-right: 5px;
|
||||
|
||||
padding-top: 5px;
|
||||
|
||||
padding-bottom: 5px;
|
||||
QPushButton#okBtn:hover {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
background-color: #EEFFFF;
|
||||
color: #2277EF;
|
||||
}
|
||||
|
||||
border: 1px solid black;
|
||||
QPushButton#delAreaBtn:hover {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
background-color: #FFDDDD;
|
||||
color: #EE1169;
|
||||
}
|
||||
|
||||
QPushButton#wirteDIDOforceBtn {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 18px;
|
||||
padding: 5px;
|
||||
border: 1px solid #CCCCCC;
|
||||
border-radius: 5px;
|
||||
|
||||
background-color: #FFFFFF;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
QPushButton#wirteDIDOforceBtn:hover{
|
||||
|
||||
font: bold;
|
||||
|
||||
QPushButton#wirteDIDOforceBtn:hover {
|
||||
font-weight: bold;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
|
||||
QPushButton#profibusForceBtn {
|
||||
|
||||
font-size: 22px;
|
||||
|
||||
padding-left: 5px;
|
||||
|
||||
padding-right: 5px;
|
||||
|
||||
padding-top: 6px;
|
||||
|
||||
padding-bottom: 5px;
|
||||
|
||||
border: 1px solid black;
|
||||
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 18px;
|
||||
padding: 5px;
|
||||
border: 1px solid #CCCCCC;
|
||||
border-radius: 5px;
|
||||
|
||||
/* background-color: #328ffc;*/
|
||||
|
||||
|
||||
background-color: #FFFFFF;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
QPushButton#profibusForceBtn:hover{
|
||||
|
||||
|
||||
font: bold;
|
||||
|
||||
|
||||
QPushButton#profibusForceBtn:hover {
|
||||
font-weight: bold;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
|
||||
QPushButton#deviceAddButton{
|
||||
|
||||
color: #328ffc;
|
||||
|
||||
font-size: 20px;
|
||||
|
||||
QPushButton#deviceAddButton {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
color: #2277EF;
|
||||
font-size: 14px;
|
||||
padding-bottom: 5px;
|
||||
|
||||
border-top: none;
|
||||
|
||||
border-right: none;
|
||||
|
||||
border-left: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
QPushButton#addareabutton{
|
||||
|
||||
color: #328ffc;
|
||||
|
||||
font-size: 20px;
|
||||
|
||||
QPushButton#addareabutton {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
color: #2277EF;
|
||||
font-size: 14px;
|
||||
padding-top: 7px;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
QPushButton#initAddDeviceButton, QPushButton#initAreaAddButton{
|
||||
|
||||
font-size: 45px;
|
||||
|
||||
color: #328ffc;
|
||||
|
||||
QPushButton#initAddDeviceButton,
|
||||
QPushButton#initAreaAddButton {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 24px;
|
||||
color: #2277EF;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
|
||||
border-radius: 5px;
|
||||
|
||||
}
|
||||
|
||||
QPushButton#initAddDeviceButton:hover, QPushButton#initAreaAddButton:hover, QPushButton#deviceAddButton:hover, QPushButton#addareabutton:hover{
|
||||
|
||||
color: #0f8ef0;
|
||||
|
||||
font: bold;
|
||||
|
||||
QPushButton#initAddDeviceButton:hover,
|
||||
QPushButton#initAreaAddButton:hover,
|
||||
QPushButton#deviceAddButton:hover,
|
||||
QPushButton#addareabutton:hover {
|
||||
color: #3787F7;
|
||||
font-weight: bold;
|
||||
border-radius: 3px;
|
||||
|
||||
margin-bottom: -4px
|
||||
|
||||
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
|
||||
QLabel#wirteDIDOareaMessLabel, QLabel#wirteDIDOareaValueLabel{
|
||||
|
||||
font-size: 16px;
|
||||
|
||||
}
|
||||
|
||||
QLabel#wirteDIDOareaValueLabel, QLabel#readDIDOareaValueLabel{
|
||||
|
||||
color: #0160aa;
|
||||
|
||||
/* ==================== 标签样式 ==================== */
|
||||
QLabel#wirteDIDOareaMessLabel,
|
||||
QLabel#wirteDIDOareaValueLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
QLabel#areaMessLabel, QLabel#areaValueLabel{
|
||||
|
||||
font-size: 28px;
|
||||
|
||||
QLabel#wirteDIDOareaValueLabel,
|
||||
QLabel#readDIDOareaValueLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
color: #2277EF;
|
||||
}
|
||||
|
||||
QLabel#massesageLabel{
|
||||
|
||||
font-size: 23px;
|
||||
QLabel#areaMessLabel,
|
||||
QLabel#areaValueLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
QLabel#areaValueLabel{
|
||||
|
||||
color: #0160aa;
|
||||
|
||||
QLabel#massesageLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
QLabel#readDIDOareaMessLabel, QLabel#readDIDOareaValueLabel{
|
||||
|
||||
font-size: 23px;
|
||||
|
||||
|
||||
QLabel#areaValueLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
color: #2277EF;
|
||||
}
|
||||
|
||||
QLabel#dataTypeLabel, QLabel#dataOrderLabel, QLabel#byteLineLabel{
|
||||
|
||||
font-size: 24px;
|
||||
|
||||
QLabel#readDIDOareaMessLabel,
|
||||
QLabel#readDIDOareaValueLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
QLabel#pvUpperLimit, QLabel#pvLowerLimit, QLabel#pvUnit{
|
||||
|
||||
font-size: 24px;
|
||||
|
||||
|
||||
QLabel#dataTypeLabel,
|
||||
QLabel#dataOrderLabel,
|
||||
QLabel#byteLineLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
QLabel#areaValueLabel{
|
||||
|
||||
color: #0160aa;
|
||||
|
||||
QLabel#pvUpperLimit,
|
||||
QLabel#pvLowerLimit,
|
||||
QLabel#pvUnit {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
QLabel#deviceNameLabel, QLabel#pvUpperLimitLabel, QLabel#pvLowerLimitLabel, QLabel#pvUnitLabel{
|
||||
|
||||
font:28px;
|
||||
|
||||
|
||||
QLabel#deviceNameLabel,
|
||||
QLabel#pvUpperLimitLabel,
|
||||
QLabel#pvLowerLimitLabel,
|
||||
QLabel#pvUnitLabel {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
QLineEdit#byteLineEdit{
|
||||
|
||||
font-size: 20px;
|
||||
|
||||
/* ==================== 输入框样式 ==================== */
|
||||
QLineEdit#byteLineEdit {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
border-top: none;
|
||||
|
||||
border-left: none;
|
||||
|
||||
border-right: none;
|
||||
|
||||
border-bottom: 2px solid gary;
|
||||
|
||||
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
|
||||
QLineEdit#areaLineEdit {
|
||||
|
||||
font-size: 28px;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
QLineEdit#wirteDIDOareaLineEdit {
|
||||
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
|
||||
border-top: none;
|
||||
|
||||
border-left: none;
|
||||
|
||||
border-right: none;
|
||||
|
||||
border-bottom: 2px solid gary;
|
||||
|
||||
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QLineEdit#areaLineEdit {
|
||||
|
||||
font-size: 28px;
|
||||
|
||||
QLineEdit#wirteDIDOareaLineEdit {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 14px;
|
||||
border-top: none;
|
||||
|
||||
border-left: none;
|
||||
|
||||
border-right: none;
|
||||
|
||||
border-bottom: 2px solid gary;
|
||||
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QLineEdit#deviceName, QLineEdit#pvUpperLimit, QLineEdit#pvLowerLimit, QLineEdit#pvUnit{
|
||||
|
||||
font: 28px;
|
||||
|
||||
QLineEdit#deviceName,
|
||||
QLineEdit#pvUpperLimit,
|
||||
QLineEdit#pvLowerLimit,
|
||||
QLineEdit#pvUnit {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 16px;
|
||||
border-top: none;
|
||||
|
||||
border-left: none;
|
||||
|
||||
border-right: none;
|
||||
|
||||
border-bottom: 2px solid gary;
|
||||
|
||||
border-bottom: 2px solid #CCCCCC;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
QComboBox#dataTypeCombox, QComboBox#orderCombox{
|
||||
|
||||
font-size: 20px;
|
||||
|
||||
/* border: 1px solid black;*/
|
||||
|
||||
/* border-radius: 5px;*/
|
||||
|
||||
/* ==================== 下拉框样式 ==================== */
|
||||
QComboBox#dataTypeCombox,
|
||||
QComboBox#orderCombox {
|
||||
font-family: "PingFangSC-Regular", "Microsoft YaHei", sans-serif;
|
||||
font-size: 14px;
|
||||
border: none;
|
||||
background-color: #FFFFFF;
|
||||
height: 35px;
|
||||
padding: 5px 30px 5px 5px;
|
||||
border-radius: 5px;
|
||||
min-height: 35px;
|
||||
max-height: 35px;
|
||||
}
|
||||
|
||||
QComboBox#dataTypeCombox::drop-down,
|
||||
QComboBox#orderCombox::drop-down {
|
||||
image: url(Static/down.png);
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: top right;
|
||||
background-color: #FFFFFF;
|
||||
width: 20px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
QComboBox#dataTypeCombox::item,
|
||||
QComboBox#orderCombox::item {
|
||||
padding: 8px 5px;
|
||||
}
|
||||
Loading…
Reference in New Issue