450 lines
9.5 KiB
Plaintext
450 lines
9.5 KiB
Plaintext
|
|
CAlarmStatWidget{
|
|||
|
|
background-color:#061944;
|
|||
|
|
font: 14pt "Microsoft YaHei";
|
|||
|
|
color: #ffffff;
|
|||
|
|
/*min-width: 1500px;*/
|
|||
|
|
/*max-width:1000px;*/
|
|||
|
|
/*min-height: 100px;*/
|
|||
|
|
/*max-height: 100px;*/
|
|||
|
|
}
|
|||
|
|
QFrame#locatiobn
|
|||
|
|
{
|
|||
|
|
background-color: #041138;
|
|||
|
|
border: 1px solid #0a2a6b;
|
|||
|
|
}
|
|||
|
|
QFrame#selectLocationOrAlarmOrTime
|
|||
|
|
{
|
|||
|
|
/*max-width: 1664px;*/
|
|||
|
|
min-height: 90px;
|
|||
|
|
max-height: 90px;
|
|||
|
|
background-color: #05153E;
|
|||
|
|
border: 1px solid #0a2a6b;
|
|||
|
|
}
|
|||
|
|
QFrame#selectChartOrTable
|
|||
|
|
{
|
|||
|
|
/*max-width: 1664px;*/
|
|||
|
|
min-height: 48px;
|
|||
|
|
max-height: 48px;
|
|||
|
|
border: 1px solid #0a2a6b;
|
|||
|
|
background: qlineargradient(x1:0, y1:0,x2:1,y2:0,
|
|||
|
|
stop: 0 #125cb5,
|
|||
|
|
stop: 0.26 #0e428d,
|
|||
|
|
stop: 1 #0a2864);
|
|||
|
|
opacity: 0.4;
|
|||
|
|
}
|
|||
|
|
QWidget#page_chart{
|
|||
|
|
/*max-width: 1648px;*/
|
|||
|
|
background-color: #061944;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QWidget#widget_2{
|
|||
|
|
background-color: #061944;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QWidget#widget{
|
|||
|
|
background-color: #061944;
|
|||
|
|
}
|
|||
|
|
QFrame#BarChartFrame
|
|||
|
|
{
|
|||
|
|
/*max-width: 1648px;*/
|
|||
|
|
min-height: 317px;
|
|||
|
|
max-height: 317px;
|
|||
|
|
background-color: #061944;
|
|||
|
|
border: 0px solid #0a2a6b;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QGraphicsView#graphicsView_7
|
|||
|
|
{
|
|||
|
|
background-color: #061944;
|
|||
|
|
/*max-width: 1648px;*/
|
|||
|
|
max-height: 317px;
|
|||
|
|
min-height: 317px;
|
|||
|
|
border: 1px solid #0a2a6b;
|
|||
|
|
}
|
|||
|
|
QGraphicsView{
|
|||
|
|
background-color: #061944;
|
|||
|
|
}
|
|||
|
|
QWidget#devicePage{
|
|||
|
|
/*max-width: 1648px;*/
|
|||
|
|
background-color: #061944;
|
|||
|
|
}
|
|||
|
|
QWidget#timePage{
|
|||
|
|
/*max-width: 1648px;*/
|
|||
|
|
background-color: #061944;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#m_deviceStaticBtn:hover{
|
|||
|
|
background-color: #0c1c4e;
|
|||
|
|
width: 130;
|
|||
|
|
height: 32;
|
|||
|
|
border-radius: 16px;
|
|||
|
|
font-weight: bold;
|
|||
|
|
font-size: 14px;
|
|||
|
|
font-family: Microsoft YaHei;
|
|||
|
|
letter-spacing: 0px;
|
|||
|
|
color: #a7bee3;
|
|||
|
|
border: 1px solid #38e8fd;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#m_timeStaticBtn:hover{
|
|||
|
|
background-color: #0c1c4e;
|
|||
|
|
width: 130;
|
|||
|
|
height: 32;
|
|||
|
|
border-radius: 16px;
|
|||
|
|
font-weight: bold;
|
|||
|
|
font-size: 14px;
|
|||
|
|
font-family: Microsoft YaHei;
|
|||
|
|
letter-spacing: 0px;
|
|||
|
|
color: #a7bee3;
|
|||
|
|
border: 1px solid #38e8fd;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QPushButton#m_chartBtn:hover{
|
|||
|
|
background-color: transparent;
|
|||
|
|
font-weight: bold;
|
|||
|
|
font-size: 16px;
|
|||
|
|
font-family: Microsoft YaHei;
|
|||
|
|
letter-spacing: 0px;
|
|||
|
|
color: #e6c72e;
|
|||
|
|
}
|
|||
|
|
QPushButton#m_listBtn:hover{
|
|||
|
|
color: #e6c72e;
|
|||
|
|
background-color: transparent;
|
|||
|
|
font-weight: bold;
|
|||
|
|
font-size: 16px;
|
|||
|
|
font-family: Microsoft YaHei;
|
|||
|
|
letter-spacing: 0px;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
QLabel{
|
|||
|
|
background-color: transparent;
|
|||
|
|
width: 64;
|
|||
|
|
height: 17;
|
|||
|
|
border: 0px solid transparent;
|
|||
|
|
font-size: 16px;
|
|||
|
|
font-family: Microsoft YaHei;
|
|||
|
|
letter-spacing: 0px;
|
|||
|
|
color: #ffffff;
|
|||
|
|
}
|
|||
|
|
QLabel#label_startTime{
|
|||
|
|
width: 48;
|
|||
|
|
height: 17;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QComboBox,QDateEdit
|
|||
|
|
{
|
|||
|
|
width: 148px;
|
|||
|
|
height: 30px;
|
|||
|
|
background-color: #061944;
|
|||
|
|
border-radius: 4px;
|
|||
|
|
border: 1px solid #0a2a6b;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
#m_searchBtn
|
|||
|
|
{
|
|||
|
|
font-family: "MicrosoftYaHei";
|
|||
|
|
font-size: 14px;
|
|||
|
|
letter-spacing: 0px;
|
|||
|
|
color: #ffffff;
|
|||
|
|
|
|||
|
|
width: 60px;
|
|||
|
|
height: 30px;
|
|||
|
|
background-color: #1880ec;
|
|||
|
|
border-radius: 4px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QFrame#selectDeviceAndTime
|
|||
|
|
{
|
|||
|
|
background-color: #061944;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QFrame#downframe
|
|||
|
|
{
|
|||
|
|
/*max-width: 1648px;*/
|
|||
|
|
min-height: 438px;
|
|||
|
|
max-height: 438px;
|
|||
|
|
background-color: #061944;
|
|||
|
|
border: 1px solid #0a2a6b;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QTableWidget */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QTableView
|
|||
|
|
{
|
|||
|
|
color: #a7bee3;
|
|||
|
|
font-size: 14px;
|
|||
|
|
background-color: #05163f;
|
|||
|
|
alternate-background-color: #071A45;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QHeaderView for list table */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QHeaderView {
|
|||
|
|
background-color: #0F346A;
|
|||
|
|
border: none;
|
|||
|
|
margin: -1px;
|
|||
|
|
padding: 0px;
|
|||
|
|
height:30px;
|
|||
|
|
}
|
|||
|
|
QHeaderView::section, QTableCornerButton::section {/*设置表头属性*//*左上角*/
|
|||
|
|
background-color: #0F346A;
|
|||
|
|
padding: 0 3px;
|
|||
|
|
height: 40px;
|
|||
|
|
font-size: 16px;
|
|||
|
|
border-top: 0px solid #0F346A;
|
|||
|
|
border-left: 0px solid #0F346A;
|
|||
|
|
border-right: 1px solid #0F346A;
|
|||
|
|
border-bottom: 1px solid #0F346A;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
}
|
|||
|
|
QHeaderView::section:hover, QTableCornerButton::section:hover{
|
|||
|
|
/*background-color: #033d67;*/
|
|||
|
|
}
|
|||
|
|
QHeaderView::section:pressed{
|
|||
|
|
background-color: #00f0ff;
|
|||
|
|
color:#001220;
|
|||
|
|
}
|
|||
|
|
QHeaderView::section:checked {
|
|||
|
|
background-color: #104366;
|
|||
|
|
color:#00b0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* ScrollBar */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QScrollBar{
|
|||
|
|
background-color: #041138;
|
|||
|
|
border: 1px solid #0d3756;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: 1px;
|
|||
|
|
margin:0px;
|
|||
|
|
height: 15px;
|
|||
|
|
width: 15px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::handle{
|
|||
|
|
border-color:#0F346A;
|
|||
|
|
radius: 8px;
|
|||
|
|
background: #0F346A;
|
|||
|
|
min-width: 10px;
|
|||
|
|
min-height: 10px;
|
|||
|
|
}
|
|||
|
|
QScrollBar::handle:hover {
|
|||
|
|
background: #00f0ff;
|
|||
|
|
}
|
|||
|
|
QScrollBar::add-line, QScrollBar::sub-line,
|
|||
|
|
QScrollBar::add-page, QScrollBar::sub-page {
|
|||
|
|
width: 0px;
|
|||
|
|
background: transparent;
|
|||
|
|
}
|
|||
|
|
QScrollArea{
|
|||
|
|
border: none;
|
|||
|
|
}
|
|||
|
|
/*QScrollArea QAbstractSlider{
|
|||
|
|
border-radius: 0px;
|
|||
|
|
}*/
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QComboBox */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QComboBox{
|
|||
|
|
background: #061944;/*不建议设为透明,否则table编辑时会字显示*/
|
|||
|
|
selection-background-color:#061944;
|
|||
|
|
selection-color:#032448;
|
|||
|
|
border: 1px solid #0070a2;
|
|||
|
|
border-radius: 4px;
|
|||
|
|
padding: 0 10 0 10px;
|
|||
|
|
height:30px;
|
|||
|
|
color: #ffffff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox:hover
|
|||
|
|
{
|
|||
|
|
border-color: #ffffff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox:focus {
|
|||
|
|
border-color: #00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox QAbstractItemView
|
|||
|
|
{
|
|||
|
|
selection-background-color: #061944;
|
|||
|
|
selection-color:#061944;
|
|||
|
|
alternate-background-color: #061944;
|
|||
|
|
background: #061944;
|
|||
|
|
border: 1px solid #0070a2;
|
|||
|
|
padding: 10px 0px 10px 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox QAbstractItemView::item:selected:active {
|
|||
|
|
background: transparent;
|
|||
|
|
color: #00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox::drop-down {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/box-down-normal.png);
|
|||
|
|
margin-right: 10px;
|
|||
|
|
height:7px;
|
|||
|
|
width:11px;
|
|||
|
|
subcontrol-origin: margin;
|
|||
|
|
subcontrol-position: center right;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox::drop-down:hover{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/box-down-select.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox::drop-down:open:!hover {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/box-down-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox::drop-down:open:hover {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/box-down-select.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox::drop-down:disabled {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/box-down-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QCheckBox */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QCheckBox{
|
|||
|
|
background: #061944;
|
|||
|
|
color:#ffffff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::hover {
|
|||
|
|
color:#00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator{
|
|||
|
|
width: 14px;
|
|||
|
|
height: 14px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QDateEdit */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QDateEdit{
|
|||
|
|
background: #061944;/*不建议设为透明,否则table编辑时会字显示*/
|
|||
|
|
selection-background-color:#061944;
|
|||
|
|
selection-color:#032448;
|
|||
|
|
border: 1px solid #0070a2;
|
|||
|
|
border-radius: 4px;
|
|||
|
|
padding: 0 10 0 10px;
|
|||
|
|
height:30px;
|
|||
|
|
color: #ffffff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QDateEdit:hover
|
|||
|
|
{
|
|||
|
|
border-color: #ffffff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QDateEdit:focus {
|
|||
|
|
border-color: #00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QCalendarWidget */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QCalendarWidget QWidget{
|
|||
|
|
border: none;
|
|||
|
|
background-color: #0F346A;
|
|||
|
|
color:#ffffff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_calendarview{
|
|||
|
|
border-left: 1px solid #0070a2;
|
|||
|
|
border-right: 1px solid #0070a2;
|
|||
|
|
border-bottom: 1px solid #0070a2;
|
|||
|
|
background-color: #0F346A;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_navigationbar {
|
|||
|
|
background-color: #0F346A;
|
|||
|
|
border: 1px solid #0070a2;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QMenu{
|
|||
|
|
width: 80px;
|
|||
|
|
background-color: #032448;
|
|||
|
|
border: 0px solid #cccfd9;
|
|||
|
|
color:#00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_yearbutton{
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_yearbutton{
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractSpinBox {
|
|||
|
|
background: #032448;/*不建议设为透明,否则table编辑时会字显示*/
|
|||
|
|
selection-background-color: #00f0ff;
|
|||
|
|
border: 1px solid #0070a2;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: 0 10 0 10px;
|
|||
|
|
height:30px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractSpinBox:hover {
|
|||
|
|
border-color: #00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractSpinBox:focus {
|
|||
|
|
border-color: #00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QToolButton:pressed,QCalendarWidget QToolButton:checked:hover{
|
|||
|
|
color:#00f0ff;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QCalendarWidget QToolButton#qt_calendar_prevmonth{
|
|||
|
|
width: 40px;
|
|||
|
|
qproperty-icon: url(../../resource/zh/public/dark/icon/arrowLeft.png);
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QToolButton#qt_calendar_nextmonth {
|
|||
|
|
width: 40px;
|
|||
|
|
qproperty-icon: url(../../resource/zh/public/dark/icon/arrowRight.png);
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QToolButton#qt_calendar_monthbutton {
|
|||
|
|
padding-right: 10px;
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractItemView
|
|||
|
|
{
|
|||
|
|
selection-background-color:#00f0ff; /*鼠标选中时背景色*/
|
|||
|
|
selection-color:#001220; /*鼠标选中时前景色:文字颜色*/
|
|||
|
|
/*设置交替颜色,需要在函数属性中设置:tableWidget->setAlternatingRowColors(true)*/
|
|||
|
|
alternate-background-color: #001d46;
|
|||
|
|
background: #032448;
|
|||
|
|
border: 1px solid #0070a2;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|