QssDockWidget#dialog{ border: 1px solid rgb(111, 156, 207); font-size : 15px; padding: 5px; background: rgb(232, 241, 252); } QDialog{ border: 1px solid rgb(rgb(0, 78, 161)); font-size : 15px; padding: 5px; background: rgb(232, 241, 252); } QWidget#player{ border: 1px solid rgb(111, 156, 207); font-size : 15px; background: rgb(232, 241, 252); } QMainWindow{ border: none; background: rgb(245, 252, 252); } QMainWindow::title{ text-align: right; /* align the text to the left */ background: rgb(7,71,166); padding-left: 5px; } QDialog::title{ text-align: left; /* align the text to the left */ background: lightgray; padding-left: 5px; } QPushButton#btn_serial:enabled { border-image: url(:/qss/icon/btn_serial.png); background: rgb(232, 241, 252); color: white; margin-left: 10; margin-top:5; } QPushButton#btn_serial:enabled:hover{ background: rgb(100, 160, 220); } QPushButton#btn_serial:enabled:pressed{ background: rgb(0, 78, 161); } QPushButton#btn_process:enabled { border-image: url(:/qss/icon/charts.png); background: rgb(232, 241, 252); color: white; margin-left: 10; margin-top:5; } QPushButton#btn_process:!enabled { background: rgb(180, 180, 180); color: white; } QPushButton#btn_process:enabled:hover{ background: rgb(100, 160, 220); } QPushButton#btn_process:enabled:pressed{ background: rgb(0, 78, 161); } QWidget { font-size: 15px; } QWidget:QLabel{ font-size: 15px; } QWidget#customWidget { background: rgb(173, 202, 232); } /**********子界面中央背景**********/ QWidget#centerWidget { background: rgb(232, 241, 1); } /**********主界面样式**********/ QWidget#mainWindow { background: rgb(232, 241, 252); } QWidget#messageWidget { background: rgba(173, 202, 232); } QWidget#loadingWidget { border: none; background: rgb(187, 212, 238); } QDockWidget{ background: rgb(187, 212, 238); } QFrame#window{ background: rgba(244,245,247,100); } QWidget#titlebar{ color: white; background: rgb(7,71,166); border: 0px; margin: 0px; } QWidget#remoteWidget { border-top-right-radius: 10px; border-bottom-right-radius: 10px; border: 1px solid rgb(111, 156, 207); border-left: none; background: transparent; } StyledWidget { qproperty-normalColor: rgb(65, 65, 65); qproperty-disableColor: rgb(180, 180, 180); qproperty-highlightColor: rgb(0, 160, 230); qproperty-errorColor: red; } QProgressIndicator { qproperty-color: rgb(2, 65, 132); } /**********提示**********/ QToolTip{ border: 1px solid rgb(111, 156, 207); background: white; color: rgb(51, 51, 51); } /**********菜单栏**********/ QMenuBar { background: rgb(7,71,166); border: 1px solid rgb(111, 156, 207); border-left: none; border-right: none; } QMenuBar::item { border: 1px solid transparent; padding: 5px 10px 5px 10px; height : 30px; background: transparent; text-aligin: center; font-size: 15px; } QMenuBar::item:enabled { color: rgb(7,71,166); } QMenuBar::item:!enabled { color: rgb(155, 155, 155); } QMenuBar::item:enabled:selected { border-top-color: rgb(111, 156, 207); border-bottom-color: rgb(111, 156, 207); background: rgb(198, 224, 252); } /**********菜单**********/ QMenu { border: 1px solid rgb(2, 65, 132); background: rgb(232, 241, 250); height : 50px; } QPushButton#titlebaricon{ image: url(:/qss/icon/logo.png); background: rgb(7,71,166); width: 25px; height:25px; } QLable#titlebartitle{ color: white; font-family: Arial; } QPushButton#titlebartitle{ font: 12px sans-serif; } QPushButton#titlebarclosebtn{ image: url(":/qss/icon/btn_close_down.svg"); background: rgb(7,71,166); width: 40px; height:30px; margin-left: 1px; } QPushButton#titlebarmaxbtn{ background: rgb(7,71,166); width: 40px; height:30px; margin-left: 1px; image: url(":/qss/icon/btn_max_normal.svg"); } QPushButton#titlebarclosebtn:enabled:hover{ background: red; } QPushButton#titlebarminbtn{ image: url(":/qss/icon/btn_mini_down.svg"); background: rgb(7,71,166); width: 40px; height:30px; margin-left: 1px; } QPushButton#titlebarminbtn:enabled:hover{ background: rgb(187, 212, 238); } QPushButton#titlebarrestorebtn{ image: url(":/qss/icon/btn_max_normal.svg"); background: rgb(187, 212, 238); width: 40px; height:30px; margin-left: 1px; } QPushButton#titlebarrestorebtn:enabled:hover{ background: rgb(187, 212, 238); } QPushButton#btn_serial:!enabled { background: rgb(180, 180, 180); color: white; } QPushButton#titlebarmaxbtn:enabled:hover{ background: rgb(100, 160, 220); } QMenu::item { height: 22px; padding: 0px 25px 0px 20px; } QMenu::item:enabled { color: rgb(84, 84, 84); } QMenu::item:!enabled { color: rgb(155, 155, 155); } QMenu::item:enabled:selected { color: rgb(2, 65, 132); background: rgba(255, 255, 255, 200); } QMenu::separator { height: 1px; background: rgb(111, 156, 207); } QMenu::indicator { width: 13px; height: 13px; } QMenu::icon { padding-left: 2px; padding-right: 2px; } /**********状态栏**********/ QStatusBar { background: rgb(111, 156, 207); border: 1px solid rgb(111, 156, 207); border-left: none; border-right: none; border-bottom: none; } QStatusBar::item { border: none; border-right: 1px solid rgb(111, 156, 207); } /**********分组框**********/ QGroupBox { font-size: 15px; border: 1px solid rgb(111, 156, 207); border-radius: 4px; margin-top: 10px; } QGroupBox::title { color: rgb(56, 99, 154); top: -12px; left: 10px; } QTabWidget{ margin-left:10; } /**********页签项**********/ QTabWidget::pane { border: none; border-top: 3px solid rgb(0, 78, 161); background: rgb(187, 212, 238); } QTabWidget::tab-bar { border: none; } QTabBar::tab { border: none; border-top-left-radius: 4px; border-top-right-radius: 4px; color: white; background: rgb(120, 170, 220); height: 28px; min-width: 85px; margin-right: 5px; padding-left: 5px; padding-right: 5px; } QTabBar::tab:hover { background: rgb(0, 78, 161); } QTabBar::tab:selected { color: white; background: rgb(0, 78, 161); } QTabWidget#tabWidget::pane { border: 1px solid rgb(111, 156, 207); background: rgb(232, 241, 252); margin-top: -1px; } QTabBar#tabBar::tab { border: 1px solid rgb(111, 156, 207); border-bottom: none; color: rgb(70, 71, 73); background: transparent; } QTabBar#tabBar::tab:hover { color: rgb(2, 65, 132); } QTabBar#tabBar::tab:selected { color: rgb(2, 65, 132); background: rgb(232, 241, 252); } /**********表头**********/ QHeaderView{ border: 1px solid black; border-bottom: 3px solid rgb(0, 78, 161); background: transparent; min-height: 30px; } QHeaderView::section:horizontal { border: none; color: rgb(2, 65, 132); background: transparent; padding-left: 5px; } QHeaderView::section:horizontal:hover { color: white; background: rgb(0, 78, 161); } QHeaderView::section:horizontal:pressed { color: white; background: rgb(6, 94, 187); } QHeaderView::up-arrow { width: 13px; height: 11px; padding-right: 5px; image: url(:/White/topArrow); subcontrol-position: center right; } QHeaderView::up-arrow:hover, QHeaderView::up-arrow:pressed { image: url(:/White/topArrowHover); } QHeaderView::down-arrow { width: 13px; height: 11px; padding-right: 5px; image: url(:/White/bottomArrow); subcontrol-position: center right; } QHeaderView::down-arrow:hover, QHeaderView::down-arrow:pressed { image: url(:/White/bottomArrowHover); } /**********TreeView**********/ QTreeView::item { height: 25px; border-right: 0.5px solid grey; background: transparent; } QTreeView::item:hover { background : #DBDBDB; } QTreeView::item:selected { background : grey; } /**********表格**********/ QTableView { border: 1px solid grey; background: rgb(224, 238, 255); gridline-color: rgb(111, 156, 207); } QTableView::item { padding-left: 5px; padding-right: 5px; border: 1px solid black; background: white; } QTableView::item:selected { border: 1px solid black; background: rgba(255, 255, 255, 30); } QTableView::item:selected:!active { color: rgb(65, 65, 65); } QTableView::indicator { border: 1px solid black; width: 20px; height: 20px; } QTableView::indicator:enabled:unchecked { image: url(:/White/checkBox); } QTableView::indicator:enabled:unchecked:hover { image: url(:/White/checkBoxHover); } QTableView::indicator:enabled:unchecked:pressed { image: url(:/White/checkBoxPressed); } QTableView::indicator:enabled:checked { image: url(:/White/checkBoxChecked); } QTableView::indicator:enabled:checked:hover { image: url(:/White/checkBoxCheckedHover); } QTableView::indicator:enabled:checked:pressed { image: url(:/White/checkBoxCheckedPressed); } QTableView::indicator:enabled:indeterminate { image: url(:/White/checkBoxIndeterminate); } QTableView::indicator:enabled:indeterminate:hover { image: url(:/White/checkBoxIndeterminateHover); } QTableView::indicator:enabled:indeterminate:pressed { image: url(:/White/checkBoxIndeterminatePressed); } /**********滚动条-水平**********/ QScrollBar:horizontal { height: 20px; background: transparent; margin-top: 3px; margin-bottom: 3px; } QScrollBar::handle:horizontal { height: 20px; min-width: 30px; background: rgb(170, 200, 230); margin-left: 15px; margin-right: 15px; } QScrollBar::handle:horizontal:hover { background: rgb(165, 195, 225); } QScrollBar::sub-line:horizontal { width: 15px; background: transparent; image: url(:/White/arrowLeft); subcontrol-position: left; } QScrollBar::add-line:horizontal { width: 15px; background: transparent; image: url(:/White/arrowRight); subcontrol-position: right; } QScrollBar::sub-line:horizontal:hover { background: rgb(170, 200, 230); } QScrollBar::add-line:horizontal:hover { background: rgb(170, 200, 230); } QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal { background: transparent; } /**********滚动条-垂直**********/ QScrollBar:vertical { width: 20px; background: transparent; margin-left: 3px; margin-right: 3px; } QScrollBar::handle:vertical { width: 20px; min-height: 30px; background: rgb(170, 200, 230); margin-top: 15px; margin-bottom: 15px; } QScrollBar::handle:vertical:hover { background: rgb(165, 195, 225); } QScrollBar::sub-line:vertical { height: 15px; background: transparent; image: url(:/White/topArrow); subcontrol-position: top; } QScrollBar::add-line:vertical { height: 15px; background: transparent; image: url(:/White/bottomArrow); subcontrol-position: bottom; } QScrollBar::sub-line:vertical:hover { background: rgb(170, 200, 230); } QScrollBar::add-line:vertical:hover { background: rgb(170, 200, 230); } QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background: transparent; } QScrollBar#verticalScrollBar:vertical { margin-top: 30px; } /**********下拉列表**********/ QComboBox { height: 25px; border: 1px solid rgb(111, 156, 207); background: white; } QComboBox:enabled { color: rgb(84, 84, 84); } QComboBox:!enabled { color: rgb(80, 80, 80); } QComboBox:enabled:hover, QComboBox:enabled:focus { color: rgb(51, 51, 51); } QComboBox::drop-down { width: 20px; border: none; background: transparent; } QComboBox::drop-down:hover { background: rgba(0, 0, 0, 30); } QComboBox::down-arrow { image: url(:/qss/icon/combo_arrow.png); max-height:100%; max-width:100%; } QComboBox::down-arrow:on { top: 1px; } QComboBox QAbstractItemView { border: 1px solid rgb(111, 156, 207); background: white; outline: none; } QComboBox QAbstractItemView::item { height: 25px; color: rgb(73, 73, 73); } QComboBox QAbstractItemView::item:selected { background: rgb(232, 241, 250); color: rgb(2, 65, 132); } /**********进度条**********/ QProgressBar{ border: black; text-align: center; color: white; background: rgb(173, 202, 232); } QProgressBar::chunk { background: rgb(16, 135, 209); } QProgressBar { border: rgb(173, 202, 232); text-align: center; color: light; background-color: transparent; background-image: rgb(173, 202, 232); background-repeat: repeat-x; } QProgressBar::chunk { border: none; background-color:rgb(173, 202, 232); background-repeat: repeat-x; } /**********复选框**********/ QCheckBox{ spacing: 5px; } QCheckBox:enabled:checked{ color: rgb(2, 65, 132); } QCheckBox:enabled:!checked{ color: rgb(70, 71, 73); } QCheckBox:enabled:hover{ color: rgb(0, 78, 161); } QCheckBox:!enabled{ color: rgb(80, 80, 80); } QCheckBox::indicator { width: 20px; height: 20px; } QCheckBox::indicator:unchecked { image: url(:/qss/icon/checkbox.png); } QCheckBox::indicator:unchecked:hover { image: url(:/qss/icon/checkbox_h.png); } QCheckBox::indicator:unchecked:pressed { image: url(:/qss/icon/checkbox_p.png); } QCheckBox::indicator:checked { image: url(:/qss/icon/check_box_p.png); } QCheckBox::indicator:checked:hover { image: url(:/qss/icon/check_box_p.png); } QCheckBox::indicator:checked:pressed { image: url(:/qss/icon/check_box_p.png); } QCheckBox::indicator:indeterminate { image: url(:/qss/icon/check_box_p.png); } QCheckBox::indicator:indeterminate:hover { image: url(:/qss/icon/check_box_p.png); } QCheckBox::indicator:indeterminate:pressed { image: url(:/qss/icon/check_box_p.png); } /**********单选框**********/ QRadioButton{ spacing: 5px; } QRadioButton:enabled:checked{ color: rgb(2, 65, 132); } QRadioButton:enabled:!checked{ color: rgb(70, 71, 73); } QRadioButton:enabled:hover{ color: rgb(0, 78, 161); } QRadioButton:!enabled{ color: rgb(80, 80, 80); } QRadioButton::indicator { width: 20px; height: 20px; } QRadioButton::indicator:unchecked { image: url(:/White/radioButton); } QRadioButton::indicator:unchecked:hover { image: url(:/White/radioButtonHover); } QRadioButton::indicator:unchecked:pressed { image: url(:/White/radioButtonPressed); } QRadioButton::indicator:checked { image: url(:/White/radioButtonChecked); } QRadioButton::indicator:checked:hover { image: url(:/White/radioButtonCheckedHover); } QRadioButton::indicator:checked:pressed { image: url(:/White/radioButtonCheckedPressed); } /**********输入框**********/ QLineEdit { border-radius: 4px; height: 25px; border: 1px solid rgb(111, 156, 207); background: white; } QLineEdit:enabled { color: rgb(84, 84, 84); } QLineEdit:enabled:hover, QLineEdit:enabled:focus { color: rgb(51, 51, 51); } QLineEdit:!enabled { color: rgb(80, 80, 80); } /**********文本编辑框**********/ QTextEdit { border: 1px solid rgb(111, 156, 207); color: rgb(70, 71, 73); background: rgb(187, 212, 238); } /**********滚动区域**********/ QScrollArea { border: 1px solid rgb(111, 156, 207); background: rgb(187, 212, 238); } /**********滚动区域**********/ QWidget#transparentWidget { background: transparent; } /**********微调器**********/ QSpinBox { border-radius: 4px; height: 24px; min-width: 40px; border: 1px solid rgb(111, 156, 207); background: white; } QSpinBox:enabled { color: rgb(60, 60, 60); } QSpinBox:enabled:hover, QSpinBox:enabled:focus { color: rgb(51, 51, 51); } QSpinBox:!enabled { color: rgb(210, 210, 210); background: transparent; } QSpinBox::up-button { border-left: 1px solid rgb(111, 156, 207); width: 18px; height: 12px; border-top-right-radius: 4px; image: url(:/White/upButton); } QSpinBox::up-button:!enabled { background: transparent; } QSpinBox::up-button:enabled:hover { background: rgb(255, 255, 255, 30); } QSpinBox::down-button { border-left: 1px solid rgb(111, 156, 207); width: 18px; height: 12px; border-bottom-right-radius: 4px; image: url(:/White/downButton); } QSpinBox::down-button:!enabled { background: transparent; } QSpinBox::down-button:hover { background: rgb(255, 255, 255, 30); } QLabel#label_3{ font-size: 20px; background-color: rgb(255, 255, 255, 30); color : light; } QDockWidget *{ font-size: 15px; } /**********标签**********/ QLabel#grayLabel { color: rgb(70, 71, 73); } QLabel#highlightLabel { color: rgb(2, 65, 132); } QLabel#redLabel { color: red; } QLabel#grayYaHeiLabel { color: rgb(175, 175, 175); font-size: 15px; } QLabel#blueLabel { color: rgb(0, 160, 230); } QLabel#listLabel { color: rgb(51, 51, 51); } QLabel#lineBlueLabel { background: rgb(0, 78, 161); } QLabel#graySeperateLabel { background: rgb(200, 220, 230); } QLabel#seperateLabel { background: rgb(112, 153, 194); } QLabel#radiusBlueLabel { border-radius: 15px; color: white; font-size: 15px; background: rgb(0, 78, 161); } QLabel#skinLabel[colorProperty="normal"] { color: rgb(56, 99, 154); } QLabel#skinLabel[colorProperty="highlight"] { color: rgb(0, 160, 230); } QLabel#informationLabel { qproperty-pixmap: url(:/White/information); } QLabel#errorLabel { qproperty-pixmap: url(:/White/error); } QLabel#successLabel { qproperty-pixmap: url(:/White/success); } QLabel#questionLabel { qproperty-pixmap: url(:/White/question); } QLabel#warningLabel { qproperty-pixmap: url(:/White/warning); } QLabel#groupLabel { color: rgb(56, 99, 154); border: 1px solid rgb(111, 156, 207); font-size: 15px; border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; } /**********按钮**********/ QToolButton#nsccButton { border: none; color: rgb(2, 65, 132); background: transparent; padding: 10px; qproperty-icon: url(:/White/nscc); qproperty-iconSize: 32px 32px; qproperty-toolButtonStyle: ToolButtonTextUnderIcon; } QToolButton#nsccButton:hover { background: rgb(187, 212, 238); } QToolButton#transferButton { border: none; color: rgb(2, 65, 132); background: transparent; padding: 10px; qproperty-icon: url(:/White/transfer); qproperty-iconSize: 32px 32px; qproperty-toolButtonStyle: ToolButtonTextUnderIcon; } QToolButton#transferButton:hover { background: rgb(187, 212, 238); } /**********按钮**********/ QPushButton{ border: none; width: 75px; height: 25px; font-size: 15px; color: black; } QPushButton:enabled { background: rgb(120, 170, 220); color: white; } QPushButton:!enabled { background: rgb(180, 180, 180); color: white; } QPushButton:enabled:hover{ background: rgb(100, 160, 220); } QPushButton:enabled:pressed{ background: rgb(0, 78, 161); } QPushButton#blueButton { color: white; } QPushButton#blueButton:enabled { background: rgb(0, 78, 161); color: white; } QPushButton#blueButton:enabled:hover { background: rgb(2, 65, 132); } QPushButton#blueButton:enabled:pressed { background: rgb(6, 94, 187); } QPushButton#selectButton { border: none; border-radius: none; border-left: 1px solid rgb(111, 156, 207); background: transparent; image: url(:/White/scan); color: rgb(51, 51, 51); } QPushButton#selectButton:enabled:hover{ background: rgb(187, 212, 238); } QPushButton#selectButton:enabled:pressed{ background: rgb(120, 170, 220); } QPushButton#linkButton { background: transparent; color: rgb(0, 160, 230); text-align:left; } QPushButton#linkButton:hover { color: rgb(20, 185, 255); text-decoration: underline; } QPushButton#linkButton:pressed { color: rgb(0, 160, 230); } QPushButton#transparentButton { background: transparent; } /*****************标题栏按钮*******************/ QPushButton#minimizeButton { border-radius: none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background: rgb(120, 170, 220); image: url(:/White/minimizeHover); } QPushButton#minimizeButton:hover { image: url(:/White/minimize); } QPushButton#minimizeButton:pressed { } QPushButton#closeButton { border-radius: none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background: rgb(120, 170, 220); image: url(:/qss/icon/btn_close_normal.png); } QPushButton#closeButton:hover { background: rgb(100, 160, 220); } QPushButton#closeButton:pressed { border-radius: none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background: rgb(80, 170, 220); } QPushButton#skinButton { border-radius: none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background: rgb(120, 170, 220); image: url(:/White/skinHover); } QPushButton#skinButton:hover { image: url(:/White/skin); } QPushButton#skinButton:pressed { image: url(:/White/skinPressed); } QPushButton#feedbackButton { border-radius: none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background: rgb(120, 170, 220); image: url(:/White/feedbackHover); } QPushButton#feedbackButton:hover { image: url(:/White/feedback); } QPushButton#feedbackButton:pressed { image: url(:/White/feedbackPressed); } QPushButton#closeTipButton { border-radius: none; border-image: url(:/White/close); background: transparent; } QPushButton#closeTipButton:hover { border-image: url(:/White/closeHover); } QPushButton#closeTipButton:pressed { border-image: url(:/White/closePressed); } QPushButton#changeSkinButton{ border-radius: 4px; border: 2px solid rgb(111, 156, 207); background: rgb(204, 227, 252); } QPushButton#changeSkinButton:hover{ border-color: rgb(60, 150, 200); } QPushButton#changeSkinButton:pressed, QPushButton#changeSkinButton:checked{ border-color: rgb(0, 160, 230); } QPushButton#transferButton { padding-left: 5px; padding-right: 5px; color: white; background: rgb(0, 78, 161); } QPushButton#transferButton:hover { background: rgb(2, 65, 132); } QPushButton#transferButton:pressed { background: rgb(6, 94, 187); } QPushButton#transferButton[iconProperty="left"] { qproperty-icon: url(:/White/left); } QPushButton#transferButton[iconProperty="right"] { qproperty-icon: url(:/White/right); } QPushButton#openButton { border-radius: none; image: url(:/White/open); background: transparent; } QPushButton#openButton:hover { image: url(:/White/openHover); } QPushButton#openButton:pressed { image: url(:/White/openPressed); } QPushButton#deleteButton { border-radius: none; image: url(:/White/delete); background: transparent; } QPushButton#deleteButton:hover { image: url(:/White/deleteHover); } QPushButton#deleteButton:pressed { image: url(:/White/deletePressed); } QPushButton#menuButton { height: 50px; text-align: left center; padding-left: 3px; color: rgb(84, 84, 198); border: 1px solid rgb(111, 156, 207); background: white; } QPushButton#menuButton::menu-indicator{ subcontrol-position: right center; subcontrol-origin: padding; padding-right: 3px; height:50px; }