1708 lines
37 KiB
Plaintext
1708 lines
37 KiB
Plaintext
|
|
/*深色*/
|
|||
|
|
|
|||
|
|
QWidget
|
|||
|
|
{
|
|||
|
|
font: 17px "Microsoft YaHei";
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
background:transparent;
|
|||
|
|
outline:none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QWidget:disabled
|
|||
|
|
{
|
|||
|
|
color:#ABABAB;
|
|||
|
|
border-color: #ABABAB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QFrame{
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
background-color: transparent;/*不能设置为transparent*/
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QDialog {
|
|||
|
|
background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(42, 66, 99, 1), stop:1 rgba(68, 105, 155, 1));
|
|||
|
|
border-radius: 0px;
|
|||
|
|
box-shadow: none !important;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMainWindow
|
|||
|
|
{
|
|||
|
|
background-color: #1D2E57;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMainWindow::separator{
|
|||
|
|
border: 0px solid #6088BA;
|
|||
|
|
border-style: outset;
|
|||
|
|
width: 5px;
|
|||
|
|
height: 5px;
|
|||
|
|
}
|
|||
|
|
QMainWindow::separator:hover{
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QSplitter::handle{
|
|||
|
|
border: 0px solid #6088BA;
|
|||
|
|
width: 5px;
|
|||
|
|
height: 5px;
|
|||
|
|
}
|
|||
|
|
QSplitter::handle:hover{
|
|||
|
|
/*splitter->handle(1)->setAttribute(Qt::WA_Hover, true);才生效*/
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QSplitter::handle:pressed{
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
background-color: #033d67;
|
|||
|
|
}
|
|||
|
|
QSizeGrip{
|
|||
|
|
background-color: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* Label */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QLabel {
|
|||
|
|
background: transparent;
|
|||
|
|
border: 0px solid transparent;
|
|||
|
|
padding: 1px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* A QLabel is a QFrame ... */
|
|||
|
|
/* A QToolTip is a QLabel ... */
|
|||
|
|
QToolTip {
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
border-radius: 3px;
|
|||
|
|
opacity:210;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QComboBox */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QComboBox{
|
|||
|
|
background: transparent;
|
|||
|
|
selection-background-color:#5DA5FB;
|
|||
|
|
selection-color:#FFFFFF;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: -2 10 -2 10px;
|
|||
|
|
height:40px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox:hover
|
|||
|
|
{
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox:focus {
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox QAbstractItemView
|
|||
|
|
{
|
|||
|
|
min-width: 200px;
|
|||
|
|
background:#4E709A;
|
|||
|
|
selection-background-color: #5DA5FB;
|
|||
|
|
selection-color:#FFFFFF;
|
|||
|
|
/*alternate-background-color: #0E1D41;*/
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
padding: 10px 0px 10px 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox QAbstractItemView::item:selected:active {
|
|||
|
|
background: transparent;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QComboBox::drop-down {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/box-down-normal.png);
|
|||
|
|
margin-right: 10px;
|
|||
|
|
height:9px;
|
|||
|
|
width:14px;
|
|||
|
|
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-disable.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QMenu */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QMenu
|
|||
|
|
{
|
|||
|
|
min-width: 200px;
|
|||
|
|
background:#4E709A;
|
|||
|
|
padding: 10px 0px 10px 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAction {
|
|||
|
|
min-width: 240px;
|
|||
|
|
height:40px;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background:#4E709A;
|
|||
|
|
padding: 0px 20px 0px 20px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAction:hover {
|
|||
|
|
font-weight: bold;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMenu::item{
|
|||
|
|
min-width: 200px;
|
|||
|
|
height:40px;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background:transparent;
|
|||
|
|
border: 2px solid transparent;
|
|||
|
|
padding: 0px 20px 0px 20px;
|
|||
|
|
}
|
|||
|
|
QMenu::item:hover{
|
|||
|
|
font-weight: bold;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMenu::item:disabled,QMenu::item:disabled:selected,QMenu::item:disabled:pressed{
|
|||
|
|
|
|||
|
|
color: #ABABAB;
|
|||
|
|
background: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMenu::item#editBatch{
|
|||
|
|
min-width: 150px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMenu::item:selected{
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMenu::item:pressed {
|
|||
|
|
font-weight: bold;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QMenu#contextMenu{
|
|||
|
|
min-width:240px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* TextBox */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QLineEdit {
|
|||
|
|
background: transparent;/*不建议设为透明,否则table编辑时会字显示*/
|
|||
|
|
selection-background-color: #5DA5FB;
|
|||
|
|
selection-color:#FFFFFF;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: 3px 10px 4px 10px;
|
|||
|
|
max-height:40px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QLineEdit:hover{
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QLineEdit:focus{
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
/*QLineEdit[readOnly="true"] { color: gray }*/
|
|||
|
|
QLineEdit[echoMode="2"]{
|
|||
|
|
lineedit-password-character: 9679;/*字符的ascii码35 88等 */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QLineEdit:read-only {
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QLineEdit:disabled{
|
|||
|
|
color:#ABABAB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QLineEdit[placeholderText]
|
|||
|
|
{
|
|||
|
|
color: #ACB3BF;
|
|||
|
|
font-size: 20px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTextEdit{
|
|||
|
|
selection-background-color:#5DA5FB;
|
|||
|
|
selection-color:#FFFFFF;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
QTextEdit:hover{
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QTextEdit:focus{
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* Button */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QPushButton {
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
background-color:transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
padding: -2px 10px -2px 10px;
|
|||
|
|
min-height: 40px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton:hover{
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton:pressed
|
|||
|
|
{
|
|||
|
|
font-weight: bold;
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton:focus,QPushButton:default {
|
|||
|
|
|
|||
|
|
border-color: #5DA5FB; /* make the default button prominent */
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton:checked{
|
|||
|
|
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolBar{
|
|||
|
|
border: 1px solid #6088BA;
|
|||
|
|
spacing: 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolBar::separator:horizontal {
|
|||
|
|
background:#6088BA;
|
|||
|
|
width: 1px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolBar::separator:vertical {
|
|||
|
|
background:#6088BA;
|
|||
|
|
height: 1px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolButton,QToolButton:unchecked { /* ToolBar里的按钮和带下拉菜单的按钮 */
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
background-color:transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
padding: 3px 2px 3px 3px;
|
|||
|
|
}
|
|||
|
|
QToolButton:checked{
|
|||
|
|
font-weight: bold;
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QToolButton:hover{
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolButton:pressed,QToolButton:checked:hover{
|
|||
|
|
font-weight: bold;
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QToolButton:checked:pressed{
|
|||
|
|
font-weight: bold;
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* only for MenuButtonPopup */
|
|||
|
|
QToolButton[popupMode="1"]{
|
|||
|
|
padding-left: 1px;
|
|||
|
|
padding-right: 15px; /* make way for the popup button */
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
min-height: 15px;
|
|||
|
|
/*background: qlineargradient(x1:0, y1:0 ,x2:0, y2:1
|
|||
|
|
stop: 0 #39495C, stop: 0.05 #0d3756, stop: 0.5 #0d3756
|
|||
|
|
stop: 0.95 #39495C stop: 1#39495C)*/
|
|||
|
|
}
|
|||
|
|
QToolButton[popupMode="1"]:hover{
|
|||
|
|
border-width: 1px;
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolButton::menu-button {
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
border-top-right-radius: 2px;
|
|||
|
|
border-bottom-right-radius: 2px;
|
|||
|
|
width: 16px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolButton::menu-button:hover {
|
|||
|
|
border: 2px solid #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolButton::menu-button:pressed {
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolButton QMenu
|
|||
|
|
{
|
|||
|
|
selection-background-color: #5DA5FB;
|
|||
|
|
selection-color:#001220;
|
|||
|
|
background: transparent;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
padding: 10px 0px 10px 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QToolButton QMenu::item
|
|||
|
|
{
|
|||
|
|
height:30px;
|
|||
|
|
background: transparent;
|
|||
|
|
border: 2px solid transparent;
|
|||
|
|
padding: 0px 20px 0px 20px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QRadioButton */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QRadioButton {
|
|||
|
|
height: 28px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton:hover{
|
|||
|
|
color:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QRadioButton::indicator{
|
|||
|
|
width: 14px;
|
|||
|
|
height: 14px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator::unchecked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator:unchecked:hover {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator:unchecked:pressed {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator:unchecked:disabled {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-disable.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator::checked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-select-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator:checked:hover {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-select-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator:checked:pressed {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-select-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QRadioButton::indicator:checked:disabled {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/rkb-select-disable.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QCheckBox */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QCheckBox{
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::hover {
|
|||
|
|
color:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator{
|
|||
|
|
width: 14px;
|
|||
|
|
height: 14px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QCheckBox::indicator::unchecked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:unchecked:hover {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-uncheck-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:unchecked:pressed {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-uncheck-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:unchecked:disabled {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-disable.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator::checked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-select-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:checked:hover {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-select-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:checked:pressed {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-select-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:checked:disabled {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-select-disable.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:indeterminate {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-ptck.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:indeterminate:hover {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-ptck-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:indeterminate:pressed {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-ptck-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCheckBox::indicator:indeterminate:disabled {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-ptck-disable.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* Slider ProgressBar */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QProgressBar {
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
border-radius: 4px;
|
|||
|
|
text-align: center;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QProgressBar::chunk {
|
|||
|
|
background-color: #b3d7f9;
|
|||
|
|
width: 4px;
|
|||
|
|
margin: 1px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QSlider{
|
|||
|
|
border: 2px solid transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QSlider::disabled{
|
|||
|
|
border: 2px solid transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QSlider::groove{
|
|||
|
|
border: 1px solid #6088BA;
|
|||
|
|
/*background: transparent;*/
|
|||
|
|
}
|
|||
|
|
QSlider::handle {/*设置中间的那个滑动的键*/
|
|||
|
|
border: 1px solid #6088BA;
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QSlider::groove:horizontal {
|
|||
|
|
height: 3px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
|||
|
|
left:5px; right: 5px;
|
|||
|
|
}
|
|||
|
|
QSlider::groove:vertical{
|
|||
|
|
width: 3px;
|
|||
|
|
top: 5px; bottom: 5px;
|
|||
|
|
}
|
|||
|
|
QSlider::handle:horizontal{
|
|||
|
|
width: 6px;
|
|||
|
|
margin: -7px; /* height */
|
|||
|
|
}
|
|||
|
|
QSlider::handle:vertical{
|
|||
|
|
height: 6px;
|
|||
|
|
margin: -7px; /* height */
|
|||
|
|
}
|
|||
|
|
QSlider::add-page{/*还没有滑上去的地方*/
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
background:#4B6D97;
|
|||
|
|
}
|
|||
|
|
QSlider::sub-page{/*已经划过的从地方*/
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* ScrollBar */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QScrollBar{
|
|||
|
|
background-color: transparent;
|
|||
|
|
border: 1px solid #6088BA;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: 1px;
|
|||
|
|
margin:0px;
|
|||
|
|
height: 15px;
|
|||
|
|
width: 15px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QScrollBar::handle{
|
|||
|
|
border-color:#6088BA;
|
|||
|
|
radius: 0px;
|
|||
|
|
background: #6088BA;
|
|||
|
|
min-width: 10px;
|
|||
|
|
min-height: 10px;
|
|||
|
|
}
|
|||
|
|
QScrollBar::handle:hover {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QScrollBar::add-line, QScrollBar::sub-line,
|
|||
|
|
QScrollBar::add-page, QScrollBar::sub-page {
|
|||
|
|
width: 0px;
|
|||
|
|
background: transparent;
|
|||
|
|
}
|
|||
|
|
QScrollArea{
|
|||
|
|
border: none;
|
|||
|
|
}
|
|||
|
|
/*QScrollArea QAbstractSlider{
|
|||
|
|
border-radius: 0px;
|
|||
|
|
}*/
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* GroupBox */
|
|||
|
|
/*
|
|||
|
|
left: 6px;
|
|||
|
|
top:-30px;
|
|||
|
|
background-color: transparent;
|
|||
|
|
/* =============================================== */
|
|||
|
|
QGroupBox {
|
|||
|
|
background-color: transparent;
|
|||
|
|
border: 1px solid #6088BA;
|
|||
|
|
padding:0px 0px 0px 0px;
|
|||
|
|
margin-top: 30px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QGroupBox:disabled{
|
|||
|
|
border: 2px solid #ABABAB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QGroupBox::title {
|
|||
|
|
subcontrol-origin: margin;
|
|||
|
|
subcontrol-position: top left;
|
|||
|
|
left:20px;
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
QGroupBox::indicator::unchecked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-normal.png);
|
|||
|
|
}
|
|||
|
|
QGroupBox::indicator::checked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-select-hover.png);
|
|||
|
|
}
|
|||
|
|
QGroupBox::indicator:indeterminate {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-ptck.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* ToolBox */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QToolBox{
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
}
|
|||
|
|
QToolBox::tab {
|
|||
|
|
background: transparent;
|
|||
|
|
border: 1px solid #6088BA;
|
|||
|
|
}
|
|||
|
|
QToolBox::tab:hover {
|
|||
|
|
background-color: #4B6D97;
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QToolBox::tab:pressed {
|
|||
|
|
font-weight: bold;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background-color: #4B6D97;
|
|||
|
|
border: 2px solid #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QToolBox::tab:selected {
|
|||
|
|
font-weight: bold;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background-color: #4B6D97;
|
|||
|
|
border: 2px solid #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QTabBar */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QTabWidget{
|
|||
|
|
/*margin-top:10px;*/
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
QTabWidget::pane{
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
}
|
|||
|
|
QTabWidget::tab-bar {
|
|||
|
|
left: 0px;
|
|||
|
|
}
|
|||
|
|
QTabBar::tab {
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background: transparent;
|
|||
|
|
border: 0px solid #6088BA;
|
|||
|
|
padding: 0px 10px 0px 10px;
|
|||
|
|
min-height:38px;
|
|||
|
|
}
|
|||
|
|
QTabBar::tab:hover {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
border-color: transparent;
|
|||
|
|
}
|
|||
|
|
QTabBar::tab:selected {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
}
|
|||
|
|
QTabBar::tab:pressed {
|
|||
|
|
font-weight: bold;
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
}
|
|||
|
|
QTabBar::tab:disabled {
|
|||
|
|
color:#ABABAB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTabBar::tab:focus {
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
QTabBar::tab:top{
|
|||
|
|
border-top:0px;
|
|||
|
|
border-left:0px;
|
|||
|
|
border-right:0px;
|
|||
|
|
border-bottom:0px solid transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTabBar::tab:top:selected{
|
|||
|
|
border-top:0px;
|
|||
|
|
border-left:0px;
|
|||
|
|
border-right:0px;
|
|||
|
|
border-bottom:2px solid #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTabBar::tab:bottom{
|
|||
|
|
width:80px;
|
|||
|
|
height:30px;
|
|||
|
|
border-top:2px solid transparent;
|
|||
|
|
border-left:0px;
|
|||
|
|
border-right:0px;
|
|||
|
|
border-bottom:0px;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTabBar::tab:bottom:selected{
|
|||
|
|
border-top:2px solid #5DA5FB;
|
|||
|
|
border-left:0px;
|
|||
|
|
border-right:0px;
|
|||
|
|
border-bottom:0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTabBar::tab:right{
|
|||
|
|
height:80px;
|
|||
|
|
border-top:0px;
|
|||
|
|
border-bottom:0px;
|
|||
|
|
border-right:0px;
|
|||
|
|
border-left:2px solid transparent;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTabBar::tab:right:selected{
|
|||
|
|
height:80px;
|
|||
|
|
border-top:0px;
|
|||
|
|
border-bottom:0px;
|
|||
|
|
border-right:0px;
|
|||
|
|
border-left:2px solid #5DA5FB;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
QTabBar::tab:left{
|
|||
|
|
height:80px;
|
|||
|
|
border-top:0px;
|
|||
|
|
border-bottom:0px;
|
|||
|
|
border-left:0px;
|
|||
|
|
border-right:2px solid transparent;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTabBar::tab:left:selected{
|
|||
|
|
height:80px;
|
|||
|
|
border-top:0px;
|
|||
|
|
border-bottom:0px;
|
|||
|
|
border-left:0px;
|
|||
|
|
border-right:2px solid #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QTabWidget::pane
|
|||
|
|
{
|
|||
|
|
border:1px solid #6088BA;
|
|||
|
|
padding:6px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QHeaderView for list table */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QHeaderView {
|
|||
|
|
background-color: #4B6D97;
|
|||
|
|
border: none;
|
|||
|
|
margin: -2px;
|
|||
|
|
padding: 0px;
|
|||
|
|
height:40px;
|
|||
|
|
}
|
|||
|
|
QHeaderView::section, QTableCornerButton::section {/*设置表头属性*//*左上角*/
|
|||
|
|
background-color: #4B6D97;
|
|||
|
|
padding: 0px 10px 0px 10px;
|
|||
|
|
min-height: 40px;
|
|||
|
|
border-top: 0px solid #6088BA;
|
|||
|
|
border-left: 0px solid #6088BA;
|
|||
|
|
border-right: 2px solid #6088BA;
|
|||
|
|
border-bottom: 2px solid #6088BA;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
}
|
|||
|
|
QHeaderView::section:hover, QTableCornerButton::section:hover{
|
|||
|
|
/*background-color: #033d67;*/
|
|||
|
|
}
|
|||
|
|
QHeaderView::section:pressed{
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
}
|
|||
|
|
QHeaderView::section:checked {
|
|||
|
|
background-color: #4B6D97;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QHeaderView::down-arrow
|
|||
|
|
{
|
|||
|
|
subcontrol-position:center right;
|
|||
|
|
padding-right:10px;
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-down-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QHeaderView::up-arrow
|
|||
|
|
{
|
|||
|
|
subcontrol-position:center right;
|
|||
|
|
padding-right:10px;
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-up-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QAbstractItemView */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QAbstractItemView
|
|||
|
|
{
|
|||
|
|
show-decoration-selected:1;
|
|||
|
|
selection-background-color:#5DA5FB; /*鼠标选中时背景色*/
|
|||
|
|
selection-color:#FFFFFF; /*鼠标选中时前景色:文字颜色*/
|
|||
|
|
/*设置交替颜色,需要在函数属性中设置:tableWidget->setAlternatingRowColors(true)*/
|
|||
|
|
alternate-background-color: transparent;
|
|||
|
|
background: transparent;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::item
|
|||
|
|
{
|
|||
|
|
background: transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
min-height:30px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::item:hover{
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::item:pressed{
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::item:selected:focus {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::item:selected:!focus {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::item:selected:active {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView QCheckBox::hover{
|
|||
|
|
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView QCheckBox::pressed{
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView QCheckBox::focus{
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView QCheckBox::selected:focus {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView QCheckBox::selected:!focus {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView QCheckBox::selected:active {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::indicator::unchecked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QAbstractItemView::indicator::checked{
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-select-hover.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::indicator:indeterminate {
|
|||
|
|
border-image:url(../../resource/zh/public/dark/icon/ckb-ptck.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch{
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch:alternate
|
|||
|
|
{
|
|||
|
|
alternate-background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch:hover{
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch:pressed{
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch:focus{
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch:selected:focus {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch:selected:!focus{
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractItemView::branch:selected:active {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QListView QListWidget */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QListWidget, QListView
|
|||
|
|
{
|
|||
|
|
gridline-color: #6088BA; /*表格中的网格线条颜色*/
|
|||
|
|
border:2px solid #6088BA; /*边框线的宽度、颜色*/
|
|||
|
|
/*border:none;*/ /*去除边界线*/
|
|||
|
|
/*border-radius:5px;*/
|
|||
|
|
/*padding:10px 10px;*/ /*表格与边框的间距*/
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QListView::item, QListWidget::item{
|
|||
|
|
background: transparent;
|
|||
|
|
outline-style: none;
|
|||
|
|
border: none;
|
|||
|
|
padding: 0px 10px 0px 10px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QTableWidget */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QTableWidget, QTableView
|
|||
|
|
{
|
|||
|
|
gridline-color: #39495C; /*表格中的网格线条颜色*/
|
|||
|
|
border:2px solid #6088BA; /*边框线的宽度、颜色*/
|
|||
|
|
/*border:none;*/ /*去除边界线*/
|
|||
|
|
/*border-radius:5px;*/
|
|||
|
|
/*padding:10px 10px;*/ /*表格与边框的间距*/
|
|||
|
|
}
|
|||
|
|
QTableView::item, QTabWidget::item{
|
|||
|
|
background: transparent;
|
|||
|
|
outline-style: none;
|
|||
|
|
border: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTableView QLineEdit,
|
|||
|
|
QTableWidget QLineEdit,
|
|||
|
|
QTreeWidget QLineEdit,
|
|||
|
|
QTreeView QLineEdit
|
|||
|
|
{
|
|||
|
|
background: #4B6D97;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: 0px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTableWidget QComboBox ,
|
|||
|
|
QTableView QComboBox,
|
|||
|
|
QTreeWidget QComboBox,
|
|||
|
|
QTreeView QComboBox
|
|||
|
|
{
|
|||
|
|
background: #4B6D97;
|
|||
|
|
border: 0px;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
margin: 0px;
|
|||
|
|
height:30px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTableWidget QPushButton ,
|
|||
|
|
QTableView QPushButton,
|
|||
|
|
QTreeWidget QPushButton,
|
|||
|
|
QTreeView QPushButton
|
|||
|
|
{
|
|||
|
|
min-height: 30px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QTreeWidget QTreeView */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QTreeWidget, QTreeView
|
|||
|
|
{
|
|||
|
|
background:transparent;
|
|||
|
|
}
|
|||
|
|
QTreeWidget::item, QTreeView::item{
|
|||
|
|
background: transparent;
|
|||
|
|
outline-style: none;
|
|||
|
|
border: none;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QTreeWidget::branch,QTreeView::branch {
|
|||
|
|
background: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeWidget::branch:hover,QTreeView::branch:hover{
|
|||
|
|
background: #5da5fb;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeWidget::branch:pressed,QTreeView::branch:pressed{
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
background:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeWidget::branch:focus,QTreeView::branch:focus{
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeWidget::branch:selected:focus,QTreeView::branch:selected:focus {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeWidget::branch:selected:!focus,QTreeView::branch:selected:!focus{
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeWidget::branch:selected:active,QTreeView::branch:selected:active {
|
|||
|
|
background: #5DA5FB;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeView::branch {
|
|||
|
|
width:9px;
|
|||
|
|
height:9px;
|
|||
|
|
background-repeat: no-repeat;
|
|||
|
|
background-position: center;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeView::branch:closed:has-children {
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/arrowRight.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeView::branch:closed:has-children:hover {
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/arrowRight.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeView::branch:open:has-children {
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/arrowBottom.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QTreeView::branch:open:has-children:hover {
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/arrowBottom.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QAbstractSpinBox spinbox QDateTimeEdit */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QAbstractSpinBox {
|
|||
|
|
background: transparent;/*不建议设为透明,否则table编辑时会字显示*/
|
|||
|
|
selection-background-color:#5DA5FB;
|
|||
|
|
selection-color:#FFFFFF;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: 0 0 0 0px;
|
|||
|
|
height:40px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox:hover {
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox:focus {
|
|||
|
|
border-color: #5DA5FB;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/*SpinBox向上按钮样式*/
|
|||
|
|
QAbstractSpinBox::up-button {
|
|||
|
|
margin: 5px 5px 5px 5px;
|
|||
|
|
height:9px;
|
|||
|
|
width:14px;
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-up-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox::up-button:hover {
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-up-select.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox::up-button:pressed {
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-up-select.png);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox::up-button:disabled{
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-up-disable.png);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/*SpinBox向下按钮样式*/
|
|||
|
|
QAbstractSpinBox::down-button {
|
|||
|
|
margin: 5px 5px 5px 5px;
|
|||
|
|
height:9px;
|
|||
|
|
width:14px;
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-down-normal.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox::down-button:hover{
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-down-select.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox::down-button:pressed{
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-down-select.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QAbstractSpinBox::down-button:disabled{
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/box-down-disable.png);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QDateTimeEdit::drop-down {
|
|||
|
|
subcontrol-origin: padding;
|
|||
|
|
subcontrol-position: right center;
|
|||
|
|
width: 30px;
|
|||
|
|
background-color: transparent;
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/calendar.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* QCalendarWidget */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QCalendarWidget QWidget{
|
|||
|
|
border: none;
|
|||
|
|
background-color: #4E709A;
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_calendarview{
|
|||
|
|
border-left: 1px solid #6088BA;
|
|||
|
|
border-right: 1px solid #6088BA;
|
|||
|
|
border-bottom: 1px solid #6088BA;
|
|||
|
|
background-color: #4E709A;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_navigationbar {
|
|||
|
|
background-color: #4B6D97;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QCalendarWidget QMenu{
|
|||
|
|
width: 80px;
|
|||
|
|
background-color: #4E709A;
|
|||
|
|
border: 0px;
|
|||
|
|
color:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_yearbutton{
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QWidget#qt_calendar_yearbutton{
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractSpinBox {
|
|||
|
|
background: transparent;
|
|||
|
|
selection-background-color: #5DA5FB;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
border-radius: 0px;
|
|||
|
|
padding: 0 10 0 10px;
|
|||
|
|
height:30px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractSpinBox:hover {
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractSpinBox:focus {
|
|||
|
|
background-color: #5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QToolButton:pressed,QCalendarWidget QToolButton:checked:hover{
|
|||
|
|
color:#5DA5FB;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
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 {
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QCalendarWidget QAbstractItemView
|
|||
|
|
{
|
|||
|
|
selection-background-color:#5DA5FB; /*鼠标选中时背景色*/
|
|||
|
|
selection-color:#FFFFFF; /*鼠标选中时前景色:文字颜色*/
|
|||
|
|
/*设置交替颜色,需要在函数属性中设置:tableWidget->setAlternatingRowColors(true)*/
|
|||
|
|
alternate-background-color: #4B6D97;
|
|||
|
|
background: transparent;
|
|||
|
|
border: 2px solid #6088BA;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* searchButton搜索框 */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QPushButton#searchButton{
|
|||
|
|
background:transparent;
|
|||
|
|
min-height:22px;
|
|||
|
|
max-width:22px;
|
|||
|
|
border:none;
|
|||
|
|
margin-left:0px;
|
|||
|
|
padding: 0 5 0 5px;
|
|||
|
|
image:url(../../resource/zh/public/dark/icon/search.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QLineEdit#searchTextEdit {
|
|||
|
|
border:none;
|
|||
|
|
background:transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QWidget#searchWidget {
|
|||
|
|
border:2px solid #5DA5FB;
|
|||
|
|
background:#4B6D97;
|
|||
|
|
max-height: 40px;
|
|||
|
|
}
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* 主窗口 */
|
|||
|
|
/* =============================================== */
|
|||
|
|
|
|||
|
|
QWidget#centralwidget
|
|||
|
|
{
|
|||
|
|
background:#1d2e57;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
WorkFrame
|
|||
|
|
{
|
|||
|
|
background-color: #1d2e57;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MenuFrame
|
|||
|
|
{
|
|||
|
|
min-width: 90px;
|
|||
|
|
max-width: 90px;
|
|||
|
|
background-color: #0e1d42;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* 自定义控件部分- 标题头 */
|
|||
|
|
/* =============================================== */
|
|||
|
|
MainTitle{
|
|||
|
|
background:#0E1D42;
|
|||
|
|
min-height: 42px;
|
|||
|
|
max-height: 42px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QLabel#icon {
|
|||
|
|
max-height:32px;
|
|||
|
|
max-width:32px;
|
|||
|
|
min-height:32px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
background:transparent;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/min-logo.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QLabel#title {
|
|||
|
|
color:#00D3FF;
|
|||
|
|
font-weight: bold;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#min_btn {
|
|||
|
|
max-height:32px;
|
|||
|
|
max-width:32px;
|
|||
|
|
min-height:32px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
background:transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_min.png) 0 96 0 0 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#min_btn:hover {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_min.png) 0 64 0 32;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#min_btn:pressed {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_min.png) 0 32 0 64 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#min_btn:disabled {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_min.png) 0 0 0 96 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn[buttonStatus="max"]{
|
|||
|
|
max-height:32px;
|
|||
|
|
max-width:32px;
|
|||
|
|
min-height:32px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
background:transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_max.png) 0 96 0 0 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn:hover[buttonStatus="max"] {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_max.png) 0 64 0 32;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn:pressed[buttonStatus="max"] {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_max.png) 0 32 0 64 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn:disabled[buttonStatus="max"] {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_max.png) 0 0 0 96 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn[buttonStatus="normal"]{
|
|||
|
|
max-height:32px;
|
|||
|
|
max-width:32px;
|
|||
|
|
min-height:32px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
background:transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_normal.png) 0 96 0 0 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn:hover[buttonStatus="normal"] {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_normal.png) 0 64 0 32;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn:pressed[buttonStatus="normal"] {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_normal.png) 0 32 0 64 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#max_btn:disabled[buttonStatus="normal"] {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_normal.png) 0 0 0 96 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#close_btn {
|
|||
|
|
max-height:32px;
|
|||
|
|
max-width:32px;
|
|||
|
|
min-height:32px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
background:transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 96 0 0 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#close_btn:hover {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 64 0 32;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#close_btn:pressed {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 32 0 64 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MainTitle QPushButton#close_btn:disabled {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 0 0 96 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* 自定义控件部分- 弹出窗 */
|
|||
|
|
/* =============================================== */
|
|||
|
|
QWidget#CustomDialogCentralWidget
|
|||
|
|
{
|
|||
|
|
background-color: #fdfdfd;
|
|||
|
|
border-left:1px solid #adbdcd;
|
|||
|
|
border-right:1px solid #adbdcd;
|
|||
|
|
border-bottom:1px solid #B2B9C3;
|
|||
|
|
border-bottom-left-radius: 5px;
|
|||
|
|
border-bottom-right-radius: 5px;
|
|||
|
|
border-style: solid;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CustomDialogTitle{
|
|||
|
|
border-top:2px solid #5da5fb;
|
|||
|
|
border-left:2px solid #5da5fb;
|
|||
|
|
border-right:2px solid #5da5fb;
|
|||
|
|
border-bottom:1px solid #6088BA;
|
|||
|
|
background:#6088BA;
|
|||
|
|
min-height: 42px;
|
|||
|
|
max-height: 42px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CustomDialogTitle QLabel#icon {
|
|||
|
|
max-height:32px;
|
|||
|
|
max-width:32px;
|
|||
|
|
min-height:32px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
background:transparent;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/min_logo.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CustomDialogTitle QLabel#title {
|
|||
|
|
color:#FFFFFF;
|
|||
|
|
font-weight: bold;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
CustomDialogTitle QPushButton#close_btn {
|
|||
|
|
max-height:32px;
|
|||
|
|
max-width:32px;
|
|||
|
|
min-height:32px;
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
background:transparent;
|
|||
|
|
radius:0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 96 0 0 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CustomDialogTitle QPushButton#close_btn:hover {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 64 0 32;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CustomDialogTitle QPushButton#close_btn:pressed {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-position:center;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 32 0 64 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CustomDialogTitle QPushButton#close_btn:disabled {
|
|||
|
|
border: 0px;
|
|||
|
|
padding: 0px 0px 0px 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_close.png) 0 0 0 96 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
CustomDialog,CustomUiDialog
|
|||
|
|
{
|
|||
|
|
background:#1D2E57;
|
|||
|
|
border: 2px solid #5da5fb;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* 自定义控件部分- 主菜单 */
|
|||
|
|
/* =============================================== */
|
|||
|
|
MenuFrame QPushButton{
|
|||
|
|
background-color:transparent;
|
|||
|
|
background-position:top;
|
|||
|
|
background-repeat:no-repeat;
|
|||
|
|
background-origin:padding;
|
|||
|
|
height:45px;
|
|||
|
|
width:60px;
|
|||
|
|
padding:18px 0px -10px 0px;
|
|||
|
|
margin: 0px -1px 1px 5px;
|
|||
|
|
border:1px solid transparent;
|
|||
|
|
|
|||
|
|
background-image:url(../../resource/zh/public/light/icon/main_common.png);
|
|||
|
|
border-width: 1px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MenuFrame QPushButton:hover{
|
|||
|
|
|
|||
|
|
border-top-left-radius:8px;
|
|||
|
|
border-bottom-left-radius:8px;
|
|||
|
|
border-top-right-radius:8px;
|
|||
|
|
border-bottom-right-radius:8px;
|
|||
|
|
background-color:transparent;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
border-top:1px solid #6088ba;
|
|||
|
|
border-left:1px solid #6088ba;
|
|||
|
|
border-right:1px solid #6088ba;
|
|||
|
|
border-bottom:1px solid #6088ba;
|
|||
|
|
|
|||
|
|
background-image:url(../../resource/zh/public/light/icon/main_common.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
MenuFrame QPushButton:pressed, MenuFrame QPushButton:checked,MenuFrame QPushButton:focus{
|
|||
|
|
border-top-left-radius:8px;
|
|||
|
|
border-bottom-left-radius:8px;
|
|||
|
|
border-top-right-radius:0px;
|
|||
|
|
border-bottom-right-radius:0px;
|
|||
|
|
background-color: #1d2e57;
|
|||
|
|
font-weight: bold;
|
|||
|
|
color: #FFFFFF;
|
|||
|
|
border-top:1px solid #6088ba;
|
|||
|
|
border-left:1px solid #6088ba;
|
|||
|
|
border-right:1px solid transparent;
|
|||
|
|
border-bottom:1px solid #6088ba;
|
|||
|
|
background-image:url(../../resource/zh/public/light/icon/main_common.png) ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
MenuFrame QWidget#centralWidget,MenuFrame QWidget#scrollAreaWidget,MenuFrame QWidget#toolBtnWidget,QScrollArea
|
|||
|
|
{
|
|||
|
|
background:transparent;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QPushButton#upButton {
|
|||
|
|
background-position:top;
|
|||
|
|
background-repeat:no-repeat;
|
|||
|
|
background-origin:content;
|
|||
|
|
|
|||
|
|
text-align:bottom;
|
|||
|
|
padding:0px;
|
|||
|
|
margin: 0px;
|
|||
|
|
border:0px solid transparent;
|
|||
|
|
border-radius:0px;
|
|||
|
|
|
|||
|
|
color: transparent;
|
|||
|
|
height: 32px;
|
|||
|
|
width: 32px;
|
|||
|
|
background:transparent;
|
|||
|
|
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_up.png) 0 96 0 0 ;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#upButton:hover {
|
|||
|
|
background-color: #d9e8fd;
|
|||
|
|
border: 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_up.png) 0 64 0 32;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#upButton:pressed {
|
|||
|
|
background-color: #096ae4;
|
|||
|
|
border: 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_up.png) 0 32 0 64 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#upButton:disabled {
|
|||
|
|
background:transparent;
|
|||
|
|
border: 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/dark/icon/btn_up.png) 0 0 0 96 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
QPushButton#downButton {
|
|||
|
|
background-position:top;
|
|||
|
|
background-repeat:no-repeat;
|
|||
|
|
background-origin:content;
|
|||
|
|
|
|||
|
|
text-align:bottom;
|
|||
|
|
padding:0px;
|
|||
|
|
margin: 0px;
|
|||
|
|
border:1px solid #B2B9C3;
|
|||
|
|
border-radius:0px;
|
|||
|
|
|
|||
|
|
color: transparent;
|
|||
|
|
height: 32px;
|
|||
|
|
width: 32px;
|
|||
|
|
background:transparent;
|
|||
|
|
|
|||
|
|
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 96 0 0 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#downButton:hover {
|
|||
|
|
background-color: #d9e8fd;
|
|||
|
|
border: 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 64 0 32;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#downButton:pressed {
|
|||
|
|
background-color: #096ae4;
|
|||
|
|
border: 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 32 0 64 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
QPushButton#downButton:disabled {
|
|||
|
|
background:transparent;
|
|||
|
|
border: 0px;
|
|||
|
|
border-image: url(../../resource/zh/public/light/icon/btn_down.png) 0 0 0 96 ;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/* =============================================== */
|
|||
|
|
/* 自定义控件部分- 消息窗 */
|
|||
|
|
/* =============================================== */
|
|||
|
|
N_MessageBox
|
|||
|
|
{
|
|||
|
|
min-height:200px;
|
|||
|
|
min-width:300px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
AdaptImage[MSG_TYPE="ICON_DEFAULT"]
|
|||
|
|
{
|
|||
|
|
height:180px;
|
|||
|
|
width:180px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
AdaptImage[MSG_TYPE="ICON_WARNING"]
|
|||
|
|
{
|
|||
|
|
background: transparent; image:url(../../resource/zh/public/dark/icon/Warning.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
AdaptImage[MSG_TYPE="ICON_ERROR"]
|
|||
|
|
{
|
|||
|
|
background: transparent; image:url(../../resource/zh/public/dark/icon/Error.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
AdaptImage[MSG_TYPE="ICON_INFORMATION"]
|
|||
|
|
{
|
|||
|
|
background: transparent; image:url(../../resource/zh/public/dark/icon/Information.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
AdaptImage[MSG_TYPE="ICON_QUESTION"]
|
|||
|
|
{
|
|||
|
|
background: transparent; image:url(../../resource/zh/public/dark/icon/Question.png);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
AlertMessageBox
|
|||
|
|
{
|
|||
|
|
min-height:160px;
|
|||
|
|
min-width:300px;
|
|||
|
|
background:#6088ba;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
AlertMessageBox QLabel
|
|||
|
|
{
|
|||
|
|
color: #fdfdfd;
|
|||
|
|
font-weight: bold;
|
|||
|
|
}
|