2,新增“Apps”; 3,新增“Common”; 4,新增“FileList”; 5,新增“MediaX”; 6,新增“OpenSource”; 7,新增“Samples”; 8,新增“SoftwareBusinessLines”.
1193 lines
28 KiB
Plaintext
1193 lines
28 KiB
Plaintext
/*
|
||
*
|
||
* 标题 :样式表-高德蓝色
|
||
*
|
||
* 说明 : 该文件是用于实现Qt开发过程中,使用qss换肤效果,以下url加载图片路径,均为资源路径。
|
||
*
|
||
*/
|
||
|
||
*{font-size: 16px;}
|
||
/**********主界面**********/
|
||
QMainWindow, QDialog#CustomMessageBox, QDialog#RawFileDlg,
|
||
QDialog#SettingsDlg, QDialog#DevParamDlg,QWidget#frmMessageBox
|
||
{
|
||
border-image: url(:/skin/image/blue/bg.png);
|
||
}
|
||
|
||
/**********边框**********/
|
||
.QFrame{
|
||
border: 2px solid #345D83;
|
||
}
|
||
|
||
QWidget#showWidget
|
||
{
|
||
border-image: url(:/skin/image/blue/video_bag.png);
|
||
}
|
||
|
||
/**********自定义标题栏背景**********/
|
||
QWidget#wgtTitleBar,
|
||
QScrollArea#m_scrollArea_ControlCmdPanel,
|
||
QWidget#m_scrollAreaWidgetContents_ControlCmdPanel,
|
||
QWidget#m_scrollAreaWidgetContents_AdvancedControlPanel,
|
||
QScrollArea#m_scrollArea_CardSettingsPanel,
|
||
QWidget#m_scrollAreaWidgetContents_CardSettingsPanel
|
||
{
|
||
background: transparent;
|
||
}
|
||
|
||
/**********自定义标题栏标签**********/
|
||
QLabel#lblTitle{
|
||
font-size: 20px;
|
||
border-radius:0px;
|
||
color: #54DCFF;
|
||
background-color:rgba(0,0,0,0);
|
||
border-style:none;
|
||
}
|
||
QLabel#labInfo{
|
||
font-size: 22px;
|
||
}
|
||
QLabel#lblSystemIcon {
|
||
width:120px;
|
||
height:48px;
|
||
border-image:url(:/skin/image/blue/home.png);
|
||
}
|
||
|
||
/**********标签**********/
|
||
QLabel {color: #96C8FA;}
|
||
QLabel:!enabled {color: #3a6892;}
|
||
|
||
/**********输入框 & 文本编辑框**********/
|
||
QLineEdit, QTextEdit, QPlainTextEdit {
|
||
color: #54DCFF;
|
||
min-height: 20px;
|
||
border: 1px solid #5a8eb1;
|
||
background: transparent;
|
||
}
|
||
|
||
QTextEdit#m_textEdit_Tx,
|
||
QTextEdit#m_textEdit_Rx{
|
||
color: #54DCFF;
|
||
min-height: 28px;
|
||
border: 1px solid #5a8eb1;
|
||
background: transparent;
|
||
}
|
||
|
||
QLineEdit:hover, QTextEdit:hover,
|
||
QLineEdit:focus, QTextEdit:focus,
|
||
QPlainTextEdit:hover, QPlainTextEdit:focus{
|
||
border: 1px solid #54dcff;
|
||
}
|
||
|
||
QLineEdit:read-only, QTextEdit:read-only,
|
||
QPlainTextEdit:read-only {
|
||
border: 1px solid #54deff;
|
||
}
|
||
|
||
QLineEdit:disabled, QTextEdit:disabled, QPlainTextEdit:disabled {
|
||
color: #3a6892;
|
||
border: 1px solid #345d83;
|
||
}
|
||
|
||
QLineEdit[echoMode="2"] {
|
||
lineedit-password-character: 9679;
|
||
}
|
||
|
||
/**********分组框**********/
|
||
.QGroupBox{
|
||
/*color: #54DCFF;*/
|
||
/*color: rgba(160, 235, 160, 235);*/
|
||
color: rgba(124, 220, 255, 235);
|
||
border: 2px solid #345D83;
|
||
margin-top: 12px;
|
||
background-color: rgba(0,0,0,102);
|
||
spacing: 2x;
|
||
font-size : 16px;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.QGroupBox::title {
|
||
subcontrol-origin: margin;
|
||
subcontrol-position: left top; /* position at the left top */
|
||
/*border: 2px solid #345D83;*/
|
||
border: 2px solid rgba(52,93,131,245);
|
||
/*border-radius: 4px;*/
|
||
border-top-left-radius: 2px;
|
||
border-top-right-radius: 4px;
|
||
border-bottom-right-radius: 4px;
|
||
padding: 3px 5px 3px 5px;
|
||
border-left: 2px solid qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #fff300, stop: 1 #ff0400);
|
||
background-color: rgba(52,93,131,255);
|
||
}
|
||
|
||
/**********按钮**********/
|
||
.QPushButton{
|
||
font-weight: bold;
|
||
text-align: center;
|
||
font-size: 16px;
|
||
padding-left: 0px;
|
||
color: #54DCFF;
|
||
/*color: #54DCFF;*/
|
||
min-height: 28px;
|
||
width: 100px;
|
||
/*border-width: 100px;*/
|
||
border-image: url(:/skin/image/blue/buttonN_normal.png);
|
||
}
|
||
|
||
.QPushButton:hover{
|
||
padding-top:1px;
|
||
border-image: url(:/skin/image/blue/buttonN_hover.png);
|
||
}
|
||
|
||
.QPushButton:pressed{
|
||
padding-top:3px;
|
||
width:200px;
|
||
border-image: url(:/skin/image/blue/buttonN_hover.png);
|
||
}
|
||
|
||
.QPushButton:disabled{
|
||
color: #345D83;
|
||
border-image: url(:/skin/image/blue/buttonN_disabled.png);
|
||
}
|
||
|
||
|
||
/*QPushButton#m_pushButton_OpenOrCloseSerialPort,
|
||
QPushButton#m_pushButton_SwitchSerialPort
|
||
{
|
||
text-align: center;
|
||
font-size: 14px;
|
||
padding-left: 0px;
|
||
}
|
||
*/
|
||
|
||
/*****************标题栏按钮*******************/
|
||
QPushButton#m_pushButton_Settings{border-image: url(:/skin/image/blue/settings.png);}
|
||
QPushButton#m_pushButton_Settings:hover{border-image: url(:/skin/image/blue/settingsH.png);}
|
||
QPushButton#m_pushButton_Settings:pressed{border-image: url(:/skin/image/blue/settingsP.png);}
|
||
|
||
QPushButton#m_pushButton_WindowMenu{border-image: url(:/skin/image/blue/window_menu.png);}
|
||
QPushButton#m_pushButton_WindowMenu:hover{border-image: url(:/skin/image/blue/window_menu_hover.png);}
|
||
QPushButton#m_pushButton_WindowMenu:pressed{border-image: url(:/skin/image/blue/window_menu_pressed.png);}
|
||
|
||
QPushButton#m_pushButton_MinMenu{border-image: url(:/skin/image/blue/window_min.png);}
|
||
QPushButton#m_pushButton_MinMenu:hover{border-image: url(:/skin/image/blue/window_min_hover.png);}
|
||
QPushButton#m_pushButton_MinMenu:pressed{border-image: url(:/skin/image/blue/window_min_pressed.png);}
|
||
|
||
QPushButton#m_pushButton_CloseMenu{border-image: url(:/skin/image/blue/window_close.png);}
|
||
QPushButton#m_pushButton_CloseMenu:hover{border-image: url(:/skin/image/blue/window_close_hover.png);}
|
||
QPushButton#m_pushButton_CloseMenu:pressed{border-image: url(:/skin/image/blue/window_close_pressed.png);}
|
||
|
||
QPushButton#btnMenu {
|
||
border-image: url(:/skin/image/blue/window_menu.png);
|
||
}
|
||
QPushButton#btnMenu:menu-indicator {
|
||
image:none;
|
||
}
|
||
|
||
QPushButton#btnMaxMenu[maximizeProperty="maximize"] {border-image: url(:/skin/image/blue/window_max.png);}
|
||
QPushButton#btnMaxMenu[maximizeProperty="restore"] {border-image: url(:/skin/image/blue/window_restore.png);}
|
||
QPushButton#btnMaxMenu[maximizeProperty="maximize"]:hover {border-image: url(:/skin/image/blue/window_max_hover.png);}
|
||
QPushButton#btnMaxMenu[maximizeProperty="restore"]:hover {border-image: url(:/skin/image/blue/window_restore_hover.png);}
|
||
QPushButton#btnMaxMenu[maximizeProperty="maximize"]:pressed {border-image: url(:/skin/image/blue/window_max_pressed.png);}
|
||
QPushButton#btnMaxMenu[maximizeProperty="restore"]:pressed {border-image: url(:/skin/image/blue/window_restore_pressed.png);}
|
||
|
||
QPushButton#btnMaxMenu {
|
||
border-image: url(:/skin/image/blue/window_max.png);}
|
||
QPushButton#btnMenu:hover {
|
||
border-image: url(:/skin/image/blue/window_menu_hover.png);}
|
||
QPushButton#btnMenu:pressed {
|
||
border-image: url(:/skin/image/blue/window_menu_pressed.png);}
|
||
|
||
|
||
/**********复选框**********/
|
||
QCheckBox {
|
||
color: #54DCFF;
|
||
spacing: 2px;
|
||
}
|
||
|
||
QCheckBox::indicator {
|
||
width: 18px;
|
||
height: 18px;
|
||
}
|
||
|
||
QCheckBox::indicator:unchecked {
|
||
image: url(:/skin/image/blue/checkbox_unchecked.png);
|
||
}
|
||
|
||
QCheckBox::indicator:unchecked:hover {
|
||
image: url(:/skin/image/blue/checkbox_unchecked_hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:unchecked:pressed {
|
||
image: url(:/skin/image/blue/checkbox_unchecked_pressed.png);
|
||
}
|
||
|
||
QCheckBox::indicator:checked {
|
||
image: url(:/skin/image/blue/checkbox_checked.png);
|
||
}
|
||
|
||
QCheckBox::indicator:checked:hover {
|
||
image: url(:/skin/image/blue/checkbox_checked_hover.png);
|
||
}
|
||
|
||
QCheckBox::indicator:checked:pressed {
|
||
image: url(:/skin/image/blue/checkbox_checked_pressed.png);
|
||
}
|
||
|
||
QCheckBox::indicator::unchecked:!enabled {
|
||
color: #3a6892;
|
||
image: url(:/skin/image/blue/checkbox_unchecked_disabled.png);
|
||
}
|
||
|
||
QCheckBox::indicator::checked:!enabled {
|
||
color: #3a6892;
|
||
image: url(:/skin/image/blue/checkbox_checked_disabled.png);
|
||
}
|
||
|
||
QCheckBox:disabled {
|
||
color: #3a6892;
|
||
}
|
||
/**********单选框**********/
|
||
QRadioButton {
|
||
color: #54DCFF;
|
||
spacing: 2px;
|
||
}
|
||
|
||
QRadioButton#m_radioButton_CBP_IntTime_Manual,
|
||
QRadioButton#m_radioButton_CBP_IntTime_Auto,
|
||
QRadioButton#m_radioButton_CBP_Base_Manual,
|
||
QRadioButton#m_radioButton_CBP_Base_Auto,
|
||
QRadioButton#m_radioButton_CBP_LowTemperature,
|
||
QRadioButton#m_radioButton_CBP_NormalTemperature,
|
||
QRadioButton#m_radioButton_CBP_HighTemperature,
|
||
QRadioButton#m_radioButton_CBP_Base_0,
|
||
QRadioButton#m_radioButton_CBP_Base_1,
|
||
QRadioButton#m_radioButton_CBP_Base_2
|
||
{
|
||
font-size: 14px;
|
||
}
|
||
|
||
QRadioButton::checked#m_radioButton_LowTemperature,
|
||
QRadioButton::checked#m_radioButton_NormalTemperature,
|
||
QRadioButton::checked#m_radioButton_HighTemperature
|
||
{
|
||
color: #ffff0000;
|
||
}
|
||
|
||
QRadioButton::indicator {
|
||
width: 18px;
|
||
height: 18px;
|
||
}
|
||
|
||
QRadioButton::indicator::unchecked {
|
||
image: url(:/skin/image/blue/radiobutton_unchecked.png);
|
||
}
|
||
|
||
QRadioButton::indicator::unchecked:hover {
|
||
image: url(:/skin/image/blue/radiobutton_unchecked_hover.png);
|
||
}
|
||
|
||
QRadioButton::indicator::unchecked:pressed {
|
||
image: url(:/skin/image/blue/radiobutton_unchecked_pressed.png);
|
||
}
|
||
|
||
QRadioButton::indicator::checked {
|
||
image: url(:/skin/image/blue/radiobutton_checked.png);
|
||
}
|
||
|
||
QRadioButton::indicator::checked:hover {
|
||
image: url(:/skin/image/blue/radiobutton_checked_hover.png);
|
||
}
|
||
|
||
QRadioButton::indicator::checked:pressed {
|
||
image: url(:/skin/image/blue/radiobutton_checked_pressed.png);
|
||
}
|
||
|
||
QRadioButton:disabled {
|
||
color: #3a6892;
|
||
}
|
||
|
||
QRadioButton::indicator::unchecked:!enabled {
|
||
color: #3a6892;
|
||
image: url(:/skin/image/blue/radiobutton_unchecked_disabled.png);
|
||
}
|
||
|
||
QRadioButton::indicator::checked:!enabled {
|
||
color: #3a6892;
|
||
image: url(:/skin/image/blue/radiobutton_checked_disabled.png);
|
||
}
|
||
|
||
/**********下拉列表 & 日期编辑 & 时间编辑 & 日期时间编辑**********/
|
||
QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{
|
||
color: #54DCFF;
|
||
border: 1px solid #5a8eb1;
|
||
background: transparent;
|
||
}
|
||
|
||
QComboBox:hover, QDateEdit:hover,QTimeEdit:hover, QDateTimeEdit:hover,
|
||
QComboBox:focus, QDateEdit:focus, QTimeEdit:focus, QDateTimeEdit:focus{
|
||
color: #54DCFF;
|
||
border: 1px solid #54dcff;
|
||
}
|
||
|
||
QComboBox:disabled, QDateEdit:disabled,
|
||
QTimeEdit:disabled, QDateTimeEdit:disabled{
|
||
color: #3a6892;
|
||
border: 1px solid #345d83;
|
||
}
|
||
|
||
QComboBox::drop-down,QDateEdit::drop-down {
|
||
subcontrol-origin: padding;
|
||
subcontrol-position: top right;
|
||
width: 30px;
|
||
border: 0px;
|
||
}
|
||
|
||
QComboBox::down-arrow,QDateEdit::down-arrow {
|
||
image: url(:/skin/image/blue/arrow_down.png);
|
||
}
|
||
|
||
QComboBox::down-arrow:hover,QDateEdit::down-arrow:hover {
|
||
image: url(:/skin/image/blue/arrow_down_hover.png);
|
||
}
|
||
|
||
QComboBox::down-arrow:pressed,QDateEdit::down-arrow:pressed {
|
||
image: url(:/skin/image/blue/arrow_down_hover.png);
|
||
}
|
||
|
||
QComboBox::down-arrow:disabled,QDateEdit::down-arrow:disabled {
|
||
image: url(:/skin/image/blue/arrow_down_disabled.png);
|
||
}
|
||
|
||
QComboBox QAbstractItemView {
|
||
border: 1px solid #31587e;
|
||
color: #7aa4cf;
|
||
background: #000716;
|
||
min-height: 28px;
|
||
}
|
||
|
||
QComboBox QAbstractItemView::item {
|
||
min-height: 28px;
|
||
padding-left: 2px;
|
||
}
|
||
|
||
QComboBox QAbstractItemView::item:selected {
|
||
color: #54dcff;
|
||
background-color: #002c5d;
|
||
}
|
||
|
||
/**********菜单**********/
|
||
QMenu {
|
||
color: #96C8FA;
|
||
border: none;
|
||
background-color: #03153e;
|
||
}
|
||
|
||
QMenu::item {
|
||
padding: 6px 15px 6px 25px;
|
||
}
|
||
|
||
QMenu::indicator:unchecked {
|
||
border-image: url(:/skin/image/blue/checkbox_unchecked.png);
|
||
left: 5px;
|
||
}
|
||
|
||
QMenu::indicator:checked {
|
||
border-image: url(:/skin/image/blue/checkbox_checked.png);
|
||
left: 5px;
|
||
}
|
||
|
||
QMenu::item:hover, QMenu::item:selected {
|
||
color: #54DCFF;
|
||
border-image: url(:/skin/image/blue/line_edit_hover.png);
|
||
}
|
||
|
||
QMenu::item:disabled {
|
||
color: #3a6892;
|
||
}
|
||
|
||
/*QMenu::separator {
|
||
height: 1px;
|
||
background: #B1B1B1;
|
||
}*/
|
||
|
||
QMenu::right-arrow {
|
||
padding: 2px 0 0 5px;
|
||
}
|
||
|
||
/**********进度条**********/
|
||
QProgressBar {
|
||
text-align: center;
|
||
color: #3a6892;
|
||
min-height: 28px;
|
||
background: transparent;
|
||
border: 2px solid #5A8EB1;
|
||
}
|
||
|
||
QProgressBar::chunk {
|
||
width: 10px;
|
||
background-color: #54DCFF;
|
||
/*margin: 4px 4px;*/
|
||
}
|
||
|
||
/**********滑动条**********/
|
||
QSlider::groove:horizontal {
|
||
background: #051127;
|
||
height: 6px;
|
||
border: 1px solid #6a90ba;
|
||
left: 8px;
|
||
right: 8px;
|
||
}
|
||
|
||
QSlider::add-page:horizontal {
|
||
background: #051127;
|
||
height: 6px;
|
||
border: 1px solid #6a90ba;
|
||
}
|
||
|
||
QSlider::sub-page:horizontal {
|
||
height: 6px;
|
||
background: #0096ff;
|
||
border: 1px solid #6a90ba;
|
||
}
|
||
|
||
QSlider::handle:horizontal {
|
||
width: 16px;
|
||
margin: -5px -8px -5px -8px;
|
||
image: url(:/skin/image/blue/slider_horizontal.png);
|
||
}
|
||
|
||
QSlider::handle:horizontal:hover {
|
||
image: url(:/skin/image/blue/slider_horizontal_hover.png);
|
||
}
|
||
|
||
QSlider::handle:horizontal:pressed {
|
||
image: url(:/skin/image/blue/slider_horizontal_pressed.png);
|
||
}
|
||
|
||
QSlider::groove:vertical,QSlider::sub-page:vertical {
|
||
background: #051127;
|
||
width: 6px;
|
||
border: 1px solid #6a90ba;
|
||
top: 8px;
|
||
bottom: 8px;
|
||
}
|
||
|
||
QSlider::add-page:vertical {
|
||
width: 6px;
|
||
background: #0096ff;
|
||
border: 1px solid #6a90ba;
|
||
}
|
||
|
||
QSlider#m_playSlider::groove:horizontal,QSlider#m_playSlider::add-page:horizontal {
|
||
background: #535353;
|
||
height: 6px;
|
||
border: none;
|
||
left: 8px;
|
||
right: 8px;
|
||
}
|
||
|
||
QSlider#m_playSlider::sub-page:horizontal {
|
||
height: 6px;
|
||
background: #00a5cf;
|
||
border: none;
|
||
}
|
||
|
||
QSlider#m_playSlider::handle:horizontal {
|
||
width: 16px;
|
||
margin: -5px -8px -5px -8px;
|
||
image: url(:/skin/image/blue/video_slide_N.png);
|
||
}
|
||
|
||
QSlider#m_playSlider::handle:horizontal:hover {
|
||
image: url(:/skin/image/blue/video_slide_H.png);
|
||
}
|
||
|
||
QSlider#m_playSlider::handle:horizontal:pressed {
|
||
image: url(:/skin/image/blue/video_slide_P.png);
|
||
}
|
||
|
||
QSlider::handle:vertical {
|
||
height: 16px;
|
||
margin: -8px -5px -8px -5px ;
|
||
image: url(:/skin/image/blue/slider_vertical.png);
|
||
}
|
||
|
||
QSlider::handle:vertical:hover {
|
||
image: url(:/skin/image/blue/slider_vertical_hover.png);
|
||
}
|
||
|
||
QSlider::handle:vertical:pressed {
|
||
image: url(:/skin/image/blue/slider_vertical_pressed.png);
|
||
}
|
||
|
||
/**********滚动条-水平**********/
|
||
QScrollBar:horizontal {
|
||
height:6px;
|
||
background-color: #11375A;
|
||
padding-left: 10px;
|
||
padding-right: 10px;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
QScrollBar::handle:horizontal {
|
||
height:6px;
|
||
border-radius: 2px;
|
||
margin: 0px -10px 0px -10px;
|
||
background: #5A8EB1;
|
||
}
|
||
|
||
QScrollBar::handle:horizontal:hover {
|
||
height:6px;
|
||
background: #96C8FA;
|
||
}
|
||
|
||
QScrollBar::add-line:horizontal {
|
||
height:0px;
|
||
width:0px;
|
||
}
|
||
|
||
QScrollBar::sub-line:horizontal {
|
||
height:6px;
|
||
width:6px;
|
||
subcontrol-position: left;
|
||
subcontrol-origin: margin;
|
||
background-color: transparent;
|
||
}
|
||
|
||
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
|
||
height:6px;
|
||
background-color: transparent;
|
||
}
|
||
|
||
/**********滚动条-垂直**********/
|
||
QScrollBar:vertical {
|
||
width:6px;
|
||
background-color: #11375A;
|
||
padding-top: 10px;
|
||
padding-bottom: 10px;
|
||
border-radius: 2px;
|
||
}
|
||
|
||
QScrollBar::handle:vertical {
|
||
width:6px;
|
||
border-radius: 2px;
|
||
margin: -10px 0px -10px 0px;
|
||
background: #5A8EB1;
|
||
}
|
||
|
||
QScrollBar::handle:vertical:hover {
|
||
width:6px;
|
||
background: #96C8FA;
|
||
}
|
||
|
||
QScrollBar::add-line:vertical {
|
||
height:0px;
|
||
width:0px;
|
||
}
|
||
|
||
QScrollBar::sub-line:vertical {
|
||
height:6px;
|
||
width:6px;
|
||
subcontrol-position: top;
|
||
subcontrol-origin: margin;
|
||
background-color: transparent;
|
||
}
|
||
|
||
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
|
||
width:6px;
|
||
background-color: transparent;
|
||
}
|
||
|
||
/**********滚动区域**********/
|
||
QScrollArea {
|
||
border: 0px ;
|
||
}
|
||
|
||
/**********树形表 & 列表 & 表格**********/
|
||
QTreeView,QListView,QTableView {
|
||
color: #96C8FA;
|
||
border: 1px solid #254062;
|
||
background-color: rgba(12, 26, 41, 102);
|
||
gridline-color: #254062;
|
||
outline: none;
|
||
}
|
||
|
||
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
|
||
color: #54DCFF;
|
||
background: rgba(1, 64, 149, 102);
|
||
}
|
||
|
||
QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
|
||
color: #54DCFF;
|
||
background: rgba(1, 64, 149, 102);
|
||
}
|
||
|
||
QTableView::item, QListView::item, QTreeView::item {
|
||
margin: 0px;
|
||
}
|
||
|
||
QTableView::item:disabled, QListView::item:disabled, QTreeView::item:disabled {
|
||
color: #3a6892;
|
||
background: none;
|
||
border: none;
|
||
}
|
||
|
||
QTableView QTableCornerButton::section {
|
||
background: rgba(90, 142, 177, 26);
|
||
}
|
||
|
||
QTableView::indicator:unchecked, QListView::indicator:unchecked, QTreeView::indicator:unchecked{
|
||
image: url(:/skin/image/blue/checkbox_unchecked.png);
|
||
}
|
||
|
||
QTableView::indicator:unchecked:hover, QListView::indicator:unchecked:hover, QTreeView::indicator:unchecked:hover {
|
||
image: url(:/skin/image/blue/checkbox_unchecked_hover.png);
|
||
}
|
||
|
||
QTableView::indicator:unchecked:pressed, QListView::indicator:unchecked:pressed, QTreeView::indicator:unchecked:pressed {
|
||
image: url(:/skin/image/blue/checkbox_unchecked_pressed.png);
|
||
}
|
||
|
||
QTableView::indicator:checked, QListView::indicator:checked, QTreeView::indicator:checked {
|
||
image: url(:/skin/image/blue/checkbox_checked.png);
|
||
}
|
||
|
||
QTableView::indicator:checked:hover, QListView::indicator:checked:hover, QTreeView::indicator:checked:hover {
|
||
image: url(:/skin/image/blue/checkbox_checked_hover.png);
|
||
}
|
||
|
||
QTableView::indicator:checked:pressed, QListView::indicator:checked:pressed, QTreeView::indicator:checked:pressed {
|
||
image: url(:/skin/image/blue/checkbox_checked_pressed.png);
|
||
}
|
||
|
||
/**********表头**********/
|
||
QHeaderView { background: rgba(90, 142, 177, 26);}
|
||
|
||
QHeaderView::section {
|
||
padding:3px;
|
||
margin:0px;
|
||
color: #96C8FA;
|
||
border: 1px solid #254062;
|
||
background: rgba(90, 142, 177, 26);
|
||
}
|
||
|
||
QHeaderView::section:horizontal {
|
||
padding:3px;
|
||
margin:0px;
|
||
color: #96C8FA;
|
||
/*border-top: 1px solid #254062;*/
|
||
/*border-top: none;
|
||
border-left: none;*/
|
||
border: 1px solid #254062;
|
||
background: rgba(90, 142, 177, 26);
|
||
}
|
||
|
||
|
||
QTabWidget#m_tabWidget_Machines{
|
||
width: 160px;
|
||
font-size: 20px;
|
||
}
|
||
|
||
QTabWidget::pane { /* The tab widget frame */
|
||
border: 2px solid #345D83;
|
||
border-radius: 0px;
|
||
background: transparent;
|
||
font-size: 16px;
|
||
}
|
||
|
||
/*QTabBar::tear {
|
||
border-top: 2px solid #345D83;
|
||
border-left: 2px solid #345D83;
|
||
background-color: rgba(0,0,0,51);
|
||
}*/
|
||
|
||
QTabBar::scroller { /* the width of the scroll buttons */
|
||
width: 16px;
|
||
}
|
||
|
||
QTabBar QToolButton::right-arrow { /* the arrow mark in the tool buttons */
|
||
image: url(:/skin/image/blue/arrow_right.png);
|
||
background: #535353;
|
||
}
|
||
|
||
QTabBar QToolButton::right-arrow:hover { /* the arrow mark in the tool buttons */
|
||
image: url(:/skin/image/blue/arrow_right_hover.png);
|
||
}
|
||
|
||
QTabBar QToolButton::right-arrow:pressed { /* the arrow mark in the tool buttons */
|
||
image: url(:/skin/image/blue/arrow_right_pressed.png);
|
||
}
|
||
|
||
QTabBar QToolButton::right-arrow:!enabled { /* the arrow mark in the tool buttons */
|
||
image: url(:/skin/image/blue/arrow_right_disabled.png);
|
||
}
|
||
|
||
QTabBar QToolButton::left-arrow {
|
||
image: url(:/skin/image/blue/arrow_left.png);
|
||
background: #535353;
|
||
}
|
||
|
||
QTabBar QToolButton::left-arrow:hover {
|
||
image: url(:/skin/image/blue/arrow_left_hover.png);
|
||
}
|
||
|
||
QTabBar QToolButton::left-arrow:pressed {
|
||
image: url(:/skin/image/blue/arrow_left_pressed.png);
|
||
}
|
||
|
||
QTabBar QToolButton::left-arrow:!enabled {
|
||
image: url(:/skin/image/blue/arrow_left_disabled.png);
|
||
}
|
||
|
||
/**********页签项**********/
|
||
QTabBar::tab {
|
||
color: #54DCFF;
|
||
min-width: 60px;
|
||
min-height: 20px;
|
||
padding: 3px 3px 3px 3px;
|
||
margin:1px 2px 0px 0px;
|
||
border: 2px solid #254062;
|
||
background: rgba(90, 142, 177, 26);
|
||
border-bottom: none;
|
||
|
||
border-top-left-radius: 10px;
|
||
border-top-right-radius: 10px;
|
||
|
||
top: 2px;
|
||
width: 230px;
|
||
height:25px;
|
||
font:20px;
|
||
font-weight: bold;
|
||
text-align:left;
|
||
}
|
||
|
||
|
||
/*background-color: rgba(0,0,0,51);*/
|
||
QTabBar::tab:selected, QTabBar::tab:hover {
|
||
color: #54DCFF;
|
||
border: 2px solid #345D83;
|
||
background-color: #345D83;
|
||
border-bottom: none;
|
||
}
|
||
|
||
QTabBar::tab:!enabled {
|
||
color: #3a6892;
|
||
}
|
||
|
||
/**********状态栏**********/
|
||
QStatusBar::item {
|
||
border: 1px solid #282828;
|
||
}
|
||
|
||
/**********微调器**********/
|
||
QSpinBox, QDoubleSpinBox {
|
||
color: #54DCFF;
|
||
border: 1px solid #5a8eb1;
|
||
background: transparent;
|
||
}
|
||
|
||
QSpinBox:hover, QDoubleSpinBox:hover,
|
||
QSpinBox:focus, QDoubleSpinBox:focus{
|
||
color: #54DCFF;
|
||
border: 1px solid #54dcff;
|
||
}
|
||
|
||
QSpinBox:disabled, QDoubleSpinBox:disabled {
|
||
color: #3a6892;
|
||
border: 1px solid #345d83;
|
||
}
|
||
|
||
QSpinBox::up-button, QDoubleSpinBox::up-button,
|
||
QDateEdit::up-button, QTimeEdit::up-button,
|
||
QDateTimeEdit::up-button {
|
||
subcontrol-origin: border;
|
||
subcontrol-position: top right;
|
||
width: 30px;
|
||
background: transparent;
|
||
border-top-right-radius: 3px;
|
||
}
|
||
|
||
QSpinBox::up-arrow, QDoubleSpinBox::up-arrow,
|
||
QDateEdit::up-arrow, QTimeEdit::up-arrow,
|
||
QDateTimeEdit::up-arrow {
|
||
image: url(:/skin/image/blue/arrow_up.png);
|
||
width: 7px;
|
||
height: 7px;
|
||
}
|
||
|
||
QSpinBox::up-arrow:hover, QDoubleSpinBox::up-arrow:hover,
|
||
QDateEdit::up-arrow:hover, QTimeEdit::up-arrow:hover,
|
||
QDateTimeEdit::up-arrow:hover {
|
||
image: url(:/skin/image/blue/arrow_up_hover.png);
|
||
}
|
||
|
||
QSpinBox::up-arrow:pressed, QDoubleSpinBox::up-arrow:pressed,
|
||
QDateEdit::up-arrow:pressed, QTimeEdit::up-arrow:pressed,
|
||
QDateTimeEdit::up-arrow:pressed {
|
||
image: url(:/skin/image/blue/arrow_up_pressed.png);
|
||
}
|
||
|
||
QSpinBox::up-arrow:disabled, QDoubleSpinBox::up-arrow:disabled,
|
||
QDateEdit::up-arrow:disabled, QTimeEdit::up-arrow:disabled,
|
||
QDateTimeEdit::up-arrow:disabled {
|
||
image: url(:/skin/image/blue/arrow_up_disabled.png);
|
||
}
|
||
|
||
QSpinBox::up-button:disabled, QSpinBox::up-button:off,
|
||
QDoubleSpinBox::up-button:disabled, QDoubleSpinBox::up-button:off,
|
||
QDateEdit::up-button:disabled, QDateEdit::up-button:off,
|
||
QTimeEdit::up-button:disabled, QTimeEdit::up-button:off,
|
||
QDateTimeEdit::up-button:disabled, QDateTimeEdit::up-button:off
|
||
{
|
||
background: transparent;
|
||
}
|
||
|
||
QSpinBox::down-button, QDoubleSpinBox::down-button,
|
||
QDateEdit::down-button, QTimeEdit::down-button,
|
||
QDateTimeEdit::down-button {
|
||
subcontrol-origin: border;
|
||
subcontrol-position: bottom right;
|
||
width: 30px;
|
||
background: transparent;
|
||
border-bottom-right-radius: 3px;
|
||
}
|
||
|
||
QSpinBox::down-arrow, QDoubleSpinBox::down-arrow,
|
||
QDateEdit::down-arrow, QTimeEdit::down-arrow,
|
||
QDateTimeEdit::down-arrow
|
||
{
|
||
image: url(:/skin/image/blue/arrow_down.png);
|
||
width: 7px;
|
||
height: 7px;
|
||
}
|
||
|
||
QSpinBox::down-arrow:hover, QDoubleSpinBox::down-arrow:hover,
|
||
QDateEdit::down-arrow:hover, QTimeEdit::down-arrow:hover,
|
||
QDateTimeEdit::down-arrow:hover {
|
||
image: url(:/skin/image/blue/arrow_down_hover.png);
|
||
}
|
||
|
||
QSpinBox::down-arrow:pressed, QDoubleSpinBox::down-arrow:pressed,
|
||
QDateEdit::down-arrow:pressed, QTimeEdit::down-arrow:pressed,
|
||
QDateTimeEdit::down-arrow:pressed {
|
||
image: url(:/skin/image/blue/arrow_down_pressed.png);
|
||
}
|
||
|
||
QSpinBox::down-arrow:disabled, QDoubleSpinBox::down-arrow:disabled,
|
||
QDateEdit::down-arrow:disabled, QTimeEdit::down-arrow:disabled,
|
||
QDateTimeEdit::down-arrow:disabled {
|
||
image: url(:/skin/image/blue/arrow_down_disabled.png);
|
||
}
|
||
|
||
QSpinBox::down-button:disabled, QSpinBox::down-button:off,
|
||
QDoubleSpinBox::down-button:disabled, QDoubleSpinBox::down-button:off,
|
||
QDateEdit::down-button:disabled, QDateEdit::down-button:off,
|
||
QTimeEdit::down-button:disabled, QTimeEdit::down-button:off,
|
||
QDateTimeEdit::down-button:disabled, QDateTimeEdit::down-button:off
|
||
{ /* off state when value in min */
|
||
background: transparent;
|
||
}
|
||
|
||
/**********工具箱**********/
|
||
/*QWidget#page, QWidget#page_2, QWidget#page_3,
|
||
QWidget#page_4, QWidget#page_5, QWidget#page_6{
|
||
border: 1px solid #282828;
|
||
border-radius: 0px;
|
||
background: #535353;
|
||
}*/
|
||
|
||
QToolBox::tab {
|
||
border-bottom-left-radius:0px;
|
||
border-bottom-right-radius:0px;
|
||
color: #A6A6A6;
|
||
/*min-width: 60px;
|
||
min-height: 20px;*/
|
||
/*padding: 3px 8px 3px 8px;
|
||
margin:1px 2px 0px 0px;*/
|
||
background: #363636;
|
||
border: 1px solid #282828;
|
||
}
|
||
|
||
QToolBox::tab:selected, QToolBox::tab:hover {
|
||
color: #51ACFA;
|
||
background: #535353;
|
||
}
|
||
|
||
QToolBox::tab:!enabled {
|
||
color: #3a6892;
|
||
}
|
||
|
||
/**********浮动窗口**********/
|
||
QDockWidget {
|
||
color: #54DCFF;
|
||
titlebar-close-icon: url(:/skin/image/blue/window_close.png);
|
||
titlebar-normal-icon: url(:/skin/image/blue/window_restore.png);
|
||
border-image: url(:/skin/image/blue/bg.png);
|
||
border: 2px solid #345D83;
|
||
}
|
||
|
||
QDockWidget::title {
|
||
text-align: left;
|
||
background: transparent;
|
||
padding: 5px;
|
||
border: 2px solid #345D83;
|
||
}
|
||
|
||
QDockWidget::close-button {
|
||
icon-size: 28px;
|
||
image: url(:/skin/image/blue/window_close.png);
|
||
}
|
||
QDockWidget::float-button
|
||
{
|
||
icon-size: 28px;
|
||
image: url(:/skin/image/blue/window_restore.png);
|
||
}
|
||
|
||
QDockWidget::close-button:hover{
|
||
image: url(:/skin/image/blue/window_close_hover.png);
|
||
}
|
||
|
||
QDockWidget::float-button:hover {
|
||
image: url(:/skin/image/blue/window_restore_hover.png);
|
||
}
|
||
|
||
QDockWidget::close-button:pressed {
|
||
image: url(:/skin/image/blue/window_close_pressed.png);
|
||
}
|
||
|
||
QDockWidget::float-button:pressed
|
||
{
|
||
image: url(:/skin/image/blue/window_restore_pressed.png);
|
||
}
|
||
|
||
QDockWidget::close-button {
|
||
subcontrol-position: top right;
|
||
subcontrol-origin: margin;
|
||
position: absolute;
|
||
top: 0px; right: 5px; bottom: 0px;
|
||
width: 28px;
|
||
}
|
||
|
||
QDockWidget::float-button {
|
||
subcontrol-position: top right;
|
||
subcontrol-origin: margin;
|
||
position: absolute;
|
||
top: 0px; right: 45px; bottom: 0px;
|
||
width: 28px;
|
||
}
|
||
|
||
/***********工具菜单栏***********/
|
||
.QToolButton {
|
||
|
||
}
|
||
|
||
/*播放按钮*/
|
||
QToolButton#m_forwardBtn {
|
||
border: 0px;
|
||
width: 28px;
|
||
height: 28px;
|
||
image: url(:/skin/image/blue/forwardN.png);
|
||
background: transparent;
|
||
}
|
||
QToolButton#m_playPauseBtn {
|
||
border: 0px;
|
||
width: 28px;
|
||
height: 28px;
|
||
image: url(:/skin/image/blue/playN.png);
|
||
background: transparent;
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="pause"] {
|
||
border: 0px;
|
||
width: 28px;
|
||
height: 28px;
|
||
image: url(:/skin/image/blue/pauseN.png);
|
||
background: transparent;
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="play"] {
|
||
border: 0px;
|
||
width: 28px;
|
||
height: 20px;
|
||
image: url(:/skin/image/blue/playN.png);
|
||
background: transparent;
|
||
}
|
||
QToolButton#m_stopBtn {
|
||
border: 0px;
|
||
width: 28px;
|
||
height: 28px;
|
||
image: url(:/skin/image/blue/stopN.png);
|
||
background: transparent;
|
||
}
|
||
QToolButton#m_nextBtn {
|
||
border: 0px;
|
||
width: 28px;
|
||
height: 28px;
|
||
image: url(:/skin/image/blue/nextN.png);
|
||
background: transparent;
|
||
}
|
||
|
||
QToolButton#m_forwardBtn:hover {
|
||
image: url(:/skin/image/blue/forwardH.png);
|
||
}
|
||
QToolButton#m_playPauseBtn:hover {
|
||
image: url(:/skin/image/blue/playH.png);
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="pause"]:hover {
|
||
border: 0px;
|
||
image: url(:/skin/image/blue/pauseH.png);
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="play"]:hover {
|
||
border: 0px;
|
||
image: url(:/skin/image/blue/playH.png);
|
||
}
|
||
QToolButton#m_stopBtn:hover {
|
||
image: url(:/skin/image/blue/stopH.png);
|
||
}
|
||
QToolButton#m_nextBtn:hover {
|
||
image: url(:/skin/image/blue/nextH.png);
|
||
}
|
||
|
||
QToolButton#m_forwardBtn:pressed {
|
||
image: url(:/skin/image/blue/forwardP.png);
|
||
}
|
||
QToolButton#m_playPauseBtn:pressed {
|
||
image: url(:/skin/image/blue/playP.png);
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="pause"]:pressed {
|
||
image: url(:/skin/image/blue/pauseP.png);
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="play"]:pressed {
|
||
image: url(:/skin/image/blue/playP.png);
|
||
}
|
||
QToolButton#m_stopBtn:pressed {
|
||
image: url(:/skin/image/blue/stopP.png);
|
||
}
|
||
QToolButton#m_nextBtn:pressed {
|
||
image: url(:/skin/image/blue/nextP.png);
|
||
}
|
||
|
||
QToolButton#m_forwardBtn:!enabled {
|
||
image: url(:/skin/image/blue/forwardD.png);
|
||
}
|
||
QToolButton#m_playPauseBtn:!enabled {
|
||
image: url(:/skin/image/blue/playD.png);
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="pause"]:!enabled {
|
||
image: url(:/skin/image/blue/pauseD.png);
|
||
}
|
||
QToolButton#m_playPauseBtn[playProperty="play"]:!enabled {
|
||
image: url(:/skin/image/blue/playD.png);
|
||
}
|
||
QToolButton#m_stopBtn:!enabled {
|
||
image: url(:/skin/image/blue/stopD.png);
|
||
}
|
||
QToolButton#m_nextBtn:!enabled {
|
||
image: url(:/skin/image/blue/nextD.png);
|
||
}
|
||
|
||
/*工具栏按钮*/
|
||
QToolButton#m_recordBtn {
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/record.png);
|
||
}
|
||
QToolButton#m_recordBtn[recordProperty="start"] {
|
||
border-image: url(:/skin/image/blue/record.png);
|
||
}
|
||
QToolButton#m_recordBtn[recordProperty="stop"] {
|
||
border-image: url(:/skin/image/blue/recordstop.png);
|
||
}
|
||
|
||
QToolButton#m_recordBtn:hover {
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/recordH.png);
|
||
}
|
||
QToolButton#m_recordBtn[recordProperty="start"]:hover {
|
||
border-image: url(:/skin/image/blue/recordH.png);
|
||
}
|
||
QToolButton#m_recordBtn[recordProperty="stop"]:hover {
|
||
border-image: url(:/skin/image/blue/recordstopH.png);
|
||
}
|
||
|
||
QToolButton#m_recordBtn:pressed {
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/recordH.png);
|
||
}
|
||
QToolButton#m_recordBtn[recordProperty="start"]:pressed {
|
||
border-image: url(:/skin/image/blue/recordP.png);
|
||
}
|
||
QToolButton#m_recordBtn[recordProperty="stop"]:pressed {
|
||
border-image: url(:/skin/image/blue/recordstopP.png);
|
||
}
|
||
|
||
QToolButton#m_recordBtn:!enabled {
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/recordD.png);
|
||
}
|
||
|
||
QToolButton#m_openDevAction_2 {
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/monitor.png);
|
||
}
|
||
QToolButton#m_openFileAction_2{
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/file.png);
|
||
}
|
||
QToolButton#m_setBtn {
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/settings.png);
|
||
}
|
||
QToolButton#m_captureBtn {
|
||
border-image: url(:/skin/image/blue/capture.png);
|
||
}
|
||
QToolButton#m_controlBtn {
|
||
background: transparent;
|
||
border-image: url(:/skin/image/blue/param.png);
|
||
}
|
||
|
||
QToolButton#m_openDevAction_2:hover {
|
||
border-image: url(:/skin/image/blue/monitorH.png);
|
||
}
|
||
QToolButton#m_openFileAction_2:hover {
|
||
border-image: url(:/skin/image/blue/fileH.png);
|
||
}
|
||
QToolButton#m_setBtn:hover {
|
||
border-image: url(:/skin/image/blue/settingsH.png);
|
||
}
|
||
QToolButton#m_captureBtn:hover {
|
||
border-image: url(:/skin/image/blue/captureH.png);
|
||
}
|
||
QToolButton#m_controlBtn:hover {
|
||
border-image: url(:/skin/image/blue/paramH.png);
|
||
}
|
||
|
||
QToolButton#m_openDevAction_2:pressed {
|
||
border-image: url(:/skin/image/blue/monitorP.png);
|
||
}
|
||
QToolButton#m_openFileAction_2:pressed {
|
||
border-image: url(:/skin/image/blue/fileP.png);
|
||
}
|
||
QToolButton#m_setBtn:pressed {
|
||
border-image: url(:/skin/image/blue/settingsP.png);
|
||
}
|
||
QToolButton#m_captureBtn:pressed {
|
||
border-image: url(:/skin/image/blue/captureP.png);
|
||
}
|
||
QToolButton#m_controlBtn:pressed {
|
||
border-image: url(:/skin/image/blue/paramP.png);
|
||
}
|
||
|
||
QToolButton#m_openDevAction_2:!enabled {
|
||
border-image: url(:/skin/image/blue/monitorD.png);
|
||
}
|
||
QToolButton#m_openFileAction_2:!enabled {
|
||
border-image: url(:/skin/image/blue/fileD.png);
|
||
}
|
||
QToolButton#m_setBtn:!enabled {
|
||
border-image: url(:/skin/image/blue/settingsD.png);
|
||
}
|
||
QToolButton#m_captureBtn:!enabled {
|
||
border-image: url(:/skin/image/blue/captureD.png);
|
||
}
|
||
QToolButton#m_controlBtn:!enabled {
|
||
border-image: url(:/skin/image/blue/paramD.png);
|
||
}
|