299 lines
5.5 KiB
Plaintext
299 lines
5.5 KiB
Plaintext
|
|
QMainWindow{
|
||
|
|
background: #E6ECF2;
|
||
|
|
border-style: outset;
|
||
|
|
border-radius: 5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QToolBar#mainToolBar{
|
||
|
|
background: #e9edf1;
|
||
|
|
spacing: 3px; /* spacing between items in the tool bar */
|
||
|
|
}
|
||
|
|
|
||
|
|
QStatusBar {
|
||
|
|
background: #d7dbdf;
|
||
|
|
}
|
||
|
|
|
||
|
|
QMenuBar{
|
||
|
|
background-color: #FFFFFF;
|
||
|
|
}
|
||
|
|
|
||
|
|
QMenu {
|
||
|
|
background-color: white; /* 设置整个菜单区域的背景色*/
|
||
|
|
border: 1px solid #E6ECF2;/*整个菜单区域的边框粗细、样式、颜色*/
|
||
|
|
}
|
||
|
|
|
||
|
|
QMenu::item {
|
||
|
|
background-color: transparent;
|
||
|
|
padding:4px 20px;/*设置菜单项文字上下和左右的内边距,效果就是菜单中的条目左右上下有了间隔*/
|
||
|
|
}
|
||
|
|
|
||
|
|
QMenu::item:selected { /* when user selects item using mouse or keyboard */
|
||
|
|
background-color: #2dabf9;/*这一句是设置菜单项鼠标经过选中的样式*/
|
||
|
|
}
|
||
|
|
|
||
|
|
QSplitterHandle{
|
||
|
|
background-color:#E6ECF2;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTabBar::tab {/*切换按钮设置*/
|
||
|
|
background: #E6ECF2;
|
||
|
|
border: 1px solid #acb1b4;
|
||
|
|
padding: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTabBar::tab:hover {
|
||
|
|
color:#2080F7;/*选中高亮*/
|
||
|
|
}
|
||
|
|
|
||
|
|
QTabBar::tab:selected {
|
||
|
|
background: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTabWidget{
|
||
|
|
background: #eff3f5;
|
||
|
|
}
|
||
|
|
|
||
|
|
QHeaderView
|
||
|
|
{
|
||
|
|
background:#E6ECF2;
|
||
|
|
}
|
||
|
|
|
||
|
|
QHeaderView#tableHorizHeader::section
|
||
|
|
{
|
||
|
|
border:0px;
|
||
|
|
min-height:25px;
|
||
|
|
border-bottom:1px solid #DCDCDC;
|
||
|
|
border-right:1px solid #DCDCDC;
|
||
|
|
background:#B6C6D6;
|
||
|
|
}
|
||
|
|
|
||
|
|
QHeaderView#tableVertiHeader::section
|
||
|
|
{
|
||
|
|
background:white;
|
||
|
|
min-width:25px;
|
||
|
|
border:0px;
|
||
|
|
border-right:1px solid #DCDCDC;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTreeView{
|
||
|
|
alternate-background-color: #E6ECF2;
|
||
|
|
selection-background-color: #2dabf9;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTableView{
|
||
|
|
alternate-background-color: #E6ECF2;
|
||
|
|
selection-background-color: #2dabf9;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTableView QTableCornerButton::section{
|
||
|
|
border:0px;
|
||
|
|
background:white;
|
||
|
|
border-right:1px solid #DCDCDC;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTableView > QHeaderView::section
|
||
|
|
{
|
||
|
|
border:0px;
|
||
|
|
min-height:25px;
|
||
|
|
border-bottom:1px solid #DCDCDC;
|
||
|
|
border-right:1px solid #DCDCDC;
|
||
|
|
background:#B6C6D6;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTreeView > QHeaderView::section
|
||
|
|
{
|
||
|
|
background:#B6C6D6;
|
||
|
|
border:0px;
|
||
|
|
min-height:25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTreeView > QHeaderView::section:first
|
||
|
|
{
|
||
|
|
background:#B6C6D6;
|
||
|
|
border:0px;
|
||
|
|
border-right:1px solid white;
|
||
|
|
min-height:25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTreeView > QHeaderView::section:middle
|
||
|
|
{
|
||
|
|
background:#B6C6D6;
|
||
|
|
border:0px;
|
||
|
|
border-right:1px solid white;
|
||
|
|
min-height:25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QTreeView > QHeaderView::section:last
|
||
|
|
{
|
||
|
|
background:#B6C6D6;
|
||
|
|
border:0px;
|
||
|
|
border-left:1px solid white;
|
||
|
|
min-height:25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QDialog{
|
||
|
|
background-color:#E6ECF2;
|
||
|
|
}
|
||
|
|
|
||
|
|
QPushButton{
|
||
|
|
border: 1px solid #b1bac7;
|
||
|
|
border-radius: 4px;
|
||
|
|
background-color: #f5f8fa;
|
||
|
|
min-width:50px;
|
||
|
|
min-height:20px;
|
||
|
|
}
|
||
|
|
QPushButton:hover{
|
||
|
|
border-color:#2dabf9;
|
||
|
|
background-color: #e5f2fd;
|
||
|
|
}
|
||
|
|
QPushButton:pressed{
|
||
|
|
border:2px solid #2dabf9;
|
||
|
|
background-color: #f4f8fb;
|
||
|
|
}
|
||
|
|
|
||
|
|
QComboBox{
|
||
|
|
border:1px solid #b1bac7;
|
||
|
|
background:white;
|
||
|
|
min-width:60px;
|
||
|
|
font-family:Microsoft YaHei;
|
||
|
|
}
|
||
|
|
|
||
|
|
QComboBox::drop-down {
|
||
|
|
border-width: 0px;
|
||
|
|
width:20;
|
||
|
|
}
|
||
|
|
QComboBox::down-arrow {
|
||
|
|
background:white;
|
||
|
|
image:url(:/icons/icons/down.png);
|
||
|
|
border:0px solid;
|
||
|
|
}
|
||
|
|
|
||
|
|
QLineEdit{
|
||
|
|
border: 1px solid #b1bac7;
|
||
|
|
background-color: white;
|
||
|
|
max-height:25px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QStatusBar::item{
|
||
|
|
border: 0px;
|
||
|
|
background: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 垂直滚动条 */
|
||
|
|
QScrollBar:vertical {
|
||
|
|
border: 0px solid;
|
||
|
|
background: #E6ECF2;
|
||
|
|
width: 9px;
|
||
|
|
margin: 9px 0 9px 0;
|
||
|
|
}
|
||
|
|
QScrollBar::handle:vertical {
|
||
|
|
background: #ADBDCD;
|
||
|
|
min-height: 20px;
|
||
|
|
}
|
||
|
|
QScrollBar::handle:vertical:hover
|
||
|
|
{
|
||
|
|
background:#759EC8; /* 鼠标放到滚动条上的时候,颜色变深 */
|
||
|
|
}
|
||
|
|
QScrollBar::add-line:vertical {
|
||
|
|
border: 0px solid;
|
||
|
|
background: #E6ECF2;
|
||
|
|
border-image:url(:/icons/icons/arrowBottom.png);
|
||
|
|
height: 9px;
|
||
|
|
subcontrol-position: bottom;
|
||
|
|
subcontrol-origin: margin;
|
||
|
|
}
|
||
|
|
|
||
|
|
QScrollBar::sub-line:vertical {
|
||
|
|
border: 0px solid;
|
||
|
|
background: #E6ECF2;
|
||
|
|
border-image:url(:/icons/icons/arrowTop.png);
|
||
|
|
height: 9px;
|
||
|
|
subcontrol-position: top;
|
||
|
|
subcontrol-origin: margin;
|
||
|
|
}
|
||
|
|
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
|
||
|
|
border: 0px solid grey;
|
||
|
|
width: 0px;
|
||
|
|
height: 0px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
||
|
|
background: none;
|
||
|
|
}
|
||
|
|
/* 水平滚动条 */
|
||
|
|
QScrollBar:horizontal {
|
||
|
|
border: 0px solid grey;
|
||
|
|
background: #E6ECF2;
|
||
|
|
height: 9px;
|
||
|
|
margin: 0px 9px 0 9px;
|
||
|
|
}
|
||
|
|
QScrollBar::handle:horizontal {
|
||
|
|
background: #ADBDCD;
|
||
|
|
min-width: 20px;
|
||
|
|
}
|
||
|
|
QScrollBar::handle:horizontal:hover
|
||
|
|
{
|
||
|
|
background:#759EC8; /* 鼠标放到滚动条上的时候,颜色变深 */
|
||
|
|
}
|
||
|
|
|
||
|
|
QScrollBar::add-line:horizontal {
|
||
|
|
border: 0px solid;
|
||
|
|
background: #E6ECF2;
|
||
|
|
width: 9px;
|
||
|
|
border-image:url(:/icons/icons/arrowRight.png);
|
||
|
|
subcontrol-position: right;
|
||
|
|
subcontrol-origin: margin;
|
||
|
|
}
|
||
|
|
|
||
|
|
QScrollBar::sub-line:horizontal {
|
||
|
|
border: 0px solid;
|
||
|
|
background: #E6ECF2;
|
||
|
|
width: 9px;
|
||
|
|
border-image:url(:/icons/icons/arrowLeft.png);
|
||
|
|
subcontrol-position: left;
|
||
|
|
subcontrol-origin: margin;
|
||
|
|
}
|
||
|
|
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
|
||
|
|
border: 0px solid;
|
||
|
|
width: 0px;
|
||
|
|
height: 0px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
||
|
|
background: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
QPushButton#TablePropertyBtnHide{
|
||
|
|
border: 0px solid ;
|
||
|
|
background-color: #ADBDCD;
|
||
|
|
border-image:url(:/icons/icons/hideRight.png);
|
||
|
|
min-width:4px;
|
||
|
|
max-width:6px;
|
||
|
|
min-height:60px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QPushButton#TablePropertyBtnHide:checked{
|
||
|
|
border: 0px solid ;
|
||
|
|
background-color: #ADBDCD;
|
||
|
|
border-image:url(:/icons/icons/hideLeft.png);
|
||
|
|
min-width:4px;
|
||
|
|
max-width:6px;
|
||
|
|
min-height:60px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QPushButton#TablePropertyBtnHide:hover{
|
||
|
|
background-color: #759EC8;
|
||
|
|
}
|
||
|
|
|
||
|
|
QLineEdit#kbdSearchWidget{
|
||
|
|
border: 1px solid #b1bac7;
|
||
|
|
border-radius: 6px;
|
||
|
|
background-color: white;
|
||
|
|
max-height:20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
QListView::item{
|
||
|
|
min-height:23px;
|
||
|
|
}
|
||
|
|
|
||
|
|
|