/* ===== 通用样式 ===== */ * { font-family: "微软雅黑"; font-size: 12px; } QCheckBox:disabled { color: rgb(166,170,168); } /* 编辑框 */ QDoubleSpinBox, QSpinBox, QTextEdit, QLineEdit, QComboBox { border: 1 solid #a6aaa8; selection-background-color: #C0C0C0; selection-color: black; background: #ffffff; } QDoubleSpinBox:focus, QSpinBox:focus, QTextEdit:focus, QLineEdit:focus, QComboBox:focus { border: 1 solid #6fa2e8; } QSpinBox:disabled, QTextEdit:disabled, QLineEdit:disabled, QComboBox:disabled { background: #d9d8d8; } QTextEdit { /* background: transparent; */ } /* 保存图片配置页面的combox去掉padding-top和padding-bottom,使同一行与spinbox和lineedit保持高度一致 */ CSaveImageDlg QComboBox { padding-top: 0px; padding-bottom: 0px; } /* 按钮 */ QPushButton, QToolButton { border:0px solid #808080; background: #BABABA; border-radius: 3px; padding: 0 6 0 6; min-width: 50px; min-height: 25px; } QPushButton:hover, QToolButton:hover { background: #9D9D9D; } QPushButton:pressed, QToolButton:pressed { background: #858585; } QPushButton:checked, QToolButton:checked { background: #3164B1; } QPushButton:disabled, QToolButton:disabled { background: #777777; color: #636262; } QPushButton:default, QToolButton:default, QPushButton[highlight="1"] { background: #edab56; } QPushButton:default:hover, QToolButton:default:hover, QPushButton[highlight="1"]:hover { background: #f19217; } QPushButton:default:pressed, QToolButton:default:pressed, QPushButton[highlight="1"]:pressed { background: #fb7037; } QPushButton:default:disabled, QToolButton:default:disabled, QPushButton[highlight="1"]:disabled { background: #917045; color: #808080; } /* 下拉框 */ QComboBox { padding: 1px 5px 1px 5px; } QComboBox:on, QComboBox:hover, QComboBox QAbstractItemView::item:hover, QComboBox QAbstractItemView::item:selected { color: rgb(251,156,45); } QComboBox QAbstractItemView { outline: 0px; selection-background-color: lightgray; selection-color: rgb(251,156,45); } QComboBox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; margin-right: 5px; border: 0; } QComboBox::down-arrow { image: url(Skins/Default/CamTools/Parts_Icon_Pulldown_Normal.png) } QComboBox::down-arrow:hover { image: url(Skins/Default/CamTools/Parts_Icon_Pulldown_Hover.png) } QComboBox::down-arrow:pressed { image: url(Skins/Default/CamTools/Parts_Icon_Pulldown_Pressed.png) } QComboBox::down-arrow:disabled { image: url(Skins/Default/CamTools/Parts_Icon_Pulldown_Disable.png) } /* QRadioButton */ QRadioButton::indicator::unchecked { image: url(Skins/Default/CamTools/Parts_RadioBtn_UnChecked_Normal.png); } QRadioButton::indicator::unchecked:hover { image: url(Skins/Default/CamTools/Parts_RadioBtn_UnChecked_Hover.png); } QRadioButton::indicator::unchecked:pressed { image: url(Skins/Default/CamTools/Parts_RadioBtn_UnChecked_Pressed.png); } QRadioButton::indicator::unchecked:disabled { image: url(Skins/Default/CamTools/Parts_RadioBtn_UnChecked_Disable.png); } QRadioButton::indicator::checked { image: url(Skins/Default/CamTools/Parts_RadioBtn_Checked_Normal.png); } QRadioButton::indicator::checked:hover { image: url(Skins/Default/CamTools/Parts_RadioBtn_Checked_Hover.png); } QRadioButton::indicator::checked:pressed { image: url(Skins/Default/CamTools/Parts_RadioBtn_Checked_Pressed.png); } QRadioButton::indicator::checked:disabled { image: url(Skins/Default/CamTools/Parts_RadioBtn_Checked_Disable.png); } QRadioButton { color:rgb(100,100,100); } QRadioButton:hover { color:rgb(236,137,9); } /* SpinBox */ QDoubleSpinBox, QSpinBox { padding-right: 16px; } QDoubleSpinBox::up-button, QSpinBox::up-button { subcontrol-origin: border; subcontrol-position: top right; width: 15px; border-image: url(Skins/Default/Parts_SpinBox_Up_Normal.png); margin: 1; } QDoubleSpinBox::up-button:hover, QSpinBox::up-button:hover { border-image: url(Skins/Default/Parts_SpinBox_Up_Hover.png); } QDoubleSpinBox::up-button:pressed, QSpinBox::up-button:pressed { border-image: url(Skins/Default/Parts_SpinBox_Up_Pressed.png); } QDoubleSpinBox::up-button:disabled, QSpinBox::up-button:disabled { border-image: url(Skins/Default/Parts_SpinBox_Up_Disable.png); } QDoubleSpinBox::down-button, QSpinBox::down-button { subcontrol-origin: border; subcontrol-position: bottom right; width: 15px; border-image: url(Skins/Default/Parts_SpinBox_Down_Normal.png); margin: 1; } QDoubleSpinBox::down-button:hover, QSpinBox::down-button:hover { border-image: url(Skins/Default/Parts_SpinBox_Down_Hover.png); } QDoubleSpinBox::down-button:pressed, QSpinBox::down-button:pressed { border-image: url(Skins/Default/Parts_SpinBox_Down_Pressed.png); } QDoubleSpinBox::down-button:disabled, QSpinBox::down-button:disabled { border-image: url(Skins/Default/Parts_SpinBox_Down_Disable.png); } /* QHeaderView */ QHeaderView::section { background-color: #AAAAAA; color: black; padding-left: 5; border-radius: 0; } QHeaderView::section:middle, QHeaderView::section:last { border-left: 1 solid #E2E2E2; } CommonDialog { background: #F0F0F0; } QCheckBox,CommonDialog QCheckBox { spacing: 8px; color: rgb(62,62,62); } QCheckBox:hover,CommonDialog QCheckBox:hover { color: rgb(82,161,51); } CommonDialog QCheckBox::indicator { } QCheckBox::indicator:unchecked,CommonDialog QCheckBox::indicator:unchecked { image: url(Skins/Default/CamTools/Parts_CheckBox_Unchecked_Normal.png); } QCheckBox::indicator:unchecked:hover,CommonDialog QCheckBox::indicator:unchecked:hover { image: url(Skins/Default/CamTools/Parts_CheckBox_Unchecked_Hover.png); } QCheckBox::indicator:unchecked:disabled,CommonDialog QCheckBox::indicator:unchecked:disabled { image: url(Skins/Default/CamTools/Parts_CheckBox_Unchecked_Disable.png); } QCheckBox::indicator:unchecked:pressed,CommonDialog QCheckBox::indicator:unchecked:pressed { image: url(Skins/Default/CamTools/Parts_CheckBox_Unchecked_Pressed.png); } QCheckBox::indicator:checked,CommonDialog QCheckBox::indicator:checked { image: url(Skins/Default/CamTools/Parts_CheckBox_Checked_Normal.png); } QCheckBox::indicator:checked:hover,CommonDialog QCheckBox::indicator:checked:hover { image: url(Skins/Default/CamTools/Parts_CheckBox_Checked_Hover.png); } QCheckBox::indicator:checked:disabled,CommonDialog QCheckBox::indicator:checked:disabled { image: url(Skins/Default/CamTools/Parts_CheckBox_Checked_Disable.png); } QCheckBox::indicator:checked:pressed,CommonDialog QCheckBox::indicator:checked:pressed { image: url(Skins/Default/CamTools/Parts_CheckBox_Checked_Pressed.png); } QCheckBox#checkBox_AutoSearch::indicator { min-width: 18px; min-height: 18px; max-width: 18px; max-height: 18px; } QCheckBox#checkBox_AutoSearch { spacing: 5px; min-width: 85px; max-width: 85px; min-height: 18px; max-height: 18px; } QDialog QLabel#lbIconBrown, CommonDialog QLabel#lbIconBrown { margin-right: 10; image: url(Skins/Default/CamTools/Parts_Icon_Title_Bar_Brown.png); } QDialog QLabel#lbIconBlue, CommonDialog QLabel#lbIconBlue { margin-right: 10; image: url(Skins/Default/CamTools/Parts_Icon_Title_Bar_Blue.png); } QDialog QLabel#lbIconGreen, CommonDialog QLabel#lbIconGreen { margin-right: 10; image: url(Skins/Default/CamTools/Parts_Icon_Title_Bar_Green.png); } QDialog QLabel#lbIconPurple, CommonDialog QLabel#lbIconPurple { margin-right: 10; image: url(Skins/Default/CamTools/Parts_Icon_Title_Bar_Purple.png); } QDialog QGroupBox, CommonDialog QGroupBox { background: #e2e2e2; /* border: 1 solid red; */ border-radius: 5px; margin-top: 2ex; padding: 1ex; } CommonDialog QPushButton#btnSaveAs,QPushButton#Btn_SelectFile { qproperty-text: ""; min-width: 36px; min-height: 25px; max-width: 36px; max-height: 25px; background: transparent; margin: 0; padding: 0; border-image: url(Skins/Default/Parts_Btn_Path_Selector_Normal.png); } CommonDialog QPushButton#btnSaveAs:hover { border-image: url(Skins/Default/Parts_Btn_Path_Selector_Hover.png); } CommonDialog QPushButton#btnSaveAs:disabled { border-image: url(Skins/Default/Parts_Btn_Path_Selector_Disable.png); } CommonDialog QPushButton#btnSaveAs:pressed { border-image: url(Skins/Default/Parts_Btn_Path_Selector_Pressed.png); } CommonDialog QPushButton#Btn_SelectFile:hover { border-image: url(Skins/Default/Parts_Btn_Path_Selector_Hover.png); } CommonDialog QPushButton#Btn_SelectFile:disabled { border-image: url(Skins/Default/Parts_Btn_Path_Selector_Disable.png); } CommonDialog QPushButton#Btn_SelectFile:pressed { border-image: url(Skins/Default/Parts_Btn_Path_Selector_Pressed.png); } CommonMessageBox { border: 1 solid #808080; } CommonMessageBox CommonTitleBar QToolButton { } CommonMessageBox QFrame#mainFrame { margin: 10 30; min-width: 360; } CommonMessageBox QFrame#buttonsFrame { } CommonMessageBox QLabel#lbIcon { margin-right: 30; min-width: 48; min-height: 48; } CommonMessageBox QLabel#lbIcon[icon="0"] { image: url(Skins/Default/CamTools/Parts_Icon_Popup_Info.png); } CommonMessageBox QLabel#lbIcon[icon="1"] { image: url(Skins/Default/CamTools/Parts_Icon_Popup_Info.png); } CommonMessageBox QLabel#lbIcon[icon="2"] { image: url(Skins/Default/Parts_Icon_Popup_Warning.png); } CommonMessageBox QLabel#lbIcon[icon="3"] { image: url(Skins/Default/CamTools/Parts_Icon_Popup_Error.png); } CommonMessageBox QLabel#lbIcon[icon="4"] { image: url(Skins/Default/CamTools/Parts_Icon_Popup_Question.png); } QDialog QToolButton, FrmDeviceControl QToolButton { min-height: 0; min-width: 0; border: 0; border-radius: 0; background: transpaent; } /* 主框架 */ Mainwindow_new { background: #363636; } QWidget#mainCentralWidget { background: #1F1F1F; } QMainWindow QToolButton { padding: 0; } QWidget#statusBar QLabel{ color:white; } /* 菜单栏 */ QMenuBar { background: #595959; spacing: 5px; } QMenuBar::item { color: white; background: transparent; } QMenuBar::item:selected { margin-top: 1px; margin-bottom: 1px; background: #404040; } QMenuBar::item:pressed { background: #333333; } QMenu { background-color: #303030; margin: 1px; border: 1px solid #666666; } QMenu::item { background-color: #303030; color: white; min-height: 20px; padding: 2px 25px 2px 25px; border: 0px solid transparent; /* reserve space for selection border */ } QMenu::item:selected { background: #5E5E5E; color: #FB9C2D; } QMenu::item:disabled { color: #808080; } QMenu::separator { height: 1px; background: #595959; } QMenu::indicator { left: 5px; } /* 工具栏 */ QToolBar { /* border-image: url(Skins/Default/Parts_Icon_Toolbar_Background.png); */ spacing: 5px; border-top: 2 solid qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(48,48,48), stop:1 rgb(163,163,163)); background: #606060; padding: 3px; } QToolBar::separator { width: 1px; background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(88,88,88), stop:0.5 rgb(128,128,128), stop:1 rgb(88,88,88)); } QToolBar QToolButton { min-width: 27px; min-height: 25px; max-width: 27px; max-height: 25px; margin: 0; background: transparent; border: 0; } QToolBar QToolButton:hover { background: #404040; } QToolBar QToolButton:pressed { background: #202020; } QToolBar QToolButton:disabled { background: transparent; } QToolBar QToolButton#toolButtonConnect { border-image: url(Skins/Default/Parts_Btn_Connect_Normal.png); } QToolBar QToolButton#toolButtonConnect:hover { border-image: url(Skins/Default/Parts_Btn_Connect_Hover.png); } QToolBar QToolButton#toolButtonConnect:disabled { border-image: url(Skins/Default/Parts_Btn_Connect_Disable.png); } QToolBar QToolButton#toolButtonConnect:pressed { border-image: url(Skins/Default/Parts_Btn_Connect_Pressed.png); } QToolBar QToolButton#toolButtonDisconnect { border-image: url(Skins/Default/Parts_Btn_Disconnect_Normal.png); } QToolBar QToolButton#toolButtonDisconnect:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Disconnect_Hover.png); } QToolBar QToolButton#toolButtonDisconnect:pressed { border-image: url(Skins/Default/CamTools/Parts_Btn_Disconnect_Pressed.png); } QToolBar QToolButton#toolButtonDisconnect:disabled { border-image: url(Skins/Default/CamTools/Parts_Btn_Disconnect_Disable.png); } QToolBar QToolButton#toolButtonOpen { border-image: url(Skins/Default/CamTools/Parts_Btn_Open_File_Normal.png); } QToolBar QToolButton#toolButtonOpen:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Open_File_Hover.png); } QToolBar QToolButton#toolButtonOpen:disabled { border-image: url(Skins/Default/CamTools/Parts_Btn_Open_File_Disable.png); } QToolBar QToolButton#toolButtonOpen:pressed { border-image: url(Skins/Default/CamTools/Parts_Btn_Open_File_Pressed.png); } QToolBar QToolButton#toolButtonSave { border-image: url(Skins/Default/CamTools/Parts_Btn_Save_File_Normal.png); } QToolBar QToolButton#toolButtonSave:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Save_File_Hover.png); } QToolBar QToolButton#toolButtonSave:disabled { border-image: url(Skins/Default/CamTools/Parts_Btn_Save_File_Disable.png); } QToolBar QToolButton#toolButtonSave:pressed { border-image: url(Skins/Default/CamTools/Parts_Btn_Save_File_Pressed.png); } /* 主界面标题栏 */ CommonTitleBar QWidget, TitleBar QWidget { min-height: 26px; background: #363636; } CommonTitleBar QLabel, TitleBar QLabel { color: white; } CommonTitleBar QLabel#lbLogo, TitleBar QLabel#lbLogo { padding: 0 6; min-width: 32px; image: url("Skins/Default/Parts_Icon_Window_Logo.png"); } CommonTitleBar QToolButton, CommonTitleBar QToolButton:hover, CommonTitleBar QToolButton:pressed, CommonTitleBar QToolButton:disabled, TitleBar QToolButton, TitleBar QToolButton:hover, TitleBar QToolButton:pressed, TitleBar QToolButton:disabled { min-width: 0; min-height: 0; /* border: 1 solid red; */ border-radius: 0; background: none; } CommonTitleBar QToolButton#btnMin, TitleBar QToolButton#btnMin { border-image: url("Skins/Default/CamTools/Parts_Btn_Window_Minimum_Normal.png"); } CommonTitleBar QToolButton#btnMin:hover, TitleBar QToolButton#btnMin:hover { border-image: url("Skins/Default/CamTools/Parts_Btn_Window_Minimum_Hover.png"); } CommonTitleBar QToolButton#btnMin:pressed, TitleBar QToolButton#btnMin:pressed { border-image: url("Skins/Default/CamTools/Parts_Btn_Window_Minimum_Pressed.png"); } CommonTitleBar QToolButton#btnClose, TitleBar QToolButton#btnClose { border-image: url("Skins/Default/CamTools/Parts_Btn_Window_Close_Normal.png"); } CommonTitleBar QToolButton#btnClose:hover, TitleBar QToolButton#btnClose:hover { border-image: url("Skins/Default/CamTools/Parts_Btn_Window_Close_Hover.png"); } CommonTitleBar QToolButton#btnClose:pressed, TitleBar QToolButton#btnClose:pressed { border-image: url("Skins/Default/CamTools/Parts_Btn_Window_Close_Pressed.png"); } Mainwindow_new TitleBar QWidget:!active, CommonDialog CommonTitleBar QWidget:!active, Mainwindow_new:!active { background: #808080; } /* 视频显示界面 */ VideoWidget { background-color: rgb(24,23,23); min-width: 450; min-height: 200; border: 1px solid rgb(100,100,100); border-top: 0; border-bottom: 0; } VideoWidget QFrame#frameLogo { background-color: transparent; image: url("Skins/Default/Parts_Icon_Vendor_Logo.png"); } /* ===== 播放工具栏 ===== */ QWidget#videoControlBar { background-color: rgb(52,52,52); border: 1px solid rgb(100,100,100); border-bottom: 0; max-height: 100; min-height: 50; } /* 按钮 */ VideoWidget QToolButton { min-width: 32; max-width: 32; min-height: 32; max-height: 32; margin: 3 3 5 3; background: none; border: 0; } /* 播放和模式选择: 按钮和组合框的组合控件 */ QComboButton { min-width: 170; max-width: 300; min-height: 32; max-height: 40; } /* 播放按钮 */ QWidget#front_button { border-image: url(Skins/Default/Parts_Btn_Play_Normal.png); } QWidget#front_button:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Play_Hover.png); } QWidget#front_button:pressed { background: none; border-image: url(Skins/Default/Parts_Btn_Play_Pressed.png); } QWidget#front_button:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Play_Disable.png); } /* 模式选择 */ QWidget#back_combobox { padding: 1px 0px 1px 48px; height: 36; border-radius: 20px; background-color: rgb(52,52,52); border: 2px solid rgb(100,100,100); font-size: 14px; font-weight: bold; color: rgb(116,115,115); } QWidget#back_combobox:hover { color: rgb(251,156,45); } QComboButton QComboBox QAbstractItemView { background-color: rgb(52,52,52); border: 1px solid rgb(100,100,100); outline: 0px; } QComboButton QComboBox QFrame { /* margin: 10; background-color: red; */ } QComboButton QComboBox QAbstractItemView::item { color: rgb(255,255,255); min-height: 30px; text-align: center; margin: 1 1 1 1; } QComboButton QComboBox QAbstractItemView::item:hover, QComboBox QAbstractItemView::item:selected { color: rgb(251,156,45); background-color: rgb(62,62,62); } QWidget#back_combobox::drop-down { subcontrol-origin: padding; subcontrol-position: top right; margin-right: 3px; min-width: 30px; border: 0; } QWidget#back_combobox::down-arrow { image: url(Skins/Default/Parts_Icon_Play_Mode_Pulldown_Normal.png) } QWidget#back_combobox::down-arrow:hover { image: url(Skins/Default/Parts_Icon_Play_Mode_Pulldown_Hover.png) } QWidget#back_combobox::down-arrow:pressed { image: url(Skins/Default/Parts_Icon_Play_Mode_Pulldown_Pressed.png) } QWidget#back_combobox::down-arrow:disabled { image: url(Skins/Default/Parts_Icon_Play_Mode_Pulldown_Disable.png) } /* 停止按钮 */ QWidget#btnVideoStopPlay { background: none; border-image: url(Skins/Default/Parts_Btn_Stop_Normal.png); } QWidget#btnVideoStopPlay:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Stop_Hover.png); } QWidget#btnVideoStopPlay:pressed { background: none; border-image: url(Skins/Default/Parts_Btn_Stop_Pressed.png); } QWidget#btnVideoStopPlay:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Stop_Disable.png); } /* 保存按钮 */ QWidget#btnVideoSaveImage { background: none; border-image: url(Skins/Default/Parts_Btn_Save_Current_Image_Normal.png); } QWidget#btnVideoSaveImage:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Save_Current_Image_Hover.png); } QWidget#btnVideoSaveImage:pressed, QWidget#btnVideoSaveImage:checked { background: none; border-image: url(Skins/Default/Parts_Btn_Save_Current_Image_Pressed.png); } QWidget#btnVideoSaveImage:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Save_Current_Image_Disable.png); } /* 缩放按钮 */ VideoWidget QToolButton#btnZoomIn { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_In_Normal.png); } VideoWidget QToolButton#btnZoomIn:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_In_Hover.png); } VideoWidget QToolButton#btnZoomIn:pressed { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_In_Pressed.png); } VideoWidget QToolButton#btnZoomIn:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_In_Disable.png); } VideoWidget QToolButton#btnZoomOut { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Out_Normal.png); } VideoWidget QToolButton#btnZoomOut:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Out_Hover.png); } VideoWidget QToolButton#btnZoomOut:pressed { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Out_Pressed.png); } VideoWidget QToolButton#btnZoomOut:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Out_Disable.png); } VideoWidget QToolButton#btnZoom100 { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_100_Normal.png); } VideoWidget QToolButton#btnZoom100:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_100_Hover.png); } VideoWidget QToolButton#btnZoom100:pressed { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_100_Pressed.png); } VideoWidget QToolButton#btnZoom100:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_100_Disable.png); } VideoWidget QToolButton#btnZoomFit { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Fit_Normal.png); } VideoWidget QToolButton#btnZoomFit:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Fit_Hover.png); } VideoWidget QToolButton#btnZoomFit:pressed { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Fit_Pressed.png); } VideoWidget QToolButton#btnZoomFit:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Zoom_Fit_Disable.png); } VideoWidget QToolButton#btnCenter { background: none; border-image: url(Skins/Default/Parts_Btn_GoTo_IMG_Center_Normal.png); } VideoWidget QToolButton#btnCenter:hover { background: none; border-image: url(Skins/Default/Parts_Btn_GoTo_IMG_Center_Hover.png); } VideoWidget QToolButton#btnCenter:pressed { background: none; border-image: url(Skins/Default/Parts_Btn_GoTo_IMG_Center_Pressed.png); } VideoWidget QToolButton#btnCenter:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_GoTo_IMG_Center_Disable.png); } /* 翻转按钮 */ VideoWidget QToolButton#btnReverseX { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_X_Normal.png); } VideoWidget QToolButton#btnReverseX:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_X_Hover.png); } VideoWidget QToolButton#btnReverseX:pressed, VideoWidget QToolButton#btnReverseX:checked { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_X_Pressed.png); } VideoWidget QToolButton#btnReverseX:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_X_Disable.png); } VideoWidget QToolButton#btnReverseY { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_Y_Normal.png); } VideoWidget QToolButton#btnReverseY:hover { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_Y_Hover.png); } VideoWidget QToolButton#btnReverseY:pressed, VideoWidget QToolButton#btnReverseY:checked { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_Y_Pressed.png); } VideoWidget QToolButton#btnReverseY:disabled { background: none; border-image: url(Skins/Default/Parts_Btn_Image_Reverse_Y_Disable.png); } VideoWidget QWidget#videoControlBar QLabel { /* image: url("Skins/Default/Parts_Icon_Video_Btns_Seperator.gif"); */ max-width: 1px; max-height: 36px; background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(66,66,66), stop:0.5 rgb(128,128,128), stop:1 rgb(66,66,66)); } /* 状态栏 */ QWidget#statusBar { max-height: 35px; background-color: #555555; /* min-height: 32px; */ /*border: 1px solid rgb(100,100,100);*/ } /* QStatusBar::item { border-right: 1px solid qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(66,66,66), stop:0.5 rgb(128,128,128), stop:1 rgb(66,66,66)); } */ QWidget#statusBar QLabel { color: #bbbbbb; padding-left: 0px; padding-right: 0px; } QWidget#statusBar QLineEdit { background-color: #555555; color: #bbbbbb; padding: 0px; border: 0px; } /* tab bar */ QTabWidget#tabWidget { min-width: 250px; border: 0; } QTabWidget::pane { /* The tab widget frame */ border: 0px; background: #E2E2E2; } QTabWidget::tab-bar { left: 0px; /* move to the right by 5px */ } QTabBar::tab { background: #5F5F5F; color: #ffffff; min-width: 80px; min-height: 20px; /* border-right: 2px solid #333333; */ border: 1px solid #A0A0A0; } QTabBar::tab:selected, QTabBar::tab:hover { background: #DADADA; color: #000000; } QSplitter { width: 2px; background: #5F5F5F; } QSplitter::handle { background: #1F1F1F; } QDialog QSplitter::handle, FrmDeviceControl QSplitter::handle{ width: 2px; background: #dedede; } FrmCommCtrl QSplitter::handle { height: 6px; background: #dedede; } /* 水平滚动条 */ QScrollBar:horizontal { border: 1px solid white; background: #C7C7C7; height: 16px; margin: 0 17 0 17; } QScrollBar::handle:horizontal { background: #6D6D6D; min-width: 16px; } QScrollBar::add-line:horizontal { border: 1px solid white; background: #C7C7C7; width: 16px; subcontrol-position: right; subcontrol-origin: margin; } QScrollBar::sub-line:horizontal { border: 1px solid white; background: #C7C7C7; width: 16px; subcontrol-position: left; subcontrol-origin: margin; } /* 垂直滚动条 */ QScrollBar:vertical { border: 1px solid white; background: #C7C7C7; width: 16px; margin: 17 0 17 0; } QScrollBar::handle:vertical { background: #6D6D6D; min-height: 16px; } QScrollBar::add-line:vertical { border: 1px solid white; background: #C7C7C7; height: 16px; subcontrol-position: bottom; subcontrol-origin: margin; } QScrollBar::sub-line:vertical { border: 1px solid white; background: #C7C7C7; height: 16px; subcontrol-position: top; subcontrol-origin: margin; } QScrollBar::up-arrow { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Up_Normal.png); } QScrollBar::up-arrow:hover { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Up_Hover.png); } QScrollBar::up-arrow:pressed { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Up_Pressed.png); } QScrollBar::up-arrow:disabled { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Up_Disable.png); } QScrollBar::down-arrow { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Down_Normal.png); } QScrollBar::down-arrow:hover { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Down_Hover.png); } QScrollBar::down-arrow:pressed { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Down_Pressed.png); } QScrollBar::down-arrow:disabled { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Down_Disable.png); } QScrollBar::right-arrow { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Right_Normal.png); } QScrollBar::right-arrow:hover { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Right_Hover.png); } QScrollBar::right-arrow:pressed { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Right_Pressed.png); } QScrollBar::right-arrow:disabled { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Right_Disable.png); } QScrollBar::left-arrow { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Left_Normal.png); } QScrollBar::left-arrow:hover { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Left_Hover.png); } QScrollBar::left-arrow:pressed { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Left_Pressed.png); } QScrollBar::left-arrow:disabled { image: url(Skins/Default/CamTools/Parts_Btn_ScrollBar_Left_Disable.png); } /* 设备发现界面 */ QDiscoveryDevices QLabel#PBrown { max-width: 3px; max-height: 15px; image: url(Skins/Default/CamTools/Parts_Icon_Title_Bar_Brown.png); } QDiscoveryDevices QLabel#PBlue { max-width: 3px; max-height: 15px; image: url(Skins/Default/CamTools/Parts_Icon_Title_Bar_Blue.png); } QDiscoveryDevices > QPushButton { border: 0; border-radius: 0; padding: 0; min-width: 0px; min-height: 0px; } QDiscoveryDevices QPushButton#reflesh { min-width: 18px; min-height: 18px; max-width: 18px; max-height: 18px; background: transparent; border-image: url(Skins/Default/CamTools/Parts_Btn_Refresh_Normal.png); } QDiscoveryDevices QPushButton#reflesh:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Refresh_Hover.png); } QDiscoveryDevices QPushButton#reflesh:pressed { border-image: url(Skins/Default/CamTools/Parts_Btn_Refresh_Pressed.png); } QDiscoveryDevices QPushButton#reflesh:disabled { border-image: url(Skins/Default/CamTools/Parts_Btn_Refresh_Disable.png); } QDiscoveryDevices QTreeWidget { border-top: 2px solid #808080; padding-top: 5px; background: transparent; } QDiscoveryDevices QTreeView::item { height: 22; } QDiscoveryDevices QTreeWidget QPushButton { min-width: 28; min-height: 22; max-width: 28; max-height: 22; background: none; border-radius: 0; qproperty-text: ""; margin: 0; padding: 0; } QDiscoveryDevices QTreeWidget QPushButton#btnConnect { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Connect_Normal.png); } QDiscoveryDevices QTreeWidget QPushButton#btnConnect:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Connect_Hover.png); } QDiscoveryDevices QTreeWidget QPushButton#btnConnect:pressed { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Connect_Pressed.png); } QDiscoveryDevices QTreeWidget QPushButton#btnConnect:disabled { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Connect_Disable.png); } QDiscoveryDevices QTreeWidget QPushButton#btnDisconnect { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Disonnect_Normal.png); } QDiscoveryDevices QTreeWidget QPushButton#btnDisconnect:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Disconnect_Hover.png); } QDiscoveryDevices QTreeWidget QPushButton#btnDisconnect:pressed { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Disconnect_Pressed.png); } QDiscoveryDevices QTreeWidget QPushButton#btnDisconnect:disabled { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Disconnect_Disable.png); } QDiscoveryDevices QTreeWidget QPushButton#btnForceIP { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Modify_IP_Normal.png); } QDiscoveryDevices QTreeWidget QPushButton#btnForceIP:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Modify_IP_Hover.png); } QDiscoveryDevices QTreeWidget QPushButton#btnForceIP:pressed { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Modify_IP_Pressed.png); } QDiscoveryDevices QTreeWidget QPushButton#btnForceIP:disabled { border-image: url(Skins/Default/CamTools/Parts_Btn_Device_List_Modify_IP_Disable.png); } QTreeView { outline: 0; } QTreeView::item:hover { background: #B0B0B0; } QTreeView::item:selected { background: #A0A0A0; } QTreeView::item:selected:active{ background: #A0A0A0; } QTreeView::item:selected:!active { background: #A0A0A0; } QTreeView::branch:has-siblings:!adjoins-item { /* image: url(Skins/Default/Parts_Icon_Tree_Line.png); */ } QTreeView::branch { image: none; } /* QTreeView::branch:has-siblings:adjoins-item { image: url(Skins/Default/CamTools/Parts_Icon_Tree_Line_Middle.png); } QTreeView::branch:!has-children:!has-siblings:adjoins-item { image: url(Skins/Default/CamTools/Parts_Icon_Tree_Line_End.png); } */ QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:closed:has-children:has-siblings { border-image: none; image: url(Skins/Default/CamTools/Parts_Icon_Tree_Node_Plus_Normal.png); } QTreeView::branch:closed:has-children:hover { border-image: none; image: url(Skins/Default/CamTools/Parts_Icon_Tree_Node_Plus_Hover.png); } QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:has-siblings { border-image: none; image: url(Skins/Default/CamTools/Parts_Icon_Tree_Node_Minus_normal.png); } QTreeView::branch:open:has-children:hover { border-image: none; image: url(Skins/Default/CamTools/Parts_Icon_Tree_Node_Minus_Hover.png); } /* 属性界面 */ FrmCommCtrl QToolButton#btnCollapse, FrmCommCtrl QToolButton#btnExpand { min-height: 0; min-width: 0; border: 0; border-radius: 0; background: transpaent; } QDialog QToolButton#btnExpand, FrmCommCtrl QToolButton#btnExpand, FrmDeviceControl QToolButton#btnExpand { border-image: url(Skins/Default/CamTools/Parts_Btn_Plus_Normal.png); } QDialog QToolButton#btnExpand:hover, FrmCommCtrl QToolButton#btnExpand:hover, FrmDeviceControl QToolButton#btnExpand:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Plus_Hover.png); } QDialog QToolButton#btnCollapse, FrmCommCtrl QToolButton#btnCollapse, FrmDeviceControl QToolButton#btnCollapse { border-image: url(Skins/Default/CamTools/Parts_Btn_Minus_Normal.png); } QDialog QToolButton#btnCollapse:hover, FrmCommCtrl QToolButton#btnCollapse:hover, FrmDeviceControl QToolButton#btnCollapse:hover { border-image: url(Skins/Default/CamTools/Parts_Btn_Minus_Hover.png); } FrmDeviceControl QTreeView, FrmDeviceControl QTextEdit, FrmDeviceControl QLineEdit, FrmDeviceControl QAbstractSpinBox { border: 1 solid #a6aaa8; selection-background-color: lightgray; selection-color: #6fa2e8; } FrmDeviceControl QPushButton { min-width: 0; min-height: 0; } FrmDeviceControl QMenu { /* border: 3 solid red; */ } FrmDeviceControl QToolButton#btnClear { min-width: 23; min-height: 23; max-width: 23; max-height: 23; border-image: url(Skins/Default/CamTools/Parts_Icon_SearchBox_Cancel_Normal.png); background: #ffffff; } FrmDeviceControl QToolButton#btnClear:hover{ border-image: url(Skins/Default/CamTools/Parts_Icon_SearchBox_Cancel_Hover.png); } FrmDeviceControl QToolButton#btnClear:pressed{ border-image: url(Skins/Default/CamTools/Parts_Icon_SearchBox_Cancel_Pressed.png); } FrmDeviceControl QToolButton#btnClear:disabled{ border-image: url(Skins/Default/CamTools/Parts_Icon_SearchBox_Magnifier.png); } FrmDeviceControl QLineEdit#lineEditKey { border: 0; selection-background-color: #C0C0C0; background: #ffffff; } FrmDeviceControl QLineEdit#lineEditKey:focus { border: 0; } FrmDeviceControl QFrame#frame_Search { border: 1 solid #a6aaa8; background: #ffffff; max-height: 25; } QSlider::groove:horizontal { border: 0px solid #4A708B; background: #C0C0C0; height: 4px; border-radius: 0px; padding-left:0px; padding-right:0px; } QSlider::sub-page:horizontal { background: rgb(0, 120, 215); border: 0px solid #4A708B; height: 4px; border-radius: 0px; } QSlider::add-page:horizontal { background: rgb(23, 23, 23); border: 1px solid rgb(226, 226, 226); height: 2px; border-radius: 0px; } QSlider::handle:horizontal { background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0.7 rgb(242, 242, 242), stop:0.9 rgb(0,120,215)); width: 14px; margin-top: -5px; margin-bottom: -5px; border-radius: 7px; } QSlider::handle:horizontal:hover { background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0.7 rgb(242, 242, 242), stop:0.9 rgb(23, 23, 23)); width: 14px; margin-top: -5px; margin-bottom: -5px; border-radius: 7px; } QSlider::handle:horizontal:pressed { background:rgb(0,120,215); width: 14px; margin-top: -5px; margin-bottom: -5px; border-radius: 7px; } QSlider::sub-page:horizontal:disabled { background: rgb(178,178,178); border-color: rgb(178,178,178); border: 1px solid rgb(226, 226, 226); } QSlider::add-page:horizontal:disabled { background: rgb(178,178,178); border-color: rgb(178,178,178); border: 1px solid rgb(226, 226, 226); } QSlider::handle:horizontal:disabled { background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0.7 rgb(247, 247, 247), stop:0.9 rgb(178, 178, 178)); width: 14px; margin-top: -5px; margin-bottom: -5px; border-radius: 7px; } /* 等待对话框 */ CWaitDialog { background: #F2F2F2; } CWaitDialog QLabel#lbLogo{ padding: 0 6; min-width: 32px; image: url("Skins/Default/CamTools/Parts_Icon_Window_Logo.png"); background: #363636; } CWaitDialog QLabel#lbTitle{ color: white; padding: 0 6; min-width: 32px; background: #363636; } CWaitDialog QLabel#labTitleBar{ padding: 0 6; min-width: 32px; background: #363636; } CWaitDialog QLabel#waitLabel { margin: 0 15; } HelpDialog { background: #F0F0F0; } HelpDialog QWidget#widget_3{ image: url("Skins/Default/CamTools/Parts_Icon_Vendor_Logo-2.png"); background: #F0F0F0; } HelpDialog QWidget#widget_4{ image: url("Skins/Default/CamTools/Parts_Icon_App_Logo.png"); background: #F0F0F0; } HelpDialog QLabel#label_2{ font-size: 13px; font-weight:600; color:#E69B55; } HelpDialog QLabel#label_3{ font-size: 15px; font-weight: 600; color:#727070; } HelpDialog QLabel#label{ font-size:14px; color:#727070; } CommonDialog { border : 1px solid #777777; } HelpDialog CWaitDialog{ border: 1px solid #777777; } CUpdateToolWidget QTableWidget { background:rgb(255,255,255); alternate-background-color: rgb(246,246,246); selection-background-color: rgb(211,211,211); selection-color: rgb(111,162,232); } CUpdateToolWidget QTableWidget::section { background-color:rgb(170,170,170); height:25px; } QToolBar#mainwindowToolBar QToolButton { border:0px solid #808080; background: #BABABA; border-radius: 3px; padding: 0 0 0 0; margin:0 0 0 0; min-width: 48px; min-height: 48px; max-width: 48px; max-height: 48px; } QToolBar#mainwindowToolBar { min-height:50px; max-height:50px; background:#BABABA; } QToolBar#mainwindowToolBar QToolButton:hover { background: #969696; } QToolBar#mainwindowToolBar QToolButton:pressed { background: #848484; } QToolBar#mainwindowToolBar QToolButton:disabled { background: transparent; } QToolBar#mainwindowToolBar QToolButton:menu-indicator { subcontrol-position: bottom middle; } BigVideoWidget QWidget#TriggerWidget { border: 1px solid rgb(100,100,100); border-top:0; border-bottom:0; background: #575656; min-height: 3px; max-height: 3px; } BigVideoWidget[bFloat="false"] QWidget#TriggerWidget { background-color:#D96900; border: 1px solid rgb(100,100,100); border-top:0; border-bottom:0; } BigVideoWidget[bFloat="true"] QWidget#TriggerWidget { background-color:#343434; border: 1px solid rgb(100,100,100); border-top:0; border-bottom:0; border-left:2px solid rgb(100,100,100); } BigVideoWidget QWidget#WidgetInfo { background-color: #555555; min-height: 35px; max-height: 35px; } BigVideoWidget QLabel#LabelStreamInfo{ color:white; background: transparent; } ImageSaveInfoDlg QFrame { color: rgb(255,255,255); } ImageSaveInfoDlg QFrame#frame_bk { background: rgb(6, 6, 6); border: 1px solid rgb(86,86,86); } ImageSaveInfoDlg QLabel#label_logo { min-width: 18px; min-height: 18px; max-width: 18px; max-height: 18px; border-image: url(Skins/Default/CamTools/Parts_Icon_Popup_Tips_OK.png); } ImageSaveInfoDlg QLabel#label_openLogo { min-width: 18px; min-height: 18px; max-width: 18px; max-height: 18px; border-image: url(Skins/Default/CamTools/Parts_Icon_Popup_Tips_Open_Path.png); } ImageSaveInfoDlg QToolButton#btnView { border: 0px; background: rgb(6, 6, 6); color: rgb(255,255,255); } CFrmComAttributes QFrame QLabel{ min-width:120px; max-width:120px; } CFrmComAttributes QSlider{ min-width:350px; max-width:350px; } CFrmComAttributes QDoubleSpinBox, QSpinBox{ min-width:80px; max-width:80px; border: 1 solid #a6aaa8; } CFrmComAttributes QComboBox{ min-width:80px; max-width:80px; } CFrmComAttributes QGroupBox QDoubleSpinBox:disabled, CFrmComAttributes QDoubleSpinBox:disabled { background: #d9d8d8; }