QTabWidget {
background-color:#0f2033;
border-top: 2px solid #C2C7CB;
}
QTabWidget::pane { /* The tab widget frame */
border-top: 0px solid #C2C7CB;
}
/* Style the tab using the tab sub-control. Note that
it reads QTabBar _not_ QTabWidget */
QTabBar::tab {
background-color:#0f2033;
border: 1px solid #4973b4;
min-width: 100px;
min-height:22px;
padding: 0px 2px;
color: rgb(255, 255, 255);
margin-left: 1px;
font: 75 12pt "微软雅黑";
}
QTabBar::tab:selected, QTabBar::tab:hover {
background-color: rgb(42,87,147);
margin-top: 0px;
}
QTabBar::tab:selected {
background-image: url(:/Images/Tab_Hover.png);
}
QTabBar::tab:!selected {
margin-top: 0px; /* make non-selected tabs look smaller */
}