Qt 基本控件样式表 qss

/------------------------------------ QFont(font: 12pt “方正兰亭中黑简体”😉 ------------------------------------/

{
font : 14pt “方正兰亭中黑简体”;
}

/*------------------------------------ 主界面窗口控件样式表(.MainWindow) ------------------------------------ */

.MainWindow QPushButton#pushButton_Start
{
border : 2px solid rgb(0, 78, 118);
color : rgb(255, 255, 255);
background-color : rgb(0, 45, 136);
border-radius : 6px;
}

.MainWindow QPushButton#pushButton_Start:hover
{
border : 2px solid rgb(218, 227, 226);
background-color : #0d132a;
color : rgb(255, 255, 255);
}

.MainWindow QPushButton#pushButton_Start:pressed
{
border : 2px solid rgb(218, 227, 226);
background-color : #0d132a;
color : rgb(255, 255, 255);
padding-left : 2px;
padding-top : 2px;
}

.MainWindow QPushButton#pushButton_Pause
{
border : 2px solid rgb(0, 78, 118);
color : rgb(255, 255, 255);
background-color : rgb(0, 45, 136);
border-radius : 6px;
}

.MainWindow QPushButton#pushButton_Pause:hover
{
border : 2px solid rgb(218, 227, 226);
background-color : #0d132a;
color : rgb(255, 255, 255);
}

.MainWindow QPushButton#pushButton_Pause:pressed
{
border : 2px solid rgb(218, 227, 226);
background-color : #0d132a;
color : rgb(255, 255, 255);
padding-left : 2px;
padding-top : 2px;
}

.MainWindow QPushButton#pushButton_Menu
{
border : 2px solid white;
color : black;
background-color : rgb(218, 227, 226);
border-radius : 6px;
}

.MainWindow QPushButton#pushButton_Menu:hover
{
border : 2px solid rgb(0, 45, 136);
background-color : #1477b5;
color : rgb(0, 0, 0);
}

.MainWindow QPushButton#pushButton_Menu:pressed
{
border : 2px solid rgb(0, 45, 136);
background-color : #1477b5;
color : rgb(0, 0, 0);
padding-left : 2px;
padding-top : 2px;
}

/主界面报警标签样式 – 技术报警标签样式/
.MainWindow QLabel#widget_MonitorAlarm,
.MainWindow QLabel#widget_TechnologyAlarm,
.MainWindow QLabel#m_pTechnology
{
color : black;
background-color : yellow;
border : 2px solid #5F92B2;
border-color:white;
border-radius : 6px;
}

/主界面报警标签样式 – 异常报警标签技术/
.MainWindow QLabel#m_pMonitor
{
color : black;
background-color : red;
border : 2px solid #5F92B2;
border-color:white;
border-radius : 6px;
}

/主界面 “时间日期” 、"当前绑定病人"标签样式/
.MainWindow QLabel#widget_BindPatient,
.MainWindow QLabel#label_DateTime,
.MainWindow QLabel#m_pBindUser,
.MainWindow QLabel#m_pDateTime
{
color : white;
border : 0px solid #5F92B2;
background-color : #1A4661;
border-radius : 6px;
}

/主界面状态栏样式/
.MainWindow QWidget#widget_Status
{
background-color : qlineargradient(x1:0,y1:0, x2:0,y2:1,stop:0.05 #1A4661,stop:0.4 black);
}

/------------------------------------ 全局QComboBox样式 ------------------------------------/

.DialogAcceptPatient QComboBox,
.DialogAlarmSet QComboBox,
.DialogParamSet QComboBox,
.CHistroyPlayerDlg4LF QComboBox,
.DialogLanguageSet QComboBox,
.CDialogAlarmEventReview QComboBox,
.CDialogTrendTableReview QComboBox,
.CDialogTrendGraphic QComboBox
{
color : white;
padding-left : 10px;
background-color : #1F7285;
border-radius : 8px;
}

.DialogAcceptPatient QComboBox::down-arrow,
.DialogAlarmSet QComboBox::down-arrow,
.DialogParamSet QComboBox::down-arrow,
.CHistroyPlayerDlg4LF QComboBox::down-arrow,
.DialogLanguageSet QComboBox::down-arrow,
.CDialogAlarmEventReview QComboBox::down-arrow,
.CDialogTrendTableReview QComboBox::down-arrow,
.CDialogTrendGraphic QComboBox::down-arrow
{
image : url(:/images/icon/ButtonDown.png);
width : 15px;
height : 15px;
}

.DialogAcceptPatient QComboBox::drop-down,
.DialogAlarmSet QComboBox::drop-down,
.DialogParamSet QComboBox::drop-down,
.CHistroyPlayerDlg4LF QComboBox::drop-down,
.DialogLanguageSet QComboBox::drop-down,
.CDialogAlarmEventReview QComboBox::drop-down,
.CDialogTrendTableReview QComboBox::drop-down,
.CDialogTrendGraphic QComboBox::drop-down
{
border : none;
min-width : 30px;
}

/* 下拉后,整个下拉窗体样式 */
.DialogAcceptPatient QComboBox QAbstractItemView,
.DialogAlarmSet QComboBox QAbstractItemView,
.DialogParamSet QComboBox QAbstractItemView,
.CHistroyPlayerDlg4LF QComboBox QAbstractItemView,
.DialogLanguageSet QComboBox QAbstractItemView,
.CDialogAlarmEventReview QComboBox QAbstractItemView,
.CDialogTrendTableReview QComboBox QAbstractItemView,
.CDialogTrendGraphic QComboBox QAbstractItemView
{
color : white;
background-color : #F1E9E9;
border : none;
outline : 0px;
}

/* 下拉后,整个下拉窗体每项的样式 */
.DialogAcceptPatient QComboBox QAbstractItemView::item,
.DialogAlarmSet QComboBox QAbstractItemView::item,
.DialogParamSet QComboBox QAbstractItemView::item,
.CHistroyPlayerDlg4LF QComboBox QAbstractItemView::item,
.DialogLanguageSet QComboBox QAbstractItemView::item,
.CDialogAlarmEventReview QComboBox QAbstractItemView::item,
.CDialogTrendTableReview QComboBox QAbstractItemView::item,
.CDialogTrendGraphic QComboBox QAbstractItemView::item
{
background-color : black;
border-bottom : 1px solid gray;
border-radius : 5px;
}

.DialogAcceptPatient QComboBox QAbstractItemView::item:hover,
.DialogAlarmSet QComboBox QAbstractItemView::item:hover,
.DialogParamSet QComboBox QAbstractItemView::item:hover,
.CHistroyPlayerDlg4LF QComboBox QAbstractItemView::item:hover,
.DialogLanguageSet QComboBox QAbstractItemView::item:hover,
.CDialogAlarmEventReview QComboBox QAbstractItemView::item:hover,
.CDialogTrendTableReview QComboBox QAbstractItemView::item:hover,
.CDialogTrendGraphic QComboBox QAbstractItemView::item:hover
{
background-color : rgb(68, 68, 68);
}

.DialogAcceptPatient QComboBox QAbstractItemView::item:selected,
.DialogAlarmSet QComboBox QAbstractItemView::item:selected,
.DialogParamSet QComboBox QAbstractItemView::item:selected,
.CHistroyPlayerDlg4LF QComboBox QAbstractItemView::item:selected,
.DialogLanguageSet QComboBox QAbstractItemView::item:selected,
.CDialogAlarmEventReview QComboBox QAbstractItemView::item:selected,
.CDialogTrendTableReview QComboBox QAbstractItemView::item:selected,
.CDialogTrendGraphic QComboBox QAbstractItemView::item:selected
{
color : black;
background-color : white;
}

/------------------------------------ 功能类(菜单、二级菜单等)按钮样式 ------------------------------------/

.DialogMenu QPushButton#UserManage_Button,
.DialogMenu QPushButton#Layout_Button,
.DialogMenu QPushButton#AlarmSet_Button,
.DialogMenu QPushButton#Paramete_Button,
.DialogMenu QPushButton#RecPlay_Button,
.DialogMenu QPushButton#Print_Button,
.DialogMenu QPushButton#SystemSettings_Button,
.DialogMenu QPushButton#LanguageSet_Button,
.CDialogUserManagement QPushButton#pushButton_Accept,
.CDialogUserManagement QPushButton#pushButton_UnBind,
.CDialogUserManagement QPushButton#pushButton_Browser,
.DialogLayoutSet2 QPushButton#ECG_Button,
.DialogLayoutSet2 QPushButton#RESP,
.DialogLayoutSet2 QPushButton#NIBP,
.DialogLayoutSet2 QPushButton#SPO2,
.DialogLayoutSet2 QPushButton#TEMP,
.CDialogPrintOption QPushButton#pushButton_PrintECG12,
.CDialogPrintOption QPushButton#pushButton_PrintPLETH,
.CDialogPrintOption QPushButton#pushButton_PrintTEMP,
.CDialogPrintOption QPushButton#pushButton_PrintSPO2,
.CDialogDataReviewMenu QPushButton#pushButton_HistoryRecordReview,
.CDialogDataReviewMenu QPushButton#pushButton_TrendChartReview,
.CDialogDataReviewMenu QPushButton#pushButton_TrendTableReview,
.CDialogDataReviewMenu QPushButton#pushButton_AlarmEventReview,
.CDialogTrendTableReview QPushButton#Button_PrintCurPage,
.CDialogTrendTableReview QPushButton#Button_PrintAllPage,
.CDialogAlarmEventReview QPushButton#Button_PrintCurPage,
.CDialogAlarmEventReview QPushButton#Button_PrintAllPage
{
color : white;
background-color : #1F7285;
border-radius : 10px;
}

.DialogMenu QPushButton#UserManage_Button:hover,
.DialogMenu QPushButton#Layout_Button:hover,
.DialogMenu QPushButton#AlarmSet_Button:hover,
.DialogMenu QPushButton#Paramete_Button:hover,
.DialogMenu QPushButton#RecPlay_Button:hover,
.DialogMenu QPushButton#Print_Button:hover,
.DialogMenu QPushButton#SystemSettings_Button:hover,
.DialogMenu QPushButton#LanguageSet_Button:hover,
.CDialogUserManagement QPushButton#pushButton_Accept:hover,
.CDialogUserManagement QPushButton#pushButton_UnBind:hover,
.CDialogUserManagement QPushButton#pushButton_Browser:hover,
.DialogLayoutSet2 QPushButton#ECG_Button:hover,
.DialogLayoutSet2 QPushButton#NIBP:hover,
.DialogLayoutSet2 QPushButton#RESP:hover,
.DialogLayoutSet2 QPushButton#SPO2:hover,
.DialogLayoutSet2 QPushButton#TEMP:hover,
.CDialogPrintOption QPushButton#pushButton_PrintECG12:hover,
.CDialogPrintOption QPushButton#pushButton_PrintPLETH:hover,
.CDialogPrintOption QPushButton#pushButton_PrintTEMP:hover,
.CDialogPrintOption QPushButton#pushButton_PrintSPO2:hover,
.CDialogDataReviewMenu QPushButton#pushButton_HistoryRecordReview:hover,
.CDialogDataReviewMenu QPushButton#pushButton_TrendChartReview:hover,
.CDialogDataReviewMenu QPushButton#pushButton_TrendTableReview:hover,
.CDialogDataReviewMenu QPushButton#pushButton_AlarmEventReview:hover,
.CDialogTrendTableReview QPushButton#Button_PrintCurPage:hover,
.CDialogTrendTableReview QPushButton#Button_PrintAllPage:hover,
.CDialogAlarmEventReview QPushButton#Button_PrintCurPage:hover,
.CDialogAlarmEventReview QPushButton#Button_PrintAllPage:hover
{
color : white;
background-color : #32B7B1;
}

.DialogMenu QPushButton#UserManage_Button:pressed,
.DialogMenu QPushButton#Layout_Button:pressed,
.DialogMenu QPushButton#AlarmSet_Button:pressed,
.DialogMenu QPushButton#Paramete_Button:pressed,
.DialogMenu QPushButton#RecPlay_Button:pressed,
.DialogMenu QPushButton#Print_Button:pressed,
.DialogMenu QPushButton#SystemSettings_Button:pressed,
.DialogMenu QPushButton#LanguageSet_Button:pressed,
.CDialogUserManagement QPushButton#pushButton_Accept:pressed,
.CDialogUserManagement QPushButton#pushButton_UnBind:pressed,
.CDialogUserManagement QPushButton#pushButton_Browser:pressed,
.DialogLayoutSet2 QPushButton#ECG_Button:pressed,
.DialogLayoutSet2 QPushButton#NIBP:pressed,
.DialogLayoutSet2 QPushButton#RESP:pressed,
.DialogLayoutSet2 QPushButton#SPO2:pressed,
.DialogLayoutSet2 QPushButton#TEMP:pressed,
.CDialogPrintOption QPushButton#pushButton_PrintECG12:pressed,
.CDialogPrintOption QPushButton#pushButton_PrintPLETH:pressed,
.CDialogPrintOption QPushButton#pushButton_PrintTEMP:pressed,
.CDialogPrintOption QPushButton#pushButton_PrintSPO2:pressed,
.CDialogDataReviewMenu QPushButton#pushButton_HistoryRecordReview:pressed,
.CDialogDataReviewMenu QPushButton#pushButton_TrendChartReview:pressed,
.CDialogDataReviewMenu QPushButton#pushButton_TrendTableReview:pressed,
.CDialogDataReviewMenu QPushButton#pushButton_AlarmEventReview:pressed,
.CDialogTrendTableReview QPushButton#Button_PrintCurPage:pressed,
.CDialogTrendTableReview QPushButton#Button_PrintAllPage:pressed,
.CDialogAlarmEventReview QPushButton#Button_PrintCurPage:pressed,
.CDialogAlarmEventReview QPushButton#Button_PrintAllPage:pressed
{
color : white;zxs
background-color : #32B7B1;
padding-top : 5px;
}

.CDialogUserManagement QPushButton#pushButton_UnBind:disabled
{
background-color : #CBE6EB;
}

/------------------------------------ 前进类(默认、确定等)按钮样式 ------------------------------------/

.DialogAcceptPatient QPushButton#Add_Button,
.DialogAcceptPatient QPushButton#AddBind_Button,
.CDialogSearchUser QPushButton#Search_Button,
.CDialogSearchUser QPushButton#AddUser_Button,
.CDialogSearchUser QPushButton#Reset_Button,
.DialogLayoutSet2 QPushButton#default_Button,
.DialogLayoutSet2 QPushButton#save_Button,
.DialogAlarmSet QPushButton#Default_Button,
.DialogAlarmSet QPushButton#Save_Button,
.DialogParamSet QPushButton#pushButton_default,
.DialogParamSet QPushButton#pushButton_Save,
.CHistoryRecordDlg QPushButton#Play_Button,
.CHistoryRecordDlg QPushButton#Reset_Button,
.CHistoryRecordDlg QPushButton#Search_Button,
.DialogTimeSet QPushButton#Ok_Button,
.CHistroyPlayerDlg4LF QPushButton#StartPause_Button,
.DialogECGPrint QPushButton#Print_Button,
.DialogPlethPrint QPushButton#Print_Button,
.DialogPlethPrint QPushButton#StartStop_Button,
.CDialogSPO2Print QPushButton#Print_Button,
.CDialogSPO2Print QPushButton#Start_Button,
.CDialogTempPrint QPushButton#Print_Button,
.CDialogTempPrint QPushButton#StartStop_Button,
.DialogLanguageSet QPushButton#LanguageHandoff_pushButton,
.CDialogCustomMessageBox QPushButton#pushButton_OK,
.CDialogTrendTableReview QPushButton#pushButton_Print,
.CDialogTrendTableReview QPushButton#pushButton_Record,
.CDialogTrendGraphic QPushButton#TEMPPrintButton,
.CDialogTrendGraphic QPushButton#SPO2PrintButton,
.CDialogTrendGraphic QPushButton#HEARTPrintButton,
.CDialogAlarmEventReview QPushButton#Reset_Button,
.CDialogAlarmEventReview QPushButton#pushButton_Search,
.CDialogAlarmEventReview QPushButton#pushButton_Print
{
color : white;
background-color : #32B7B1;
border-radius : 13px;
}

.DialogAcceptPatient QPushButton#Add_Button:hover,
.DialogAcceptPatient QPushButton#AddBind_Button:hover,
.CDialogSearchUser QPushButton#Search_Button:hover,
.CDialogSearchUser QPushButton#AddUser_Button:hover,
.CDialogSearchUser QPushButton#Reset_Button:hover,
.DialogLayoutSet2 QPushButton#default_Button:hover,
.DialogLayoutSet2 QPushButton#save_Button:hover,
.DialogAlarmSet QPushButton#Default_Button:hover,
.DialogAlarmSet QPushButton#Save_Button:hover,
.DialogParamSet QPushButton#pushButton_default:hover,
.DialogParamSet QPushButton#pushButton_Save:hover,
.CHistoryRecordDlg QPushButton#Play_Button:hover,
.CHistoryRecordDlg QPushButton#Reset_Button:hover,
.CHistoryRecordDlg QPushButton#Search_Button:hover,
.DialogTimeSet QPushButton#Ok_Button:hover,
.CHistroyPlayerDlg4LF QPushButton#StartPause_Button:hover,
.DialogECGPrint QPushButton#Print_Button:hover,
.DialogPlethPrint QPushButton#Print_Button:hover,
.DialogPlethPrint QPushButton#StartStop_Button:hover,
.CDialogSPO2Print QPushButton#Print_Button:hover,
.CDialogSPO2Print QPushButton#Start_Button:hover,
.CDialogTempPrint QPushButton#Print_Button:hover,
.CDialogTempPrint QPushButton#StartStop_Button:hover,
.DialogLanguageSet QPushButton#LanguageHandoff_pushButton:hover,
.CDialogCustomMessageBox QPushButton#pushButton_OK:hover,
.CDialogTrendTableReview QPushButton#pushButton_Print:hover,
.CDialogTrendTableReview QPushButton#pushButton_Record:hover,
.CDialogTrendGraphic QPushButton#TEMPPrintButton:hover,
.CDialogTrendGraphic QPushButton#SPO2PrintButton:hover,
.CDialogTrendGraphic QPushButton#HEARTPrintButton:hover,
.CDialogAlarmEventReview QPushButton#Reset_Button:hover,
.CDialogAlarmEventReview QPushButton#pushButton_Search:hover,
.CDialogAlarmEventReview QPushButton#pushButton_Print:hover
{
color : white;
background-color : #1F7285;
}

.DialogAcceptPatient QPushButton#Add_Button:pressed,
.DialogAcceptPatient QPushButton#AddBind_Button:pressed,
.CDialogSearchUser QPushButton#Search_Button:pressed,
.CDialogSearchUser QPushButton#AddUser_Button:pressed,
.CDialogSearchUser QPushButton#Reset_Button:pressed,
.DialogLayoutSet2 QPushButton#default_Button:pressed,
.DialogLayoutSet2 QPushButton#save_Button:pressed,
.DialogAlarmSet QPushButton#Default_Button:pressed,
.DialogAlarmSet QPushButton#Save_Button:pressed,
.DialogParamSet QPushButton#pushButton_default:pressed,
.DialogParamSet QPushButton#pushButton_Save:pressed,
.CHistoryRecordDlg QPushButton#Play_Button:pressed,
.CHistoryRecordDlg QPushButton#Reset_Button:pressed,
.CHistoryRecordDlg QPushButton#Search_Button:pressed,
.DialogTimeSet QPushButton#Ok_Button:pressed,
.CHistroyPlayerDlg4LF QPushButton#StartPause_Button:pressed,
.DialogECGPrint QPushButton#Print_Button:pressed,
.DialogPlethPrint QPushButton#Print_Button:pressed,
.DialogPlethPrint QPushButton#StartStop_Button:pressed,
.CDialogSPO2Print QPushButton#Print_Button:pressed,
.CDialogSPO2Print QPushButton#Start_Button:pressed,
.CDialogTempPrint QPushButton#Print_Button:pressed,
.CDialogTempPrint QPushButton#StartStop_Button:pressed,
.DialogLanguageSet QPushButton#LanguageHandoff_pushButton:pressed,
.CDialogCustomMessageBox QPushButton#pushButton_OK:pressed,
.CDialogTrendTableReview QPushButton#pushButton_Print:pressed,
.CDialogTrendTableReview QPushButton#pushButton_Record:pressed,
.CDialogTrendGraphic QPushButton#TEMPPrintButton:pressed,
.CDialogTrendGraphic QPushButton#SPO2PrintButton:pressed,
.CDialogTrendGraphic QPushButton#HEARTPrintButton:pressed,
.CDialogAlarmEventReview QPushButton#Reset_Button:pressed,
.CDialogAlarmEventReview QPushButton#pushButton_Search:pressed,
.CDialogAlarmEventReview QPushButton#pushButton_Print:pressed
{
color : white;
border : none;
padding-top : 5px;
}

.DialogPlethPrint QPushButton#Print_Button:disabled,
.CDialogSPO2Print QPushButton#Print_Button:disabled,
.CDialogTempPrint QPushButton#Print_Button:disabled
{
background-color : #CBE6EB;
}

/------------------------------------ 反向操作类(取消等)按钮样式 ---------------------------------------/

.DialogAcceptPatient QPushButton#Cancel_Button,
.CDialogSearchUser QPushButton#Delete_Button,
.DialogLayoutSet2 QPushButton#cancel_Button,
.DialogAlarmSet QPushButton#Cancel_Button,
.DialogParamSet QPushButton#pushButton_Cancle,
.CHistoryRecordDlg QPushButton#Delete_Button,
.DialogTimeSet QPushButton#Cancel_Button,
.CHistroyPlayerDlg4LF QPushButton#RePlay_Button,
.CDialogCustomMessageBox QPushButton#pushButton_Cancel,
.CDialogAlarmEventReview QPushButton#pushButton_Delete
{
color : black;
background-color : #CBE6EB;
border-radius : 13px;
}

.DialogAcceptPatient QPushButton#Cancel_Button:hover,
.CDialogSearchUser QPushButton#Delete_Button:hover,
.DialogLayoutSet2 QPushButton#cancel_Button:hover,
.DialogAlarmSet QPushButton#Cancel_Button:hover,
.DialogParamSet QPushButton#pushButton_Cancle:hover,
.CHistoryRecordDlg QPushButton#Delete_Button:hover,
.DialogTimeSet QPushButton#Cancel_Button:hover,
.CHistroyPlayerDlg4LF QPushButton#RePlay_Button:hover,
.CDialogCustomMessageBox QPushButton#pushButton_Cancel:hover,
.CDialogAlarmEventReview QPushButton#pushButton_Delete:hover
{
color : black;
background-color : white;
}

.DialogAcceptPatient QPushButton#Cancel_Button:pressed,
.CDialogSearchUser QPushButton#Delete_Button:pressed,
.DialogLayoutSet2 QPushButton#cancel_Button:pressed,
.DialogAlarmSet QPushButton#Cancel_Button:pressed,
.DialogParamSet QPushButton#pushButton_Cancle:pressed,
.CHistoryRecordDlg QPushButton#Delete_Button:pressed,
.DialogTimeSet QPushButton#Cancel_Button:pressed,
.CHistroyPlayerDlg4LF QPushButton#RePlay_Button:pressed,
.CDialogCustomMessageBox QPushButton#pushButton_Cancel:pressed,
.CDialogAlarmEventReview QPushButton#pushButton_Delete:pressed
{
color : black;
background-color : white;
padding-top : 5px;
}

/------------------------------------ QTableView ------------------------------------/

.CDialogSearchUser QTableView#RecBrowse_tableView,
.CHistoryRecordDlg QTableView#tableView,
.CTrendTableShowWidget QTableView#TrendChartTableView,
.CAlarmEventShowWidget QTableView#AlarmEventTableView
{
/表格内文字颜色/
color : black;
/表格内背景色/
background-color : #F1E9E7;
alternate-background-color : gray;
/表格内框颜色/
gridline-color : white;
/选中区域的文字颜色/
selection-color : white;
/选中区域的背景色/
selection-background-color : #32B7B1;
padding-buttom : 15px;
border : 2px solid #1F7285;
border-radius : 20px;
}

.CDialogSearchUser QTableView QHeaderView,
.CHistoryRecordDlg QTableView QHeaderView,
.CTrendTableShowWidget QTableView QHeaderView,
.CAlarmEventShowWidget QTableView QHeaderView
{
background-color : #1F7285;
border-bottom : 1px solid white;
border-top-right-radius : 20px;
border-top-left-radius : 20px;
}

.CDialogSearchUser QTableView QHeaderView::section,
.CHistoryRecordDlg QTableView QHeaderView::section,
.CTrendTableShowWidget QTableView QHeaderView::section,
.CAlarmEventShowWidget QTableView QHeaderView::section
{
color : white;
border : none;
border-bottom : 1px solid rgb(255, 255, 255);
border-right : 1px solid rgb(255, 255, 255);
background-color : #1F7285;
border-top-left-radius : 13px;
}

.CDialogSearchUser QTableView QHeaderView::section::last,
.CHistoryRecordDlg QTableView QHeaderView::section::last,
.CTrendTableShowWidget QTableView QHeaderView::section::last,
.CAlarmEventShowWidget QTableView QHeaderView::section::last
{
border-right : 1px solid #1F7285;
border-top-right-radius : 13px;
}

/------------------------------------ QTabWidget ------------------------------------/

.DialogAlarmSet QTabWidget#AlarmSet_tabWidget::pane,
.DialogParamSet QTabWidget#ParamSet_tabWidget::pane,
.CDialogAlarmEventReview QTabWidget#tabWidget_AlarmRecord::pane,
.CDialogTrendTableReview QTabWidget#tabWidget_TrendChart::pane,
.CDialogTrendGraphic QTabWidget#TrendgGraphics_tabWidget::pane
{
background-color : #F1E9E7;
border-radius : 20px;
}

.DialogAlarmSet QTabWidget QTabBar,
.DialogParamSet QTabWidget QTabBar,
.CDialogAlarmEventReview QTabWidget QTabBar,
.CDialogTrendTableReview QTabWidget QTabBar,
.CDialogTrendGraphic QTabWidget QTabBar
{
background-color: #32B7B1;
border-radius:20px;
border-bottom-left-radius:0px;
border-top-right-radius:0px;
min-height:300px;
}

.DialogAlarmSet QTabWidget QTabBar::tab,
.DialogParamSet QTabWidget QTabBar::tab,
.CDialogAlarmEventReview QTabWidget QTabBar::tab,
.CDialogTrendTableReview QTabWidget QTabBar::tab,
.CDialogTrendGraphic QTabWidget QTabBar::tab
{
color : white;
background-color : #32B7B1;
margin-bottom:10px;
margin-top:10px;
min-width:30px;
min-height:60px;
border-top-left-radius : 20px;
border-bottom-left-radius : 20px;
}

.DialogAlarmSet QTabWidget QTabBar::tab::selected,
.DialogParamSet QTabWidget QTabBar::tab::selected,
.CDialogAlarmEventReview QTabWidget QTabBar::tab::selected,
.CDialogTrendTableReview QTabWidget QTabBar::tab::selected,
.CDialogTrendGraphic QTabWidget QTabBar::tab::selected
{
color:black;
background-color:#F1E9E9;
margin-bottom:10px;
}

.DialogAlarmSet QTabWidget QTabBar::tab:disabled,
.DialogParamSet QTabWidget QTabBar::tab:disabled,
.CDialogAlarmEventReview QTabWidget QTabBar::tab:disabled,
.CDialogTrendTableReview QTabWidget QTabBar::tab:disabled,
.CDialogTrendGraphic QTabWidget QTabBar::tab:disabled
{
width: 0;
color: transparent;
}

/------------------------------------ QScrollArea ------------------------------------/

QScrollArea
{
background-color : #CBE6EB;
border : 2px solid #1F7285;
border-radius : 5px;
}

/* 整个水平滚动条背景样式 width:140px; height:12px; transparent;*/
QScrollBar:horizontal
{
height:20px;
margin : 0px;
background-color : #CBE6EB;
border-radius : 5px;
}

/* 滚动条左面和右面区域样式*/
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal
{
background-color:transparent;
}

/滑块区域样式/
QScrollBar::handle:horizontal
{
subcontrol-origin : margin;
subcontrol-position : left;
min-width : 30px;
margin : 0px 20px 0px 20px;
border-radius : 5px;
background-color : #32B7B1;
}

/鼠标滑过滑块样式/
QScrollBar::handle:horizontal:hover,QScrollBar::handle:horizontal:pressed
{
background-color : #1F7285;
}

/向左箭头样式/
QScrollBar::sub-line:horizontal
{
height:20px;
width:20px;
subcontrol-origin : margin;
subcontrol-position : left;
background-color : #32B7B1;
border-top-left-radius : 5px;
border-bottom-left-radius : 5px;
}

QScrollBar::left-arrow:horizontal
{
subcontrol-origin : margin;
subcontrol-position : left;
height:18px;
width:18px;
image : url(:/images/icon/ArrowL.png);
}

/向右箭头样式/
QScrollBar::add-line:horizontal
{
height:20px;
width:20px;
subcontrol-origin : margin;
subcontrol-position : right;
background-color : #32B7B1;
border-top-right-radius : 5px;
border-bottom-right-radius : 5px;
}

QScrollBar::right-arrow:horizontal
{
subcontrol-origin : margin;
subcontrol-position : right;
height:18px;
width:18px;
image : url(:/images/icon/ArrowR.png);
}

QScrollBar::add-line:horizontal:hover,
QScrollBar::sub-line:horizontal:hover,
QScrollBar::add-line:horizontal:pressed,
QScrollBar::sub-line:horizontal:pressed
{
background-color : #1F7285;
}

/* --------------- 竖直 QScrollBar ------------- */
QScrollBar:vertical
{
width:20px;
margin : 0px;
background-color : #CBE6EB;
border-radius : 5px;
}

/* 滚动条左面和右面区域样式*/
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical
{
background-color:transparent;
}

/滑块区域样式/
QScrollBar::handle:vertical
{
subcontrol-origin : margin;
subcontrol-position : top;
min-height : 30px;
margin : 20px 0px 20px 0px;
border-radius : 5px;
background-color : #32B7B1;
}

/鼠标滑过滑块样式/
QScrollBar::handle:vertical:hover,QScrollBar::handle:vertical:pressed
{
background-color : #1F7285;
}

/向上箭头样式/
QScrollBar::sub-line:vertical
{
height:20px;
width:20px;
subcontrol-origin : margin;
subcontrol-position : top;
background-color : #32B7B1;
border-top-right-radius : 5px;
border-top-left-radius : 5px;
}

QScrollBar::up-arrow:vertical
{
subcontrol-origin : margin;
subcontrol-position : top;
height:18px;
width:18px;
image : url(:/images/icon/ArrowU.png);
}

/向下箭头样式/
QScrollBar::add-line:vertical
{
height:20px;
width:20px;
subcontrol-origin : margin;
subcontrol-position : bottom;
background-color : #32B7B1;
border-bottom-right-radius : 5px;
border-bottom-left-radius : 5px;
}

QScrollBar::down-arrow:vertical
{
subcontrol-origin : margin;
subcontrol-position : bottom;
height:18px;
width:18px;
image : url(:/images/icon/ArrowD.png);
}

QScrollBar::add-line:vertical:hover,
QScrollBar::sub-line:vertical:hover,
QScrollBar::add-line:vertical:pressed,
QScrollBar::sub-line:vertical:pressed
{
background-color : #1F7285;
}

/------------------------------------ QLineEdit ------------------------------------/

.DialogAcceptPatient QLineEdit,
.CDialogSearchUser QLineEdit,
.CHistoryRecordDlg QLineEdit,
.DialogLanguageSet QLineEdit
{
border : 1px solid #1F7285;
background-color : #F1E9E7;
border-radius : 10px;
}

/------------------------------------ QGroupBox(粉红底) #F1E9E7 ------------------------------------/

.DialogAcceptPatient QGroupBox,
.CDialogSearchUser QGroupBox#groupBox_Bottom,
.DialogAlarmSet QGroupBox#groupBox_Buttom,
.DialogParamSet QGroupBox#groupBox_Bottom,
.CHistoryRecordDlg QGroupBox#groupBox_Bottom,
.CHistroyPlayerDlg4LF QGroupBox#groupBox_Buttom,
.DialogECGPrint QGroupBox,
.DialogPlethPrint QGroupBox#groupBox,
.CDialogSPO2Print QGroupBox#groupBox,
.CDialogTempPrint QGroupBox#groupBox,
.DialogLanguageSet QGroupBox,
.CDialogCustomMessageBox QGroupBox#groupBox_Bottom,
.CDialogAlarmEventReview QGroupBox#groupBox_Bottom,
.CDialogTrendTableReview QGroupBox#groupBox_Bottom
{
border : none;
background-color : #F1E9E7;
margin-top:0px;
border-top-left-radius : 25px;
border-top-right-radius : 25px;
border-bottom-left-radius : 0px;
border-bottom-right-radius : 0px;
}

/------------------------------------ QGroupBox(蓝底圆框)#32B7B1 ------------------------------------/

.DialogAlarmSet QGroupBox#groupBox,
.DialogParamSet QGroupBox#groupBox_Tab,
.CDialogAlarmEventReview QGroupBox#groupBox_Tab,
.CDialogTrendTableReview QGroupBox#groupBox_Tab,
.CDialogTrendGraphic QGroupBox#groupBox
{
background-color: #32B7B1;
border:none;
margin-top:0px;
border-radius : 20px;
}

/------------------------------------ 自定义标题栏对话框(.CustomTitleBar) ------------------------------------/

.CustomTitleBar QWidget
{
background-color:#32B7B1;
}

.CustomTitleBar QLabel#label_Icon
{
image: url(:/images/icon/LOGO.png);
}

.CustomTitleBar QLabel#label_Title
{
font: 12pt “方正兰亭中黑简体”;
background-color:#32B7B1;
color:white;
}

.CustomTitleBar QPushButton#pushButton_Close
{
image: url(:/images/icon/x.png);
border:none;
background-color:#32B7B1;
}

.CustomTitleBar QFrame
{
background-color:#32B7B1;
border:none;
}

/------------------------------------ 接受病人对话框(.DialogAcceptPatient ) ------------------------------------/

.DialogAcceptPatient QLabel,
.DialogLanguageSet QLabel
{
color : black;
}

/------------------------------------ 浏览病人对话框(.CDialogSearchUser) ------------------------------------/

.CDialogSearchUser QPushButton#ToNext_Button,
.CDialogSearchUser QPushButton#ToPre_Button,
.CDialogSearchUser QPushButton#ToFirstPage_Button,
.CDialogSearchUser QPushButton#ToLastPage_Button
{
font: 10pt “方正兰亭中黑简体”;
color:white;
background-color:#1F7285;
border-radius : 10px;
}

.CDialogSearchUser QPushButton#ToNext_Button:hover,
.CDialogSearchUser QPushButton#ToPre_Button:hover,
.CDialogSearchUser QPushButton#ToFirstPage_Button:hover,
.CDialogSearchUser QPushButton#ToLastPage_Button:hover
{
font: 10pt “方正兰亭中黑简体”;
color:white;
background-color:#32B7B1;
border-radius : 10px;
}

.CDialogSearchUser QPushButton#ToNext_Button:pressed,
.CDialogSearchUser QPushButton#ToPre_Button:pressed,
.CDialogSearchUser QPushButton#ToFirstPage_Button:pressed,
.CDialogSearchUser QPushButton#ToLastPage_Button:pressed
{
font: 10pt “方正兰亭中黑简体”;
color:white;
background-color:#32B7B1;
border-radius : 10px;
padding-top : 5px;
}

.CDialogSearchUser QLabel#label_Currentpage,
.CDialogSearchUser QLabel#label_PageSum,
.CDialogSearchUser QLabel#label_UserCount
{
font: 10pt “方正兰亭中黑简体”;
}

/------------------------------------ 布局设计器(.DialogLayoutSet2 ) ------------------------------------/

.DialogLayoutSet2 QPushButton#ECG_I,
.DialogLayoutSet2 QPushButton#ECG_II,
.DialogLayoutSet2 QPushButton#ECG_III,
.DialogLayoutSet2 QPushButton#ECG_avR,
.DialogLayoutSet2 QPushButton#ECG_avL,
.DialogLayoutSet2 QPushButton#ECG_avF,
.DialogLayoutSet2 QPushButton#ECG_V1,
.DialogLayoutSet2 QPushButton#ECG_V2,
.DialogLayoutSet2 QPushButton#ECG_V3,
.DialogLayoutSet2 QPushButton#ECG_V4,
.DialogLayoutSet2 QPushButton#ECG_V5,
.DialogLayoutSet2 QPushButton#ECG_V6
{
border : 1px solid #1F7285;
background-color : white;
color : #1F7285;
border-radius : 8px;
}

.DialogLayoutSet2 QPushButton#ECG_I:hover,
.DialogLayoutSet2 QPushButton#ECG_II:hover,
.DialogLayoutSet2 QPushButton#ECG_III:hover,
.DialogLayoutSet2 QPushButton#ECG_avR:hover,
.DialogLayoutSet2 QPushButton#ECG_avL:hover,
.DialogLayoutSet2 QPushButton#ECG_avF:hover,
.DialogLayoutSet2 QPushButton#ECG_V1:hover,
.DialogLayoutSet2 QPushButton#ECG_V2:hover,
.DialogLayoutSet2 QPushButton#ECG_V3:hover,
.DialogLayoutSet2 QPushButton#ECG_V4:hover,
.DialogLayoutSet2 QPushButton#ECG_V5:hover,
.DialogLayoutSet2 QPushButton#ECG_V6:hover
{
background-color : #32B7B1;
color : rgb(31, 114, 133);
border : 1px solid red;
}

.DialogLayoutSet2 QPushButton#ECG_I:pressed,
.DialogLayoutSet2 QPushButton#ECG_II:pressed,
.DialogLayoutSet2 QPushButton#ECG_III:pressed,
.DialogLayoutSet2 QPushButton#ECG_avR:pressed,
.DialogLayoutSet2 QPushButton#ECG_avL:pressed,
.DialogLayoutSet2 QPushButton#ECG_avF:pressed,
.DialogLayoutSet2 QPushButton#ECG_V1:pressed,
.DialogLayoutSet2 QPushButton#ECG_V2:pressed,
.DialogLayoutSet2 QPushButton#ECG_V3:pressed,
.DialogLayoutSet2 QPushButton#ECG_V4:pressed,
.DialogLayoutSet2 QPushButton#ECG_V5:pressed,
.DialogLayoutSet2 QPushButton#ECG_V6:pressed
{
background-color:#32B7B1;
color: rgb(31, 114, 133);
border:1px solid red;
}

.DialogLayoutSet2 QWidget#Stage_widget
{
background-color : black;
}

/------------------------------------ 报警设置对话框(.DialogAlarmSet ) ------------------------------------/

/------------------------------------ 参数设计对话框(.DialogParamSet ) ------------------------------------/

.DialogParamSet QGroupBox
{
border : 3px solid #1F7285;
margin-top : 10px;
border-radius : 20px;
}

.DialogParamSet QGroupBox::title
{
margin-buttom : 20px;
left : 10px;
top : -9px;
}

.DialogParamSet QCheckBox
{
border : none;
border-radius : 10px;
}

.DialogParamSet QRadioButton
{
}

.DialogParamSet QRadioButton::indicator::checked
{
width : 40px;
height : 40px;
image : url(:/images/icon/ButtonOpen.png);
}

.DialogParamSet QRadioButton::indicator::unchecked
{
width: 40px;
height: 40px;
image: url(:/images/icon/ButtonClose.png);
}

/------------------------------------ 历史记录对话框(.CHistoryRecordDlg) ------------------------------------/

.CHistoryRecordDlg QLabel#UserCount_label,
.CHistoryRecordDlg QLabel#CurrentPage_label,
.CHistoryRecordDlg QLabel#PageSum_label
{
font: 10pt “方正兰亭中黑简体”;
}

.CHistoryRecordDlg QPushButton#ToNext_Button,
.CHistoryRecordDlg QPushButton#ToPre_Button,
.CHistoryRecordDlg QPushButton#ToFirstPage_Button,
.CHistoryRecordDlg QPushButton#ToLastPage_Button,
.CHistoryRecordDlg QPushButton#JumpTo_Button
{
font : 10pt “方正兰亭中黑简体”;
color : white;
background-color : #1F7285;
border-radius : 10px;
}

.CHistoryRecordDlg QPushButton#ToNext_Button:hover,
.CHistoryRecordDlg QPushButton#ToPre_Button:hover,
.CHistoryRecordDlg QPushButton#ToFirstPage_Button:hover,
.CHistoryRecordDlg QPushButton#ToLastPage_Button:hover,
.CHistoryRecordDlg QPushButton#JumpTo_Button:hover
{
font : 10pt “方正兰亭中黑简体”;
color : white;
background-color : #32B7B1;
border-radius : 10px;
}

.CHistoryRecordDlg QPushButton#ToNext_Button:pressed,
.CHistoryRecordDlg QPushButton#ToPre_Button:pressed,
.CHistoryRecordDlg QPushButton#ToFirstPage_Button:pressed,
.CHistoryRecordDlg QPushButton#ToLastPage_Button:pressed,
.CHistoryRecordDlg QPushButton#JumpTo_Button:pressed
{
font : 10pt “方正兰亭中黑简体”;
color : white;
background-color : #32B7B1;
border-radius : 10px;
padding-top : 5px;
}

.CHistoryRecordDlg QLineEdit#lineEdit_JumpTo
{
font : 10pt “方正兰亭中黑简体”;
}

/------------------------------------报警事件回顾对话框(.DTSetWidget) ------------------------------------/

/-----------------------趋势图回顾对话框(.CDialogTrendGraphic )& 趋势表回顾对话框(.CDialogTrendTableReview ) -------/

.CDialogTrendTableReview QLabel#label_Ratio
{
font: 14pt “方正兰亭中黑简体”;
}

.CDialogTrendTableReview QSlider,
.CDialogTrendGraphic QSlider
{

}

.CDialogTrendTableReview QSlider::groove:horizontal,
.CDialogTrendGraphic QSlider::groove:horizontal
{
height : 5px;
border-radius : 2px;
background-color : #1F7285;
}

/*设置中间的那个滑动的键 image : url(:/images/icon/Line.png); */
.CDialogTrendTableReview QSlider::handle:horizontal,
.CDialogTrendGraphic QSlider::handle:horizontal
{
width : 10px;
height : 18px;
margin: -7px 0px -7px 0px;
background-color : #32B7B1;
border-radius : 5px;

}

/------------------------------------ 日期时间窗口(.DTSetWidget) ------------------------------------/

.DTSetWidget QPushButton#Time_Button
{
font : 12pt “方正兰亭中黑简体”;
color : black;
border : none;
padding : 2px 4px;
background-color : rgb(170, 255, 255);
border-radius : 0px;
border-top-right-radius : 10px;
border-bottom-right-radius : 10px;
}

.DTSetWidget QPushButton#Date_Button
{
font: 12pt “方正兰亭中黑简体”;
color : black;
border : none;
padding : 2px 4px;
background-color : rgb(170, 255, 255);
border-radius : 0px;
border-top-left-radius : 10px;
border-bottom-left-radius : 10px;
}

/* ---------------------- 日历与时间滚动栏 (.DialogDataSet#DataSet , .DialogTimeSet#TimeSet)-------------------------------- */

#DataSet .CustomTitleBar QWidget,
#TimeSet .CustomTitleBar QWidget
{
background-color : #333334;
border-radius : 15px;
border-bottom-left-radius : 0px;
border-bottom-right-radius : 0px;
}

#DataSet .CustomTitleBar QLabel#label_Icon,
#TimeSet .CustomTitleBar QLabel#label_Icon
{
image: url(😕/images/icon/LOGO.png);
}

#DataSet .CustomTitleBar QLabel#label_Title,
#TimeSet .CustomTitleBar QLabel#label_Title
{
font : 12pt “方正兰亭中黑简体”;
background-color : #333334;
color : white;
}

#DataSet .CustomTitleBar QPushButton#pushButton_Close,
#TimeSet .CustomTitleBar QPushButton#pushButton_Close
{
image : url(😕/images/icon/x.png);
border : none;
background-color : #333334;
}

#DataSet .CustomTitleBar QFrame,
#TimeSet .CustomTitleBar QFrame
{
background-color : #333334;
border : none;
border-radius : 15px;
border-bottom-left-radius : 0px;
border-bottom-right-radius : 0px;
}

/日历 transparent/
#DataSet QWidget
{
background-color : transparent;
}

#DataSet QFrame
{
background-color : black;
border-radius : 15px;
}

QCalendarWidget
{
font: 16pt “方正兰亭黑简体”;
height : 500px;
}

QCalendarWidget QToolButton#qt_calendar_prevmonth,
QCalendarWidget QToolButton#qt_calendar_nextmonth
{
height : 20px;
width : 20px;
color : white;
icon-size : 20px, 20px;
background-color : black;
}

QCalendarWidget QMenu
{
width: 100px;
left: 20px;
color: white;
background-color: rgb(100, 100, 100);
}

QCalendarWidget QSpinBox
{
width : 100px;
height : 30px;
color : white;
background-color : gray;
selection-background-color : rgb(136, 136, 136);
selection-color : rgb(255, 255, 255);
}

/* header row */
QCalendarWidget QWidget
{
alternate-background-color : black;
}

QCalendarWidget QWidget#qt_calendar_navigationbar
{
background-color : black;
}

QCalendarWidget QSpinBox::up-button
{
subcontrol-origin : border;
subcontrol-position : top right;
width : 25px;
}
QCalendarWidget QSpinBox::down-button
{
subcontrol-origin : border;
subcontrol-position : bottom right;
width : 25px;
}
QCalendarWidget QSpinBox::up-arrow
{
width : 15px;
height : 15px;
}
QCalendarWidget QSpinBox::down-arrow
{
width : 15px;
height : 15px;
}

/* normal days */
QCalendarWidget QAbstractItemView:enabled
{
color : white;
background-color : black;
selection-background-color : rgb(64, 64, 64);
selection-color : white;
}

/* days in other months */
QCalendarWidget QAbstractItemView:disabled
{
color: rgb(64, 64, 64);
}

#qt_calendar_monthbutton,
#qt_calendar_yearbutton
{
width : 60px;
background-color : black;
color : #32B7B1;
}

/------------------------------------ 时间滚动选择器 ------------------------------------/

#TimeSet QWidget
{
background-color : transparent;
color : white;
}

#TimeSet QFrame
{
background-color : black;
border-radius : 15px;
}

/------------------------------------ 记录播放对话框(.CHistroyPlayerDlg4LF) ------------------------------------/

/------------------------------------ 打印对话框(.DialogECGPrint ) ------------------------------------/

/------------------------------------ 打印操作对话框(.CDialogPrintOption ) ------------------------------------/

/------------------------------------ 语言家对话框(.DialogLanguageSet ) ------------------------------------/

/------------------------------------ 系统设置对话框(.DialogSystemSettings) ------------------------------------/

/首先是设置主体/
.DialogSystemSettings QSlider
{
}

.DialogSystemSettings QSlider::groove:horizontal
{
border : 0px;
}

/*设置中间的那个滑动的键 */
.DialogSystemSettings QSlider::handle:horizontal
{
background-color : white;
image : url(:/images/icon/Line.png);
width : 8px;
height : 45px;
border-radius : 3px;
}

/还没有滑上去的地方/
.DialogSystemSettings QSlider::add-page:horizontal
{
background-color : #F1E9E7;
border : 1px solid #1F7285;
border-left : 0px;
border-top-right-radius : 15px;
border-bottom-right-radius : 15px;
}

/已经划过的从地方/
.DialogSystemSettings QSlider::sub-page:horizontal
{
background-color : #cbE6eB;
border : 1px solid #1F7285;
border-right : 0px;
border-top-left-radius : 15px;
border-bottom-left-radius : 15px;
}

.DialogSystemSettings QPushButton#pushButton_Max
{
background-color : #F1E9E7;
border : none;
}

.DialogSystemSettings QPushButton#pushButton_Min
{
background-color : #cbE6eB;
border : none;
}

/------------------------------------ 自定义提示对话框(.CDialogCustomMessageBox ) ------------------------------------/

.CDialogCustomMessageBox QLabel#label_Content
{
border : none;
}

.CDialogCustomMessageBox>QLabel#label_Icon
{
image : url(:/new/prefix1/icon/Tip.png);
border : 2px solid #1F7285;
background-color : #4C9FD8;
border-radius : 27px;
}

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值