QPalette{background:#f2f4f7;}*{outline:0px;color:#f2f4f7;} QGraphicsView{ border:1px solid #f2f4f7; qproperty-backgroundBrush:#f2f4f7; } QWidget[form="true"],QLabel[frameShape="1"]{ border:1px solid #242424; border-radius:0px; } QWidget[form="bottom"]{ background:#484848; } QWidget[form="bottom"] .QFrame{ border:1px solid #f2f4f7; } QWidget[form="bottom"] QLabel,QWidget[form="title"] QLabel{ border-radius:0px; color:#f2f4f7; background:none; border-style:none; } QWidget[form="title"]{ /*border-image:url(:/image/title.png)*/ background-color:#f2f4f7;background-image:url(:/image/title.png);background-position:left;background-repeat:no-repeat; } QWidget[nav="left"]{ /*border-image:url(:/image/left.png)*/ background-color:#f2f4f7;background-image:url(:/image/left.png);background-position:center;background-repeat:no-repeat; } /*QWidget[form="title"],QWidget[nav="left"],QWidget[nav="top"] QAbstractButton{ border-style:none; border-radius:0px; padding:5px; color:#DCDCDC; font: 16pt ; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #071f39,stop:1 #071f39); }*/ /*QWidget[nav="top"] QAbstractButton:hover,QWidget[nav="top"] QAbstractButton:pressed,QWidget[nav="top"] QAbstractButton:checked{ border-style:solid; border-width:0px 0px 2px 0px; padding:4px 4px 2px 4px; border-color:#AAAAAA; font: 16pt ; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); }*/ /*QWidget[nav="left"] QAbstractButton{ border-radius:0px; color:#DCDCDC; background:none; border-style:none; font: 14pt ; }*/ QWidget[nav="bottom"]{ border-style:none; border-radius:0px; padding:5px; color:#f2f4f7; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #ffffff,stop:1 #ffffff); } /*QWidget[nav="left"] QAbstractButton:checked,QWidget[nav="left"] QAbstractButton:pressed{ color:#DCDCDC; border-style:solid; border-width:0px 0px 0px 2px; padding:4px 4px 4px 2px; border-color:#AAAAAA; background-color:#636363; font: 14pt ; } QWidget[nav="left"] QAbstractButton:hover{ color:#ffffff; background-color:#AAAAAA; font: 16pt ; }*/ QWidget[video="true"] QLabel{ color:#DCDCDC; border:1px solid #242424; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); } QWidget[video="true"] QLabel:focus{ border:1px solid #AAAAAA; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); } QLineEdit:read-only{ background-color:#f2f4f7; } QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ border:1px solid #242424; border-radius:3px; padding:2px; background:none; selection-background-color:#AAAAAA; selection-color:#ffffff; } QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QSpinBox:focus,QDoubleSpinBox:focus,QComboBox:focus,QDateEdit:focus,QTimeEdit:focus,QDateTimeEdit:focus,QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QSpinBox:hover,QDoubleSpinBox:hover,QComboBox:hover,QDateEdit:hover,QTimeEdit:hover,QDateTimeEdit:hover{ border:1px solid #242424; } QLineEdit[echoMode="2"]{ lineedit-password-character:9679; } .QFrame{ border:1px solid #242424; border-radius:3px; } .QGroupBox{ border:1px solid #242424; border-radius:5px; margin-top:9px; } .QGroupBox::title{ subcontrol-origin:margin; position:relative; left:10px; } /*.QPushButton,.QToolButton{ border-style:none; border:1px solid #242424; color:#DCDCDC; padding:5px; min-height:15px; border-radius:5px; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); } .QPushButton:hover,.QToolButton:hover{ background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); } .QPushButton:pressed,.QToolButton:pressed{ background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); } .QToolButton::menu-indicator{ image:None; }*/ QToolButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{ border-radius:3px; color:#DCDCDC; padding:3px; margin:0px; background:none; border-style:none; } QToolButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{ color:#ffffff; margin:1px 1px 2px 1px; background-color:rgba(51,127,209,230); } QPushButton#btnMenu_Close:hover{ color:#ffffff; margin:1px 1px 2px 1px; background-color:rgba(238,0,0,128); } QRadioButton::indicator{ width:15px; height:15px; border-radius:8px; border-style: solid; border-width: 1px; border-color: black; } QRadioButton::indicator::unchecked{ background-color:rgb(255, 255, 255); image:url(:/qss/blacksoft/radiobutton_unchecked.png); } QRadioButton::indicator::unchecked:disabled{ image:url(:/qss/blacksoft/radiobutton_unchecked_disable.png); } QRadioButton::indicator::checked{ background-color:orange; image:url(:/qss/blacksoft/radiobutton_checked.png); } QRadioButton::indicator::checked:disabled{ image:url(:/qss/blacksoft/radiobutton_checked_disable.png); } QHeaderView::section:first { color:white; } QHeaderView::section:middle { color:white; } QHeaderView::section:last { color:white; } QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ padding:0px 0px 0px 0px; } QCheckBox::indicator,QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ width:20px; height:20px; border-width: 1px; } QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{ image:url(:/qss/blacksoft/checkbox_unchecked.png); } QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{ image:url(:/qss/blacksoft/checkbox_unchecked_disable.png); } QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{ image:url(:/qss/blacksoft/checkbox_checked.png); } QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{ background-color:#409CE1; image:url(:/qss/blacksoft/checkbox_checked_disable.png); } QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{ image:url(:/qss/blacksoft/checkbox_parcial.png); } QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{ image:url(:/qss/blacksoft/checkbox_parcial_disable.png); } QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{ image:url(:/qss/blacksoft/add_top.png); width:10px; height:10px; padding:2px 5px 0px 0px; } QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{ image:url(:/qss/blacksoft/add_bottom.png); width:10px; height:10px; padding:0px 5px 2px 0px; } QTimeEdit::up-button:pressed,QDateEdit::up-button:pressed,QDateTimeEdit::up-button:pressed,QDoubleSpinBox::up-button:pressed,QSpinBox::up-button:pressed{ top:-2px; } QTimeEdit::down-button:pressed,QDateEdit::down-button:pressed,QDateTimeEdit::down-button:pressed,QDoubleSpinBox::down-button:pressed,QSpinBox::down-button:pressed,QSpinBox::down-button:pressed{ bottom:-2px; } QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{ image:url(:/qss/blacksoft/add_bottom.png); width:10px; height:10px; right:2px; } QComboBox::drop-down,QDateEdit::drop-down,QTimeEdit::drop-down,QDateTimeEdit::drop-down{ subcontrol-origin:padding; subcontrol-position:top right; width:15px; border-left-width:0px; border-left-style:solid; border-top-right-radius:3px; border-bottom-right-radius:3px; border-left-color:#242424; } QComboBox::drop-down:on{ top:1px; } QComboBox QAbstractItemView::item{ height:36px; color:#1b1e23; padding-left:9px; background-color:#ffffff; font: 15pt "宋体"; } QComboBox QAbstractItemView::item:hover{ background-color:#409CE1; color:#1b1e23; } QComboBox QAbstractItemView::item:selected{ background-color:#409CE1; color:#ffffff; } QMenuBar::item{ color:#DCDCDC; background-color:#484848; margin:0px; padding:3px 10px; } QMenu,QMenuBar,QMenu:disabled,QMenuBar:disabled{ color:#1b1e23; background-color:#ffffff; border:1px solid #1b1e23; margin:0px; } QMenu::item{ padding:3px 20px; } QMenu::indicator{ width:20px; height:13px; } QMenu::indicator::checked{ image:url(:/qss/blacksoft/menu_checked.png); } QMenu::right-arrow{ image:url(:/qss/blacksoft/arrow_right.png); width:13px; height:13px; padding:0px 3px 0px 0px; } QMenu::item:selected,QMenuBar::item:selected{ color:#ffffff; border:0px solid #242424; background:#409CE1; } QMenu::separator{ height:1px; background:#242424; } QProgressBar{ min-height:10px; background:#484848; border-radius:5px; text-align:center; border:1px solid #484848; } QProgressBar:chunk{ border-radius:5px; background-color:#242424; } QSlider::groove:horizontal{ height:8px; border-radius:4px; background:#484848; } QSlider::add-page:horizontal{ height:8px; border-radius:4px; background:#484848; } QSlider::sub-page:horizontal{ height:8px; border-radius:4px; background:#242424; } QSlider::handle:horizontal{ width:13px; margin-top:-3px; margin-bottom:-3px; border-radius:6px; background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #444444,stop:0.8 #242424); } QSlider::groove:vertical{ width:8px; border-radius:4px; background:#484848; } QSlider::add-page:vertical{ width:8px; border-radius:4px; background:#242424; } QSlider::sub-page:vertical{ width:8px; border-radius:4px; background:#484848; } QSlider::handle:vertical{ height:14px; margin-left:-3px; margin-right:-3px; border-radius:6px; background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #444444,stop:0.8 #242424); } QScrollBar:horizontal{ background:#ffffff; padding:0px; border-radius:6px; max-height:12px; } QScrollBar::handle:horizontal{ background:#ededed; min-width:50px; border-radius:6px; } QScrollBar::handle:horizontal:hover{ background:#AAAAAA; } QScrollBar::handle:horizontal:pressed{ background:#AAAAAA; } QScrollBar::add-page:horizontal{ background:none; } QScrollBar::sub-page:horizontal{ background:none; } QScrollBar::add-line:horizontal{ background:none; } QScrollBar::sub-line:horizontal{ background:none; } QScrollBar:vertical{ background:#ffffff; padding:0px; border-radius:6px; max-width:12px; } QScrollBar::handle:vertical{ background:#ededed; min-height:50px; border-radius:6px; } QScrollBar::handle:vertical:hover{ background:#AAAAAA; } QScrollBar::handle:vertical:pressed{ background:#AAAAAA; } QScrollBar::add-page:vertical{ background:none; } QScrollBar::sub-page:vertical{ background:none; } QScrollBar::add-line:vertical{ background:none; } QScrollBar::sub-line:vertical{ background:none; } QScrollArea{ border:0px; } QTreeView,QListView,QTableView,QTabWidget::pane{ border:1px solid #f2f4f7; selection-background-color:#409ce1; selection-color:#ffffff; alternate-background-color:#f2f4f7; gridline-color:#ededed; color:#1b1e23; } QTreeView::branch:closed:has-children{ margin:4px; border-image:url(:/qss/blacksoft/branch_open.png); } QTreeView::branch:open:has-children{ margin:4px; border-image:url(:/qss/blacksoft/branch_close.png); } QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{ background:#ffffff; } QTableView::item:selected,QListView::item:selected,QTreeView::item:selected{ color:#ffffff; background:#409CE1; } QTableView::item:hover,QListView::item:hover,QTreeView::item:hover,QHeaderView,QHeaderView::section,QTableCornerButton:section{ color:#ffffff; background:#245d9b; } QTableView::item,QListView::item,QTreeView::item{ padding:1px; margin:0px; border:0px; } QHeaderView::verticalHeader{ background:#ffffff; } QHeaderView::section,QTableCornerButton:section{ padding:3px; margin:0px; border:1px solid #242424; border-left-width:0px; border-right-width:1px; border-top-width:0px; border-bottom-width:1px; } QTabBar::tab{ border:1px solid #242424; color:#DCDCDC; margin:0px; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); } QTabBar::tab:selected{ border-style:solid; border-color:#AAAAAA; background:#444444; } QTabBar::tab:top,QTabBar::tab:bottom{ padding:3px 8px 3px 8px; } QTabBar::tab:left,QTabBar::tab:right{ padding:8px 3px 8px 3px; } QTabBar::tab:top:selected{ border-width:2px 0px 0px 0px; } QTabBar::tab:right:selected{ border-width:0px 0px 0px 2px; } QTabBar::tab:bottom:selected{ border-width:0px 0px 2px 0px; } QTabBar::tab:left:selected{ border-width:0px 2px 0px 0px; } QTabBar::tab:first:top:selected,QTabBar::tab:first:bottom:selected{ border-left-width:1px; border-left-color:#242424; } QTabBar::tab:first:left:selected,QTabBar::tab:first:right:selected{ border-top-width:1px; border-top-color:#242424; } QTabBar::tab:last:top:selected,QTabBar::tab:last:bottom:selected{ border-right-width:1px; border-right-color:#242424; } QTabBar::tab:last:left:selected,QTabBar::tab:last:right:selected{ border-bottom-width:1px; border-bottom-color:#242424; } QStatusBar::item{ border:0px solid #484848; border-radius:3px; } QToolBox::tab,QWidget[form="panel"]{ padding:3px; border-radius:5px; color:#DCDCDC; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); } QWidget[flag="paneltitle"]{ border-bottom-left-radius:0px; border-bottom-right-radius:0px; } QWidget[flag="panelcontrol"]{ border-top-width:0px; border-top-left-radius:0px; border-top-right-radius:0px; } QToolTip{ border:0px solid #DCDCDC; padding:1px; color:#DCDCDC; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); } QToolBox::tab:selected{ background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); } QPrintPreviewDialog QToolButton{ border:0px solid #DCDCDC; border-radius:0px; margin:0px; padding:3px; background:none; } QColorDialog QPushButton,QFileDialog QPushButton{ min-width:80px; } QToolButton#qt_calendar_prevmonth{ icon-size:0px; min-width:20px; image:url(:/qss/blacksoft/calendar_prevmonth.png); } QToolButton#qt_calendar_nextmonth{ icon-size:0px; min-width:20px; image:url(:/qss/blacksoft/calendar_nextmonth.png); } QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{ border:0px solid #DCDCDC; border-radius:3px; margin:3px 3px 3px 3px; padding:3px; background:none; } QToolButton#qt_calendar_monthbutton,#qt_calendar_yearbutton{ color: #9ea5a9; font: 9pt simHei; } QToolButton#qt_calendar_prevmonth:hover,QToolButton#qt_calendar_nextmonth:hover,QToolButton#qt_calendar_monthbutton:hover,QToolButton#qt_calendar_yearbutton:hover,QToolButton#qt_calendar_prevmonth:pressed,QToolButton#qt_calendar_nextmonth:pressed,QToolButton#qt_calendar_monthbutton:pressed,QToolButton#qt_calendar_yearbutton:pressed{ border:1px solid #242424; } QCalendarWidget QSpinBox#qt_calendar_yearedit{ margin:2px; } QCalendarWidget QToolButton::menu-indicator{ image:None; } QCalendarWidget QTableView{ border-width:0px; } QCalendarWidget QWidget#qt_calendar_navigationbar{ border:1px solid #242424; border-width:1px 1px 0px 1px; background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #245d9b,stop:1 #245d9b); } QTableView[model="true"]::item{ padding:0px; margin:0px; } QTableView QLineEdit,QTableView QComboBox,QTableView QSpinBox,QTableView QDoubleSpinBox,QTableView QDateEdit,QTableView QTimeEdit,QTableView QDateTimeEdit{ border:2px groove gray; /*border-radius:10px; border-radius: 15px;*/ } QTableView QLineEdit:focus,QTableView QComboBox:focus,QTableView QSpinBox:focus,QTableView QDoubleSpinBox:focus,QTableView QDateEdit:focus,QTableView QTimeEdit:focus,QTableView QDateTimeEdit:focus{ border-width:0px; border-radius:0px; } QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ color:#1b1e23; background:#ffffff; } QTabWidget::pane:top{top:-1px;} QTabWidget::pane:bottom{bottom:-1px;} QTabWidget::pane:left{right:-1px;} QTabWidget::pane:right{left:-1px;} QDialog,QDial,#QUIWidgetMain{ background-color:#ffffff; color:#DCDCDC; } QDialogButtonBox>QPushButton{ min-width:50px; } QMessageBox { background-color: #F2F2F2; /* QMessageBox背景颜色 */ } QMessageBox QLabel#qt_msgbox_label { /* textLabel */ color: #298DFF; background-color: transparent; min-width: 340px; /* textLabel设置最小宽度可以相应的改变QMessageBox的最小宽度 */ min-height: 40px; /* textLabel和iconLabel高度保持一致 */ font-size: 24pt; } QMessageBox QLabel#qt_msgboxex_icon_label { /* iconLabel */ width: 40px; height: 40px; /* textLabel和iconLabel高度保持一致 */ } QMessageBox QPushButton { /* QMessageBox中的QPushButton样式 */ border: 1px solid #1f5188; border-radius: 3px; background-color: #ffffff; color: #1f5188; font-family: "Microsoft YaHei"; font-size: 10pt; min-width: 70px; min-height: 25px; } QMessageBox QPushButton:hover { background-color: #245d9b; color: #ffffff; } QMessageBox QPushButton:pressed { background-color: #245d9b; color: #ffffff; } QMessageBox QDialogButtonBox#qt_msgbox_buttonbox { /* buttonBox */ button-layout: 0; /* 设置QPushButton布局好像没啥作用 */ } QPushButton{ width:120px; height: 35px; color: black; background: inherit; background-color: rgba(255, 255, 255, 0); border-width: 1px; border-style: solid; border-color: #245d9b; } QListView[noborder="true"],QTreeView[noborder="true"],QTabWidget[noborder="true"]::pane{ border-width:0px; } QWidget[flag="configure"] { background-color:#ffffff; } QWidget[flag="wc"] { background-color:#ffffff; } QWidget[flag="configure"] QTreeView{ background-color:#f0f1f5; } QWidget[flag="configure"] QTreeView::branch{ background-color:#f0f1f5; } QWidget[flag="configure"] QTreeView::item:selected{ background-color:#245d9b; } QWidget[flag="Title2"] { color:#ffffff; background-color:#ffffff; } QWidget[flag="Title"] { color:#ffffff; background-color:#245d9b; } QWidget[flag="Title"] QLabel{ border-radius:0px; color:#ffffff; background:none; border-style:none; } QWidget[flag="wcChannel"] { background-color:#ffffff; } QWidget[flag="normal"] { background-color:#ffffff; } QToolBar>*,QStatusBar>*{ margin:2px; } *:disabled,QMenu::item:disabled,QTabBar:tab:disabled,QHeaderView::section:disabled{ background:#f2f4f7; border-color:#484848; color:#242424; } QLabel:disabled{ background:none; } /*TextColor:#DCDCDC*/ /*PanelColor:#444444*/ /*BorderColor:#242424*/ /*NormalColorStart:#484848*/ /*NormalColorEnd:#383838*/ /*DarkColorStart:#646464*/ /*DarkColorEnd:#525252*/ /*HighColor:#AAAAAA*/