QT样式美化 之 qss入门

样例一
*{font-size:13px;color:white;font-family:"宋体";
}CallWidget QLineEdit#telEdt
{font-size:24px;}QMainWindow,QDialog{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #1B2534, stop: 0.4 #010101,stop: 0.5 #000101, stop: 1.0 #1F2B3C);
}
QWidget{background:#121922;
}QLabel{background:transparent;
}QFrame{border-color:#32435E;border-width:1px;border-radius: 3px;
}DailForm QLineEdit#phoneLineEdt{font-size:36px;font-weight: bold;
}QPushButton,QToolButton{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #5B5F5F, stop: 0.5 #0C2436,stop: 1.0 #27405A);border-style: outset;border-width: 1px;border-radius: 5px;border-color: #11223F;padding: 1px;
}QPushButton::hover,QToolButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QPushButton::pressed,QToolButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}
QPushButton::disabled,QToolButton::disabled{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #282B2C, stop: 0.5 #09121A,stop: 1.0 #111D29);border-color: #0A1320;color:#6A6864;}QDialog QPushButton,QDialog QToolButton{min-width:30px;min-height:23px;
}QToolButton[objectName="minimizeToolBtn"] {background: transparent;border:none;image:url(qss/minimize.png)
}
QToolButton[objectName="minimizeToolBtn"]:hover,QToolButton[objectName="minimizeToolBtn"]:pressed {image:url(qss/minimize_hover.png)
}
QToolButton[objectName="maximizeToolBtn"] {background: transparent;border:none;image:url(qss/maximize.png)
}
QToolButton[objectName="maximizeToolBtn"]:hover,QToolButton[objectName="maximizeToolBtn"]:pressed {image:url(qss/maximize_hover.png)
}QToolButton[objectName="closeToolBtn"],QToolButton[objectName="customCloseWindow"] {background: transparent;border:none;image:url(qss/close.png)
}
QToolButton[objectName="closeToolBtn"]:hover,QToolButton[objectName="closeToolBtn"]:pressed{image:url(qss/close_hover.png)
}
QToolButton[objectName="customCloseWindow"]:hover,QToolButton[objectName="customCloseWindow"]:pressed{image:url(qss/close_hover.png)
}
QToolButton[objectName="titleSetUpToolBtn"]{background: transparent;border:none;image:url(qss/setup.png)
}DailForm QToolButton#oneToolBtn,QToolButton#OneToolBtn,QToolButton#twoToolBtn,QToolButton#threeToolBtn,QToolButton#fourToolBtn,QToolButton#fiveToolBtn,QToolButton#sixToolBtn,QToolButton#sevenToolBtn,QToolButton#eightToolBtn,QToolButton#nineToolBtn,QToolButton#starToolBtn,QToolButton#zeroToolBtn,QToolButton#sharpToolBtn {font-size:36px;border-radius: 10px;}
DailForm QToolButton#delToolBtn{border-radius: 10px;}QLineEdit,QTextEdit {border: 1px solid #32435E;border-radius: 3px;/* padding: 0 8px; */background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);selection-background-color: #0A246A;}
QLineEdit::hover{border-color:#5D8B9E;
}QLineEdit[echoMode="3"] {lineedit-password-character: 9679;
}#QLineEdit:read-only {background: #543F7C;
}QTabWidget::pane { /* The tab widget frame */border: 0px solid #32435E;position: absolute;left: -0.1em;}QTabWidget#MainTabWidget::tab-bar {left: -3px; /* move to the right by 5px */}QTabWidget#MainTabWidget QTabBar::tab {height: 14ex;width: 14ex;}QTabBar::tab {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #292F31, stop: 1 #0C131E);}
QTabBar::tab:selected{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #113845,  stop: 1.0 #15A8FF);}
QTabBar::tab:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #113845,  stop: 1.0 #0E6F80);}#QTabBar::tab:selected {border-color: #32435E;border-right-color: #32435E; /* same as pane color */}#QTabBar::tab:!selected {margin-left: 2px; /* make non-selected tabs look smaller */}
#QTabBar:tab:first:selected {margin-top: 0;
}
QTabBar:tab:last:selected {margin-right: 0;
}
QTabBar:tab:only-one {margin: 0;
}QListWidget{border: 1px solid #32435E;background:#050609;
}QListWidget::item:selected {/*border: 0px solid #33CCFF;*/border:none;background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #6A848C,  stop: 1.0 #0F9EAF);padding:0px;margin:0px;
}#QListWidget::item:selected:!active {border-width: 0px ;}
#QListWidget::item:selected:active {border-width: 1px;}QComboBox {border: 1px solid #32435E;border-radius: 3px;padding: 1px 18px 1px 3px;min-width: 6em;}
QComboBox::hover{border-color:#5D8B9E;
}QComboBox:editable {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);}QComboBox:!editable, QComboBox::drop-down:editable {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);}/* QComboBox gets the "on" state when the popup is open */QComboBox:!editable:on, QComboBox::drop-down:editable:on {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);;}QComboBox:on { /* shift the text when the popup opens */padding-top: 3px;padding-left: 4px;}QComboBox::drop-down {subcontrol-origin: padding;subcontrol-position: top right;width: 15px;border-left-width: 1px;border-left-color: 32435E;border-left-style: solid; /* just a single line */border-top-right-radius: 3px; /* same radius as the QComboBox */border-bottom-right-radius: 3px;}QComboBox::down-arrow {image: url(qss/downarrow.png);}QComboBox::down-arrow:on { /* shift the arrow when popup is open */top: 1px;left: 1px;}QComboBox QAbstractItemView {border: 2px solid #32435E;selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #506B79,stop: 1.0 #0D95A6);background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #1B2534, stop: 0.4 #010101,stop: 0.5 #000101, stop: 1.0 #1F2B3C);}QCheckBox {spacing: 5px;}QCheckBox::indicator {width: 13px;height: 13px;}QCheckBox::indicator:unchecked {image: url(qss/checkbox_unchecked.png);}QCheckBox::indicator:unchecked:hover {image: url(qss/checkbox_unchecked_hover.png);}QCheckBox::indicator:unchecked:pressed {image: url(qss/checkbox_unchecked_pressed.png);}QCheckBox::indicator:checked {image: url(qss/checkbox_checked.png);}QCheckBox::indicator:checked:hover {image: url(qss/checkbox_checked_hover.png);}QCheckBox::indicator:checked:pressed {image: url(qss/checkbox_checked_pressed.png);}QCheckBox::indicator:indeterminate:hover {image: url(qss/checkbox_indeterminate_hover.png);}QCheckBox::indicator:indeterminate:pressed {image: url(qss/checkbox_indeterminate_pressed.png);}QMenu {background-color: #030406;border-width:0px;margin: 2px;}QMenu::item {background-color: #1D2838;padding: 2px 25px 2px 20px;border-color:transparent;color:#858E94;}QMenu::item:!enabled {background-color:  #1D2838;padding: 2px 25px 2px 20px;border-color:transparent;color:#76746C;}QMenu::item:selected {border-width:1px;border-color: #516589;background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #1E293A,stop: 1.0 #2C547E);color:#E6FFFF;}QMenu::icon:checked { /* appearance of a 'checked' icon */background: gray;border: 1px inset gray;position: absolute;top: 1px;right: 1px;bottom: 1px;left: 1px;}QMenu::separator {height: 1px;background: #1D99A9;/*margin-left: 10px;*//*margin-right: 5px;*/}QMenu::indicator {width: 13px;height: 13px;}/* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */QMenu::indicator:non-exclusive:unchecked {image: url(qss/checkbox_unchecked.png);}QMenu::indicator:non-exclusive:unchecked:selected {image: url(qss/checkbox_unchecked_hover.png);}QMenu::indicator:non-exclusive:checked {image: url(qss/checkbox_checked.png);}QMenu::indicator:non-exclusive:checked:selected {image: url(qss/checkbox_checked_hover.png);}/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */QMenu::indicator:exclusive:unchecked {image: url(qss/radiobutton_unchecked.png);}QMenu::indicator:exclusive:unchecked:selected {image: url(qss/radiobutton_unchecked_hover.png);}QMenu::indicator:exclusive:checked {image: url(qss/radiobutton_checked.png);}QMenu::indicator:exclusive:checked:selected {image: url(qss/radiobutton_checked_hover.png);}QMenuBar {background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #121722, stop:1 #121722);}QMenuBar::item {spacing: 3px; /* spacing between menu bar items */padding: 1px 4px;background: #10151E;border-radius: 4px;font:#BBDDFF;}QMenuBar::item:selected { /* when selected using mouse or keyboard */background: #1A2432;font:#FFFFFF;}QMenuBar::item:pressed {background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #10151E, stop:1 #2C547E);font:#FFFFFF;}QMenuBar::item:hover{border-width:1px;border-color:#516589;background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #9979A, stop:1 #2D567F);font:#FFFFFF;}QListView{border: 1px solid #32435E;background:#050609;
}QRadioButton::indicator {width: 13px;height: 13px;}QRadioButton::indicator::unchecked {image: url(qss/radiobutton_unchecked.png);}QRadioButton::indicator:unchecked:hover {image: url(qss/radiobutton_unchecked_hover.png);}QRadioButton::indicator:unchecked:pressed {image: url(qss/radiobutton_unchecked_pressed.png);}QRadioButton::indicator::checked {image: url(qss/radiobutton_checked.png);}QRadioButton::indicator:checked:hover {image: url(qss/radiobutton_checked_hover.png);}QRadioButton::indicator:checked:pressed {image: url(qss/radiobutton_checked_pressed.png);}QGroupBox {border: 1px solid #2E3D57;border-radius: 5px;margin-top: 1ex; /* leave space at the top for the title */}QGroupBox::title {subcontrol-origin: margin;subcontrol-position: top left;padding: 0 3px;background-color: transparent;}QGroupBox::indicator {width: 13px;height: 13px;}QGroupBox::indicator:unchecked {image: url(qss/checkbox_unchecked.png);}
QGroupBox::indicator:checked {image: url(qss/checkbox_checked.png);
}QScrollBar:vertical {border: 1px solid #32435E;border-width: 0px 0px 0px 1px;background: #21252F;width: 12px;margin: 12px 0 12px 0;}QScrollBar::handle:vertical {background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #60788C, stop:1 #1084BD);min-height: 20px;}QScrollBar::add-line:vertical {border: 1px solid #32435E;border-width:0px 0px 0px 1px;background:#21252F;height: 12px;subcontrol-position: bottom;subcontrol-origin: margin;}QScrollBar::sub-line:vertical {border: 1px solid #32435E;border-width:0px 0px 0px 1px;background: #21252F;height: 12px;subcontrol-position: top;subcontrol-origin: margin;}QScrollBar::up-arrow:vertical {border: 1px solid transparent;background: #21252F;image: url(qss/up_arrow.png);width: 7px;height: 7px;}QScrollBar::up-arrow:vertical:hover,QScrollBar::up-arrow:vertical:pressed {image: url(qss/up_arrow_hover.png);}QScrollBar::down-arrow:vertical{border: 1px solid transparent;background: #21252F;image:url(qss/down_arrow.png);width: 7px;height: 7px;}
QScrollBar::down-arrow:vertical:hover,QScrollBar::down-arrow:vertical:pressed{image: url(qss/down_arrow_hover.png);
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {background: none;
}QScrollBar:horizontal {border: 1px solid #32435E;border-width: 1px 0px 0px 0px;background: #21252F;height: 12px;margin: 0 12px 0 12px;}QScrollBar::handle:horizontal {background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #60788C, stop:1 #1084BD);min-width: 20px;}QScrollBar::add-line:horizontal {border: 1px solid #32435E;border-width:1px 0px 0px 0px;background:#21252F;width: 12px;subcontrol-position: right;subcontrol-origin: margin;}QScrollBar::sub-line:horizontal {border: 1px solid #32435E;border-width:1px 0px 0px 0px;background: #21252F;width: 12px;subcontrol-position: left;subcontrol-origin: margin;}QScrollBar::left-arrow:horizontal {border: 1px solid transparent;background: #21252F;image: url(qss/left_arrow.png);width: 7px;height: 7px;}QScrollBar::left-arrow:horizontal:hover,QScrollBar::left-arrow:horizontal:pressed {image: url(qss/left_arrow_hover.png);}QScrollBar::right-arrow:horizontal{border: 1px solid transparent;background: #21252F;image:url(qss/right_arrow.png);width: 7px;height: 7px;}
QScrollBar::right-arrow:horizontal:hover,QScrollBar::right-arrow:horizontal:pressed{image: url(qss/right_arrow_hover.png);
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {background: none;
}QSpinBox,QDateTimeEdit {border: 1px solid #32435E;border-radius: 3px;padding-right: 5px; /* make room for the arrows *//* border-image: url(qss/frame.png) 4; */background:qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #080B10, stop:1 #212C3F);}QSpinBox::hover,QDateTimeEdit::hover{border-color:#5D8B9E;}QSpinBox::up-button, QDateTimeEdit::up-button {subcontrol-origin: border;subcontrol-position: top right; /* position at the top right corner */width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */border-image: url(qss/spinup.png) 1;border-width: 1px;}QSpinBox::up-button:hover,QDateTimeEdit::up-button:hover {border-image: url(qss/spinup_hover.png) 1;}QSpinBox::up-button:pressed,QDateTimeEdit::up-button:pressed {border-image: url(qss/spinup_pressed.png) 1;}QSpinBox::up-arrow,QDateTimeEdit::up-arrow {image: url(qss/up_arrow.png);width: 7px;height: 7px;}QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off,QDateTimeEdit::up-arrow:disabled,QDateTimeEdit::up-arrow:off { /* off state when value is max */image: url(qss/up_arrow_disabled.png);}QSpinBox::down-button,QDateTimeEdit::down-button {subcontrol-origin: border;subcontrol-position: bottom right; /* position at bottom right corner */width: 16px;border-image: url(qss/spindown.png) 1;border-width: 1px;border-top-width: 0;}QSpinBox::down-button:hover,QDateTimeEdit::down-button:hover {border-image: url(qss/spindown_hover.png) 1;}QSpinBox::down-button:pressed,QDateTimeEdit::down-button:pressed {border-image: url(qss/spindown_pressed.png) 1;}QSpinBox::down-arrow,QDateTimeEdit::down-arrow {image: url(qss/down_arrow.png);width: 7px;height: 7px;}QSpinBox::down-arrow:disabled,QDateTimeEdit::down-arrow:disabled,QSpinBox::down-arrow:off,QDateTimeEdit::down-arrow:off { /* off state when value in min */image: url(qss/down_arrow_disabled.png);}QToolTip {border: 1.5px solid #179BAB;padding: 3px;border-radius: 8px;opacity: 200; /*透明度*/background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #0C1016,stop: 1.0 #233043);}QStatusBar {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #07090E,stop: 1.0 #202C3D);}QStatusBar::item {border: 1px solid #3E58A5;border-radius: 3px;}#QStatusBar QLabel {border: 1px solid #6AF0FF;/*background: white; */
}QSizeGrip { /*在MainWindow右下角*/image: url(qss/sizegrip.png);width: 16px;height: 16px;}QHeaderView::section {background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #353B43, stop:1 #151A20);color: white;padding-left: 4px;border: 1px solid #447684;}/* style the sort indicator */QHeaderView::down-arrow {image: url(qss/down_arrow.png);}QHeaderView::up-arrow {image: url(qss/up_arrow.png);}QTableView {selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5,stop: 0 #516A78, stop: 1 #10A9BA);gridline-color:#447684;}QTreeWidget{background:#18202E;border-style: outset;border-width: 0px;border-color: #11223F;padding: 1px;
}QTreeWidget::branch:has-siblings:!adjoins-item {border-image: url(qss/vline.png) 0;}QTreeWidget::branch:has-siblings:adjoins-item {border-image: url(qss/branch-more.png) 0;}QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {border-image: url(qss/branch-end.png) 0;}QTreeWidget::branch:has-children:!has-siblings:closed,QTreeWidget::branch:closed:has-children:has-siblings {border-image: none;image: url(qss/branch-closed.png);}QTreeWidget::branch:open:has-children:!has-siblings,QTreeWidget::branch:open:has-children:has-siblings  {border-image: none;image: url(qss/branch-open.png);}QTreeWidget::item {border: 1px solid #d9d9d9;border-color: transparent;}QTreeWidget::item:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #598892, stop: 1 #189BAB);border: 1px solid #bfcde4;}QTreeWidget::item:selected {/*border: 0px solid #33CCFF;*/border:none;background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #6A848C,  stop: 1.0 #0F9EAF);padding:0px;margin:0px;
}QFrame#customTitleBar{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #454F53,  stop: 1.0 #135263);
}QWidget#TranslucentWidget *
{background-color: rgba( 255, 255, 255, 100 );
}QWidget#TranslucentWidget QFrame#frame
{border-radius: 5px;
}QWidget#TranslucentWidget QPushButton {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #5B5F5F, stop: 0.5 #0C2436,stop: 1.0 #27405A);background-color: rgba( 255, 255, 255, 100 );
}QWidget#TranslucentWidget QPushButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QWidget#TranslucentWidget QPushButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}QWidget#GroupChatingWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#000080;
}QWidget#GroupChatingWidget QLabel
{background: transparent;
}QWidget#GroupChatingWidget QFrame#mainFrame
{border-radius: 5px;
}QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}
QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #282B2C, stop: 0.5 #09121A,stop: 1.0 #111D29);border-color: #0A1320;color:#6A6864;}QWidget#UserListWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#000080;
}QWidget#GroupChatinSingleWidget *
{background-color: rgba( 93, 93, 93, 60 );color:#000080;
}
QWidget#GroupChatinSingleWidget QLabel
{background: transparent;
}
QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}
QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #282B2C, stop: 0.5 #09121A,stop: 1.0 #111D29);border-color: #0A1320;color:#6A6864;}QWidget#InfoAreaWidget *
{background-color: rgba( 93, 93, 93, 100 );color:#000080;font: 75 12pt "宋体";
}QWidget#InfoAreaWidget QLabel
{background: transparent;
}QWidget#GpsLeftBottomWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#000080;
}QWidget#GpsSysMenuWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#000080;
}QWidget#GpsRigthBottomWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#000080;
}QWidget#GpsRightTopWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#000080;
}QWidget#VideoImageWidget QFrame#topFrame,QWidget#VideoImageWidget QFrame#bottomFrame{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #454F53,  stop: 1.0 #135263);
}QWidget#NavItemMenuWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#000080;
}
QWidget#NavItemMenuWidget QLabel
{background: transparent;
}
样例二
*{font-size:13px;color:white;font-family:"宋体";
}CallWidget QLineEdit#telEdt
{font-size:24px;}QMainWindow,QDialog{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #1B2534, stop: 0.4 #010101,stop: 0.5 #000101, stop: 1.0 #1F2B3C);
}
QWidget{background:#121922;
}QLabel{background:transparent;
}QFrame{border-color:#32435E;border-width:1px;border-radius: 3px;
}DailForm QLineEdit#phoneLineEdt{font-size:36px;font-weight: bold;
}QPushButton,QToolButton{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #5B5F5F, stop: 0.5 #0C2436,stop: 1.0 #27405A);border-style: outset;border-width: 1px;border-radius: 5px;border-color: #11223F;padding: 1px;
}QPushButton::hover,QToolButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QPushButton::pressed,QToolButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}
QPushButton::disabled,QToolButton::disabled{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #282B2C, stop: 0.5 #09121A,stop: 1.0 #111D29);border-color: #0A1320;color:#6A6864;}QDialog QPushButton,QDialog QToolButton{min-width:30px;min-height:23px;
}QToolButton[objectName="minimizeToolBtn"] {background: transparent;border:none;image:url(qss/minimize.png)
}
QToolButton[objectName="minimizeToolBtn"]:hover,QToolButton[objectName="minimizeToolBtn"]:pressed {image:url(qss/minimize_hover.png)
}
QToolButton[objectName="maximizeToolBtn"] {background: transparent;border:none;image:url(qss/maximize.png)
}
QToolButton[objectName="maximizeToolBtn"]:hover,QToolButton[objectName="maximizeToolBtn"]:pressed {image:url(qss/maximize_hover.png)
}QToolButton[objectName="closeToolBtn"],QToolButton[objectName="customCloseWindow"] {background: transparent;border:none;image:url(qss/close.png)
}
QToolButton[objectName="closeToolBtn"]:hover,QToolButton[objectName="closeToolBtn"]:pressed{image:url(qss/close_hover.png)
}
QToolButton[objectName="customCloseWindow"]:hover,QToolButton[objectName="customCloseWindow"]:pressed{image:url(qss/close_hover.png)
}
QToolButton[objectName="titleSetUpToolBtn"]{background: transparent;border:none;image:url(qss/setup.png)
}DailForm QToolButton#oneToolBtn,QToolButton#OneToolBtn,QToolButton#twoToolBtn,QToolButton#threeToolBtn,QToolButton#fourToolBtn,QToolButton#fiveToolBtn,QToolButton#sixToolBtn,QToolButton#sevenToolBtn,QToolButton#eightToolBtn,QToolButton#nineToolBtn,QToolButton#starToolBtn,QToolButton#zeroToolBtn,QToolButton#sharpToolBtn {font-size:36px;border-radius: 10px;}
DailForm QToolButton#delToolBtn{border-radius: 10px;}QLineEdit,QTextEdit {border: 1px solid #32435E;border-radius: 3px;/* padding: 0 8px; */background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);selection-background-color: #0A246A;}
QLineEdit::hover{border-color:#5D8B9E;
}QLineEdit[echoMode="3"] {lineedit-password-character: 9679;
}#QLineEdit:read-only {background: #543F7C;
}QTabWidget::pane { /* The tab widget frame */border: 0px solid #32435E;position: absolute;left: -0.1em;}QTabWidget#MainTabWidget::tab-bar {left: -3px; /* move to the right by 5px */}QTabWidget#MainTabWidget QTabBar::tab {height: 14ex;width: 14ex;}QTabBar::tab {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #292F31, stop: 1 #0C131E);}
QTabBar::tab:selected{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #113845,  stop: 1.0 #15A8FF);}
QTabBar::tab:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #113845,  stop: 1.0 #0E6F80);}#QTabBar::tab:selected {border-color: #32435E;border-right-color: #32435E; /* same as pane color */}#QTabBar::tab:!selected {margin-left: 2px; /* make non-selected tabs look smaller */}
#QTabBar:tab:first:selected {margin-top: 0;
}
QTabBar:tab:last:selected {margin-right: 0;
}
QTabBar:tab:only-one {margin: 0;
}QListWidget{border: 1px solid #32435E;background:#050609;
}QListWidget::item:selected {/*border: 0px solid #33CCFF;*/border:none;background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #6A848C,  stop: 1.0 #0F9EAF);padding:0px;margin:0px;
}#QListWidget::item:selected:!active {border-width: 0px ;}
#QListWidget::item:selected:active {border-width: 1px;}QComboBox {border: 1px solid #32435E;border-radius: 3px;padding: 1px 18px 1px 3px;min-width: 6em;}
QComboBox::hover{border-color:#5D8B9E;
}QComboBox:editable {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);}QComboBox:!editable, QComboBox::drop-down:editable {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);}/* QComboBox gets the "on" state when the popup is open */QComboBox:!editable:on, QComboBox::drop-down:editable:on {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #080B10,stop: 1.0 #212C3F);;}QComboBox:on { /* shift the text when the popup opens */padding-top: 3px;padding-left: 4px;}QComboBox::drop-down {subcontrol-origin: padding;subcontrol-position: top right;width: 15px;border-left-width: 1px;border-left-color: 32435E;border-left-style: solid; /* just a single line */border-top-right-radius: 3px; /* same radius as the QComboBox */border-bottom-right-radius: 3px;}QComboBox::down-arrow {image: url(qss/downarrow.png);}QComboBox::down-arrow:on { /* shift the arrow when popup is open */top: 1px;left: 1px;}QComboBox QAbstractItemView {border: 2px solid #32435E;selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #506B79,stop: 1.0 #0D95A6);background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #1B2534, stop: 0.4 #010101,stop: 0.5 #000101, stop: 1.0 #1F2B3C);}QCheckBox {spacing: 5px;}QCheckBox::indicator {width: 13px;height: 13px;}QCheckBox::indicator:unchecked {image: url(qss/checkbox_unchecked.png);}QCheckBox::indicator:unchecked:hover {image: url(qss/checkbox_unchecked_hover.png);}QCheckBox::indicator:unchecked:pressed {image: url(qss/checkbox_unchecked_pressed.png);}QCheckBox::indicator:checked {image: url(qss/checkbox_checked.png);}QCheckBox::indicator:checked:hover {image: url(qss/checkbox_checked_hover.png);}QCheckBox::indicator:checked:pressed {image: url(qss/checkbox_checked_pressed.png);}QCheckBox::indicator:indeterminate:hover {image: url(qss/checkbox_indeterminate_hover.png);}QCheckBox::indicator:indeterminate:pressed {image: url(qss/checkbox_indeterminate_pressed.png);}QMenu {background-color: #030406;border-width:0px;margin: 2px;}QMenu::item {background-color: #1D2838;padding: 2px 25px 2px 20px;border-color:transparent;color:#858E94;}QMenu::item:!enabled {background-color:  #1D2838;padding: 2px 25px 2px 20px;border-color:transparent;color:#76746C;}QMenu::item:selected {border-width:1px;border-color: #516589;background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #1E293A,stop: 1.0 #2C547E);color:#E6FFFF;}QMenu::icon:checked { /* appearance of a 'checked' icon */background: gray;border: 1px inset gray;position: absolute;top: 1px;right: 1px;bottom: 1px;left: 1px;}QMenu::separator {height: 1px;background: #1D99A9;/*margin-left: 10px;*//*margin-right: 5px;*/}QMenu::indicator {width: 13px;height: 13px;}/* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */QMenu::indicator:non-exclusive:unchecked {image: url(qss/checkbox_unchecked.png);}QMenu::indicator:non-exclusive:unchecked:selected {image: url(qss/checkbox_unchecked_hover.png);}QMenu::indicator:non-exclusive:checked {image: url(qss/checkbox_checked.png);}QMenu::indicator:non-exclusive:checked:selected {image: url(qss/checkbox_checked_hover.png);}/* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */QMenu::indicator:exclusive:unchecked {image: url(qss/radiobutton_unchecked.png);}QMenu::indicator:exclusive:unchecked:selected {image: url(qss/radiobutton_unchecked_hover.png);}QMenu::indicator:exclusive:checked {image: url(qss/radiobutton_checked.png);}QMenu::indicator:exclusive:checked:selected {image: url(qss/radiobutton_checked_hover.png);}QMenuBar {background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #121722, stop:1 #121722);}QMenuBar::item {spacing: 3px; /* spacing between menu bar items */padding: 1px 4px;background: #10151E;border-radius: 4px;font:#BBDDFF;}QMenuBar::item:selected { /* when selected using mouse or keyboard */background: #1A2432;font:#FFFFFF;}QMenuBar::item:pressed {background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #10151E, stop:1 #2C547E);font:#FFFFFF;}QMenuBar::item:hover{border-width:1px;border-color:#516589;background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #9979A, stop:1 #2D567F);font:#FFFFFF;}QListView{border: 1px solid #32435E;background:#050609;
}QRadioButton::indicator {width: 13px;height: 13px;}QRadioButton::indicator::unchecked {image: url(qss/radiobutton_unchecked.png);}QRadioButton::indicator:unchecked:hover {image: url(qss/radiobutton_unchecked_hover.png);}QRadioButton::indicator:unchecked:pressed {image: url(qss/radiobutton_unchecked_pressed.png);}QRadioButton::indicator::checked {image: url(qss/radiobutton_checked.png);}QRadioButton::indicator:checked:hover {image: url(qss/radiobutton_checked_hover.png);}QRadioButton::indicator:checked:pressed {image: url(qss/radiobutton_checked_pressed.png);}QGroupBox {border: 1px solid #2E3D57;border-radius: 5px;margin-top: 1ex; /* leave space at the top for the title */}QGroupBox::title {subcontrol-origin: margin;subcontrol-position: top left;padding: 0 3px;background-color: transparent;}QGroupBox::indicator {width: 13px;height: 13px;}QGroupBox::indicator:unchecked {image: url(qss/checkbox_unchecked.png);}
QGroupBox::indicator:checked {image: url(qss/checkbox_checked.png);
}QScrollBar:vertical {border: 1px solid #32435E;border-width: 0px 0px 0px 1px;background: #21252F;width: 12px;margin: 12px 0 12px 0;}QScrollBar::handle:vertical {background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #60788C, stop:1 #1084BD);min-height: 20px;}QScrollBar::add-line:vertical {border: 1px solid #32435E;border-width:0px 0px 0px 1px;background:#21252F;height: 12px;subcontrol-position: bottom;subcontrol-origin: margin;}QScrollBar::sub-line:vertical {border: 1px solid #32435E;border-width:0px 0px 0px 1px;background: #21252F;height: 12px;subcontrol-position: top;subcontrol-origin: margin;}QScrollBar::up-arrow:vertical {border: 1px solid transparent;background: #21252F;image: url(qss/up_arrow.png);width: 7px;height: 7px;}QScrollBar::up-arrow:vertical:hover,QScrollBar::up-arrow:vertical:pressed {image: url(qss/up_arrow_hover.png);}QScrollBar::down-arrow:vertical{border: 1px solid transparent;background: #21252F;image:url(qss/down_arrow.png);width: 7px;height: 7px;}
QScrollBar::down-arrow:vertical:hover,QScrollBar::down-arrow:vertical:pressed{image: url(qss/down_arrow_hover.png);
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {background: none;
}QScrollBar:horizontal {border: 1px solid #32435E;border-width: 1px 0px 0px 0px;background: #21252F;height: 12px;margin: 0 12px 0 12px;}QScrollBar::handle:horizontal {background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #60788C, stop:1 #1084BD);min-width: 20px;}QScrollBar::add-line:horizontal {border: 1px solid #32435E;border-width:1px 0px 0px 0px;background:#21252F;width: 12px;subcontrol-position: right;subcontrol-origin: margin;}QScrollBar::sub-line:horizontal {border: 1px solid #32435E;border-width:1px 0px 0px 0px;background: #21252F;width: 12px;subcontrol-position: left;subcontrol-origin: margin;}QScrollBar::left-arrow:horizontal {border: 1px solid transparent;background: #21252F;image: url(qss/left_arrow.png);width: 7px;height: 7px;}QScrollBar::left-arrow:horizontal:hover,QScrollBar::left-arrow:horizontal:pressed {image: url(qss/left_arrow_hover.png);}QScrollBar::right-arrow:horizontal{border: 1px solid transparent;background: #21252F;image:url(qss/right_arrow.png);width: 7px;height: 7px;}
QScrollBar::right-arrow:horizontal:hover,QScrollBar::right-arrow:horizontal:pressed{image: url(qss/right_arrow_hover.png);
}
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {background: none;
}QSpinBox,QDateTimeEdit {border: 1px solid #32435E;border-radius: 3px;padding-right: 5px; /* make room for the arrows *//* border-image: url(qss/frame.png) 4; */background:qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #080B10, stop:1 #212C3F);}QSpinBox::hover,QDateTimeEdit::hover{border-color:#5D8B9E;}QSpinBox::up-button, QDateTimeEdit::up-button {subcontrol-origin: border;subcontrol-position: top right; /* position at the top right corner */width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */border-image: url(qss/spinup.png) 1;border-width: 1px;}QSpinBox::up-button:hover,QDateTimeEdit::up-button:hover {border-image: url(qss/spinup_hover.png) 1;}QSpinBox::up-button:pressed,QDateTimeEdit::up-button:pressed {border-image: url(qss/spinup_pressed.png) 1;}QSpinBox::up-arrow,QDateTimeEdit::up-arrow {image: url(qss/up_arrow.png);width: 7px;height: 7px;}QSpinBox::up-arrow:disabled, QSpinBox::up-arrow:off,QDateTimeEdit::up-arrow:disabled,QDateTimeEdit::up-arrow:off { /* off state when value is max */image: url(qss/up_arrow_disabled.png);}QSpinBox::down-button,QDateTimeEdit::down-button {subcontrol-origin: border;subcontrol-position: bottom right; /* position at bottom right corner */width: 16px;border-image: url(qss/spindown.png) 1;border-width: 1px;border-top-width: 0;}QSpinBox::down-button:hover,QDateTimeEdit::down-button:hover {border-image: url(qss/spindown_hover.png) 1;}QSpinBox::down-button:pressed,QDateTimeEdit::down-button:pressed {border-image: url(qss/spindown_pressed.png) 1;}QSpinBox::down-arrow,QDateTimeEdit::down-arrow {image: url(qss/down_arrow.png);width: 7px;height: 7px;}QSpinBox::down-arrow:disabled,QDateTimeEdit::down-arrow:disabled,QSpinBox::down-arrow:off,QDateTimeEdit::down-arrow:off { /* off state when value in min */image: url(qss/down_arrow_disabled.png);}QToolTip {border: 1.5px solid #179BAB;padding: 3px;border-radius: 8px;opacity: 200; /*透明度*/background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #0C1016,stop: 1.0 #233043);}QStatusBar {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #07090E,stop: 1.0 #202C3D);}QStatusBar::item {border: 1px solid #3E58A5;border-radius: 3px;}#QStatusBar QLabel {border: 1px solid #6AF0FF;/*background: white; */
}QSizeGrip { /*在MainWindow右下角*/image: url(qss/sizegrip.png);width: 16px;height: 16px;}QHeaderView::section {background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 #353B43, stop:1 #151A20);color: white;padding-left: 4px;border: 1px solid #447684;}/* style the sort indicator */QHeaderView::down-arrow {image: url(qss/down_arrow.png);}QHeaderView::up-arrow {image: url(qss/up_arrow.png);}QTableView {selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0.5,stop: 0 #516A78, stop: 1 #10A9BA);gridline-color:#447684;}QTreeWidget{background:#18202E;border-style: outset;border-width: 0px;border-color: #11223F;padding: 1px;
}QTreeWidget::branch:has-siblings:!adjoins-item {border-image: url(qss/vline.png) 0;}QTreeWidget::branch:has-siblings:adjoins-item {border-image: url(qss/branch-more.png) 0;}QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {border-image: url(qss/branch-end.png) 0;}QTreeWidget::branch:has-children:!has-siblings:closed,QTreeWidget::branch:closed:has-children:has-siblings {border-image: none;image: url(qss/branch-closed.png);}QTreeWidget::branch:open:has-children:!has-siblings,QTreeWidget::branch:open:has-children:has-siblings  {border-image: none;image: url(qss/branch-open.png);}QTreeWidget::item {border: 1px solid #d9d9d9;border-color: transparent;}QTreeWidget::item:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #598892, stop: 1 #189BAB);border: 1px solid #bfcde4;}QTreeWidget::item:selected {/*border: 0px solid #33CCFF;*/border:none;background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #6A848C,  stop: 1.0 #0F9EAF);padding:0px;margin:0px;
}QFrame#customTitleBar{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #454F53,  stop: 1.0 #135263);
}QWidget#TranslucentWidget *
{background-color: rgba( 255, 255, 255, 100 );
}QWidget#TranslucentWidget QFrame#frame
{border-radius: 5px;
}QWidget#TranslucentWidget QPushButton {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #5B5F5F, stop: 0.5 #0C2436,stop: 1.0 #27405A);background-color: rgba( 255, 255, 255, 100 );
}QWidget#TranslucentWidget QPushButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QWidget#TranslucentWidget QPushButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}QWidget#GroupChatingWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#FFFFFF;
}QWidget#GroupChatingWidget QLabel
{background: transparent;
}QWidget#GroupChatingWidget QFrame#mainFrame
{border-radius: 5px;
}QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}
QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #282B2C, stop: 0.5 #09121A,stop: 1.0 #111D29);border-color: #0A1320;color:#6A6864;}QWidget#UserListWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#FFFFFF;
}QWidget#GroupChatinSingleWidget *
{background-color: rgba( 93, 93, 93, 60 );color:#FFFFFF;
}
QWidget#GroupChatinSingleWidget QLabel
{background: transparent;
}
QWidget#GroupChatingWidget QPushButton::hover,QWidget#GroupChatingWidget QToolButton::hover{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #758385, stop: 0.5 #122C39,stop: 1.0 #0E7788);border-color: #11505C;
}QWidget#GroupChatingWidget QPushButton::pressed,QWidget#GroupChatingWidget QToolButton::pressed{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #969B9C, stop: 0.5 #16354B,stop: 1.0 #244F76);border-color: #11505C;
}
QWidget#GroupChatingWidget QPushButton::disabled,QWidget#GroupChatingWidget QToolButton::disabled{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #282B2C, stop: 0.5 #09121A,stop: 1.0 #111D29);border-color: #0A1320;color:#6A6864;}QWidget#InfoAreaWidget *
{background-color: rgba( 93, 93, 93, 100 );color:#FFFFFF;font: 75 12pt "宋体";
}QWidget#InfoAreaWidget QLabel
{background: transparent;
}QWidget#GpsLeftBottomWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#FFFFFF;
}QWidget#GpsSysMenuWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#FFFFFF;
}QWidget#GpsRigthBottomWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#FFFFFF;
}QWidget#GpsRightTopWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#FFFFFF;
}QWidget#VideoImageWidget QFrame#topFrame,QWidget#VideoImageWidget QFrame#bottomFrame{background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #454F53,  stop: 1.0 #135263);
}QWidget#NavItemMenuWidget *
{background-color: rgba( 93, 93, 93, 30 );color:#FFFFFF;
}
QWidget#NavItemMenuWidget QLabel
{background: transparent;
}
 字体样式
* {font-family: 宋体;font-size: 12px;}QPushButton {background-color: yellowgreen;border-width: 2px;border-color: seagreen;border-style: solid;border-radius: 5;padding: 3px;min-width: 9ex;min-height: 2.5ex;
}QPushButton:hover {background-color: springgreen;
}QPushButton:pressed {padding-left: 5px;padding-top: 5px;background-color: palegreen;
}QLabel {font:bold;font-family: 宋体;font-size: 12px;}DailForm>QToolButton#OneToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#twoToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#threeToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#fourToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#fiveToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#sixToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#sevenToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#eightToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#nineToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#zeroToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#starToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#sharpToolBtn {font: bold;font-family: 宋体;font-size: 40px;
}
DailForm>QToolButton#delToolBtn {font: bold;font-family: 宋体;font-size: 30px;
}QComboBox, QSpinBox {background-color: plum;					/*  暗紫色 */selection-color: mediumvioletred;selection-background-color: lightcoral;
}QRadioButton:checked {color:deepskyblue;
}QRadioButton:hover {color:white;background-color: limegreen;
}QGroupBox {border-style:dashed;
}QTabBar::tab {height: 14ex;width: 14ex;
}
 表格样式

QTableWidget#CloudBackupUploadBottomTabWidget{background: #FFFFFF;	
}
QHeaderView#CloudBackupUploadBottomTabWidget                   
{background:transparent;   border: 1px solid #619AFF;	
}
QHeaderView#CloudBackupUploadBottomTabWidget::section           
{font-size: 14px;                font-family: "PingFangSC-Regular"; color: #667289;background: transparent;           border: none;                  min-height: 40px;              max-height: 40px;              margin-left: 0px;               padding-left: 0px;   border-bottom: 1px solid rgb(255,0,0);       
}
QSplitter#CloudBackupUploadBottomTabWidget{background: transparent;  	
}CloudBackupUploadBottomTabWidget::section::first
//难点在去除tab头的分割线
演示效果 

 参考

 GitHub - 15th/qmlStyle: qt qml样式

 https://www.cnblogs.com/findumars/category/624955.html

Qss样式集合(持续更新)_qss通用样式下载-CSDN博客 

GitHub - ColinDuquesnoy/QDarkStyleSheet: A dark style sheet for QtWidgets application

 Qt QTableWidget 样式表_qtablewidget样式-CSDN博客

Qt之QTreeView的样式 · 语雀 


创作不易,小小的支持一下吧!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/48745.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

英福康INFICON Transpector CIS2介绍PPT

英福康INFICON Transpector CIS2介绍PPT

opencv,连续拍摄多张图像求平均值减少噪点

对于照度低或者相机质量差造成的密集的随机小噪点,可以通过拍摄多张图像求平均值的方法来减少噪点,获得较为清晰的画面。 import cv2 import numpy as npclass FilterCamera:def __init__(self, cap, in_frame, num):self.cap cap # 定义的相机self.n…

使用dock构建基于lnmp的WrodPress

项目要求: 1.创建nginx容器环境 上传nginx.conf文件、上传阿里云镜像、上传html目录 2.准备mysql cd /opt mkdir mysql 上传my.conf文件、上传阿里云镜像、写好的Dockfile文件 3.准备php cd /opt mkdir php 上传所需文件: 构建各镜像: …

【深度学习】起源:人脑的神经结构

文章目录 睁眼看世界,倾耳听人间脑子,是个好东西!眼睛成像其它身体感触系统脑子:我很忙的!脑细胞:脑子里的打工人生物神经元——结构生物神经元——人脑的运算单位 人脑的深度学习总结 睁眼看世界&#xff…

RHCE(免密登录+web服务器)之小试牛刀

1、配置linux客户端免密登录服务端linux主机的root用户 2、配置web服务器,当访问网站www.haha.com时显示:haha 3、配置web服务器,当访问网站www.xixi.com/secret/显示:this is secret 本实验使用RHEL9.3和Rocky linux8操作系统 RH…

【Linux 15】进程间通信的方式 - 管道

文章目录 🌈 一、管道介绍🌈 二、匿名管道⭐ 1. 匿名管道的概念⭐ 2. 匿名管道的创建⭐ 3. 匿名管道的本质⭐ 4. 匿名管道的使用⭐ 5. 匿名管道的特点⭐ 6. 匿名管道的大小 🌈 三、命名管道⭐ 1. 命名管道的概念⭐ 2. 命名管道的创建⭐ 3. 命…

通讯录管理系统(C语言)

需求及功能分析 本系统主要划分为8个子系统&#xff0c;如下图所示。 增加联系人模块删除联系人模块查找联系人模块插入联系人模块保存联系人模块加载联系人模块显示联系人模块退出模块 具体代码 #include <stdio.h> #include <string.h> #include <stdlib…

前端八股文 $set

为什么会有$set vue2中对数组中新增的属性是监听不到的 如图 vue 插件中有但是 视图中没有刷新 解决方法 解决就是 $set() 就是在数组中新增属性的时候可以重新渲染视图 具体的写法 写法 就是 第一个 是在那个对象上新增 第二个参数 是新增的属性 第三个参数是 新增的属性…

R语言画散点图-饼图-折线图-柱状图-箱线图-等高线图-曲线图-热力图-雷达图-韦恩图(三D)

R语言画散点图-饼图-折线图-柱状图-箱线图-等高线图-曲线图-热力图-雷达图-韦恩图&#xff08;三D&#xff09; 散点图使用 plotly 包示例解析效果 使用 scatterplot3d 包示例解析效果 饼图使用 plotly 包示例解析效果 使用 plotrix 包示例解析效果 折线图使用 plotly 包示例解…

在STM32嵌入式中C/C++语言对栈空间的使用

像STM32这样的微控制器在进入main函数之前需要对栈进行初始化。可以说栈是C语言运行时的必要条件。我们知道栈实际上是一块内存空间&#xff0c;那么这块空间都用来存储什么呢&#xff1f;有什么办法能够优化栈空间的使用&#xff1f; 栈空间保存的内容 栈是一个先入后出的数据…

mac无法清空废纸篓怎么办 mac废纸篓清空了如何找回 cleanmymac误删文件怎么恢复

废纸篓相当于“一颗后悔药”&#xff0c;用于临时存储用户删除的文件。我们从从Mac上删除的文件&#xff0c;一般会进入废纸篓中。如果我们后悔了&#xff0c;可以从废纸篓中找回来。然而&#xff0c;有时我们会发现mac无法清空废纸篓&#xff0c;这是怎么回事?本文将探讨一些…

【数据结构初阶】顺序表

hi&#xff0c;我们又见面啦&#xff01;happy~~~ 目录 前言&#xff1a; 一、线性表 二、顺序表 1、概念 2、与数组的区别 3、分类 4、动态顺序表的实现 SeqList.h 见下 SeqList.c 见下 test.c 见下 【注意】 ————————————— 致回不去的童年 ———…

前端调试技巧:动态高亮渲染区域

效果&#xff1a; 前端界面的渲染过程、次数&#xff0c;会通过高亮变化来显示&#xff0c;通过这种效果排除一些BUG 高亮 打开方式 F12进入后点击ESC&#xff0c;进入rendering&#xff0c;选择前三个即可&#xff08;如果没有rendering&#xff0c;点击橘色部分勾选上&…

swiftui使用ScrollView实现左右滑动和上下滑动的效果,仿小红书页面

实现的效果如果所示&#xff0c;顶部的关注用户列表可以左右滑动&#xff0c;中间的内容区域是可以上下滚动的效果&#xff0c;点击顶部的toolbar也可以切换关注/发现/附近不同页面&#xff0c;实现翻页效果。 首页布局 这里使用了NavigationStack组件和tabViewStyle样式配置…

zerotier安装后设备在线,两个设备无法ping通

来源 组 NAS&#xff0c; 软路由&#xff0c;内网穿透&#xff0c;远程访问&#xff0c;安装了 zerotier&#xff0c;无法ping通 方法 修改windows防火墙&#xff0c;Configure the Windows firewall to allow pings。 Search for and open Windows Firewall.Select Advance…

Node.js快速入门

Node.js 1、Node.js介绍与安装 官网&#xff1a;https://nodejs.cn/ 介绍&#xff1a;简单的说 Node.js 就是运行在服务端的 JavaScript。 Node.js 是一个基于 Chrome JavaScript 运行时建立的一个平台。 Node.js 是一个事件驱动 I/O 服务端 JavaScript 环境&#xff0c;基…

Python | Leetcode Python题解之第274题H指数

题目&#xff1a; 题解&#xff1a; class Solution:def hIndex(self, citations: List[int]) -> int:left,right 0,len(citations)while left<right:# 1 防止死循环mid (leftright1)>>1cnt 0for v in citations:if v>mid:cnt1if cnt>mid:# 要找的答案在…

哈希 -- 简单实现

在STL库中&#xff0c;有map和set两个关联式容器&#xff0c;这两个容器的底层都是以红黑树为底层。但是在后续的发展过程中&#xff0c;我们发现有些场景的数据不适合用红黑树进行存储&#xff0c;所以有人就发明了底层为哈希表的map和set,称为unordered_map 和 unordered_set…

C语言中的控制语句(一):if语句

文章目录 &#x1f34a;自我介绍&#x1f34a;if 的单分支语句&#x1f34a;a.if 单分支判断&#x1f34a;b.if单分支选择判断 &#x1f34a;if多分支语句&#x1f34a;if多分支选择判断 你的点赞评论就是对博主最大的鼓励 当然喜欢的小伙伴可以&#xff1a;点赞关注评论收藏&a…

MMCV 核心组件分析(一):整体概述

概述 MMCV 是计算机视觉研究的基础库&#xff0c;并提供以下功能。