123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682 |
- * {
- font-family: "思源黑体M", "Source Han Sans", "Microsoft YaHei", sans-serif; /* 确保字体的兼容性 */
- font-size: 14px;
- font-weight: normal;
- outline: 0px;
- }
- /*登录*/
- Login QWidget#widget_2
- {
- background-image: url(:/images/login.png);
- }
- Login QWidget#widget
- {
- border-radius: 20px;
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6164D6, stop: 1 #6164D6); /* 第一层渐变 */
- }
- Login QPushButton
- {
- color:#FFFFFF;
- border-radius: 8px;
- background: #9294FF;
- }
- Login QLineEdit#userNameLineEdit,
- Login QLineEdit#passLineEdit
- {
- color:#FFFFFF;
- border-radius: 8px;
- padding-left:82px;
- border: 1px solid #9294FF;
- background: rgba(111, 113, 223, 0.2);
- }
- Login QLabel#label_user
- {
- image: url(:/images/login_user.png);
- }
- Login QLabel#label_pass
- {
- image: url(:/images/login_pass.png);
- }
- Login QFrame#line,
- Login QFrame#line_2
- {
- background: #9294FF;
- }
- /*主界面*/
- MainWnd QWidget#TabSideBar
- {
- background: #2F3297;
- }
- MainWnd QWidget#centralwidget
- {
- background: #1D2087;
- }
- MainWnd QFrame#line,
- OriginalWnd QFrame#line_2,
- QFrame#line_3,
- SingleCameraOperationWnd QFrame#line_2,
- MainAndSecondaryCamerasWnd QFrame#line_16,
- ChartsAndCamerasWnd QFrame#line_2
- {
- border:none;
- background-color: rgba(186, 189, 220, 0.6);
- }
- MainWnd QWidget#TabSideBar QToolButton
- {
- color: #FFFFFF;
- font-weight: bold;
- background: #5A5CAD;
- border-radius:6px;
- }
- MainWnd QLabel#label_logo_m {
- image: url(:/images/deep/logo1.png);
- }
- /*侧边栏按钮*/
- QWidget#TabSideBar>QToolButton::hover,QWidget#TabSideBar>QToolButton::checked
- {
- border:none;
- color:#FFFFFF;
- background: #E17D07;
- }
- MainWnd QToolButton
- {
- padding-top: 8px;
- }
- QWidget#TabSideBar>QToolButton#tabHomeBtn
- {
- qproperty-icon:url(:/images/deep/home.png);
- }
- QWidget#TabSideBar>QToolButton#tabProductionBtn
- {
- qproperty-icon:url(:/images/deep/Productionn assistance.png);
- }
- QWidget#TabSideBar>QToolButton#tabProgramBtn
- {
- qproperty-icon:url(:/images/deep/Program.png);
- }
- QWidget#TabSideBar>QToolButton#tabMessageBtn
- {
- qproperty-icon:url(:/images/deep/Message.png);
- }
- QWidget#TabSideBar>QToolButton#tabModuleBtn
- {
- qproperty-icon:url(:/images/deep/Module.png);
- }
- QWidget#TabSideBar>QToolButton#tabDispositionBtn
- {
- qproperty-icon:url(:/images/deep/Disposition.png);
- }
- QWidget#TabSideBar>QToolButton#tabDiagnosisBtn
- {
- qproperty-icon:url(:/images/deep/Diagnosis.png);
- }
- QWidget#TabSideBar>QToolButton#tabSystemBtn
- {
- qproperty-icon:url(:/images/deep/System.png);
- }
- QWidget#TabSideBar>QToolButton#tabHelpBtn
- {
- qproperty-icon:url(:/images/deep/Help.png);
- }
- /*顶部*/
- QWidget#Toptitlebar
- {
- /*border-radius: 6px;*/
- background: #4E53B8;
- color: #FFFFFF;
- }
- QWidget#Toptitlebar QLable#label_4
- {
- color: #FFFFFF;
- }
- OriginalWnd QWidget#Toptitlebar QPushButton#CalibrationButton
- {
- color: #FFFFFF;
- border-radius: 4px;
- background: #4AA2FF;
- }
- QWidget#Toptitlebar QPushButton#pushButton_2
- {
- background-color: transparent;
- image: url(:/images/TopStatusBar/MachineLink.png);
- }
- QWidget#Toptitlebar QPushButton#pushButton_3
- {
- background-color: transparent;
- image: url(:/images/TopStatusBar/HostStatus.png);
- }
- /*初始界面*/
- OriginalWnd QWidget#widget_2,
- OriginalWnd QWidget#widget
- {
- background: #2F3297;
- border-radius: 10px;
- }
- OriginalWnd QWidget#widget QToolButton#stopButton
- {
- border-radius: 6px;
- background: #F02962;
- color: #FFFFFF;
- padding-bottom: 10px;
- padding-left: 9px;
- }
- OriginalWnd QWidget#widget QToolButton#startButton
- {
- border-radius: 6px;
- background: #4AB832;
- color: #FFFFFF;
- padding-bottom: 10px;
- padding-left: 9px;
- }
- OriginalWnd QWidget#widget>QToolButton#ChartButton::hover,
- OriginalWnd QWidget#widget>QToolButton#DoubleImageButton::hover,
- OriginalWnd QWidget#widget>QToolButton#SingleImageButton::hover,
- OriginalWnd QWidget#widget>QToolButton#ChartButton::checked,
- OriginalWnd QWidget#widget>QToolButton#DoubleImageButton::checked,
- OriginalWnd QWidget#widget>QToolButton#SingleImageButton::checked
- {
- background: #E17D07;
- }
- OriginalWnd QWidget#widget QToolButton#ChartButton
- {
- border-radius: 6px;
- background: #5A5CAD;
- padding-bottom: 8px;
- qproperty-icon:url(:/images/deep/Demo001_1.png);
- }
- OriginalWnd QWidget#widget QToolButton#DoubleImageButton
- {
- border-radius: 6px;
- background: #5A5CAD;
- padding-bottom: 8px;
- qproperty-icon:url(:/images/deep/Demo001_2.png);
- }
- OriginalWnd QWidget#widget QToolButton#SingleImageButton
- {
- border-radius: 6px;
- background: #5A5CAD;
- padding-bottom: 8px;
- qproperty-icon:url(:/images/deep/Demo001_3.png);
- }
- /* SingleCameraOperationWnd */
- QComboBox
- {
- border:1px solid #6D6FB6;
- border-radius:6px;
- background: #4C4FA6;
- color: #FFFFFF;
- }
- QComboBox::down-arrow
- {
- image: url(:/images/drop.png);
- width: 30px;
- height:30px;
- }
- QComboBox::drop-down
- {
- width:20px;
- border:none;
- padding-right:5px;
- }
- SingleCameraOperationWnd QWidget#centralwidget,
- MainAndSecondaryCamerasWnd QWidget#centralwidget,
- ChartsAndCamerasWnd QWidget#Leftwidget,
- ChartsAndCamerasWnd QWidget#Rightwidget
- {
- border-radius: 10px;
- background: #2F3297;
- }
- Group QPushButton#GroupButton
- {
- image: url(:/images/LightGroup/LightSwitch.png);
- border-radius: 6px;
- background: #6A6FFF;
- }
- SingleCameraOperationWnd QPushButton#LiveButton,
- MainAndSecondaryCamerasWnd QPushButton#LeftLiveButton,
- MainAndSecondaryCamerasWnd QPushButton#RightLiveButton,
- ChartsAndCamerasWnd QPushButton#LiveButton
- {
- color: #FFFFFF;
- border-radius: 6px;
- background: #6A6FFF;
- }
- SingleCameraOperationWnd QWidget#RedLight,
- SingleCameraOperationWnd QWidget#GreenLight,
- SingleCameraOperationWnd QWidget#BlueLight,
- SingleCameraOperationWnd QWidget#DotLight,
- MainAndSecondaryCamerasWnd QWidget#RedLight,
- MainAndSecondaryCamerasWnd QWidget#GreenLight,
- MainAndSecondaryCamerasWnd QWidget#BlueLight,
- MainAndSecondaryCamerasWnd QWidget#DotLight,
- MainAndSecondaryCamerasWnd QWidget#RedLight_L,
- MainAndSecondaryCamerasWnd QWidget#GreenLight_L,
- MainAndSecondaryCamerasWnd QWidget#BlueLight_L,
- MainAndSecondaryCamerasWnd QWidget#DotLight_L,
- ChartsAndCamerasWnd QWidget#RedLight,
- ChartsAndCamerasWnd QWidget#GreenLight,
- ChartsAndCamerasWnd QWidget#BlueLight,
- ChartsAndCamerasWnd QWidget#DotLight
- {
- background: #4E53B8;
- }
- SingleCameraOperationWnd QLineEdit,
- MainAndSecondaryCamerasWnd QLineEdit,
- ChartsAndCamerasWnd QLineEdit
- {
- background: #4C4FA6;
- border-radius: 6px;
- border: 1px solid #6D6FB6;
- color: #FFFFFF;
- }
- SingleCameraOperationWnd QWidget#BackGround,
- MainAndSecondaryCamerasWnd QWidget#LeftBackGround,
- MainAndSecondaryCamerasWnd QWidget#RightBackGround,
- ChartsAndCamerasWnd QWidget#BackGround
- {
- background: #FFFFFF;
- border: 1px solid #BABBDC;
- border-radius: 0px;
- }
- QProgressBar {
- border: 2px solid grey;
- border-radius: 5px;
- background-color: transparent;
- }
- QProgressBar#RedLightprogressBar::chunk,
- QProgressBar#RedLightprogressBar_2::chunk,
- QProgressBar#RedLightprogressBar_L::chunk
- {
- border-radius: 3px;
- background-color: red;
- height: 1px;
- }
- QProgressBar#GreenLightprogressBar::chunk,
- QProgressBar#GreenLightprogressBar_5::chunk,
- QProgressBar#GreenLightprogressBar_L::chunk
- {
- border-radius: 3px;
- background-color: Green;
- height: 1px;
- }
- QProgressBar#BlueLightprogressBar::chunk,
- QProgressBar#BlueLightprogressBar_2::chunk,
- QProgressBar#BlueLightprogressBar_L::chunk
- {
- border-radius: 3px;
- background-color: Blue;
- height: 1px;
- }
- QProgressBar#DotLightprogressBar::chunk,
- QProgressBar#DotLightprogressBar_2::chunk,
- QProgressBar#DotLightprogressBar_L::chunk
- {
- border-radius: 3px;
- background-color: yellow;
- height: 1px;
- }
- /* 工具栏 */
- SingleCameraOperationWnd QWidget#Toolbar,
- MainAndSecondaryCamerasWnd QWidget#LeftToolbar,
- MainAndSecondaryCamerasWnd QWidget#RightToolbar,
- ChartsAndCamerasWnd QWidget#Toolbar
- {
- border-radius: 6px;
- background: #4E53B8;
- }
- SingleCameraOperationWnd QWidget#Toolbar QPushButton,
- MainAndSecondaryCamerasWnd QWidget#LeftToolbar QPushButton,
- MainAndSecondaryCamerasWnd QWidget#RightToolbar QPushButton,
- ChartsAndCamerasWnd QWidget#Toolbar QPushButton
- {
- border-radius: 6px;
- background: #4E53B8;
- border:none;
- }
- SingleCameraOperationWnd QFrame#line,
- SingleCameraOperationWnd QFrame#line_3,
- SingleCameraOperationWnd QFrame#line_4,
- SingleCameraOperationWnd QFrame#line_5,
- SingleCameraOperationWnd QFrame#line_6,
- MainAndSecondaryCamerasWnd QFrame#line_1,
- MainAndSecondaryCamerasWnd QFrame#line_3,
- MainAndSecondaryCamerasWnd QFrame#line_4,
- MainAndSecondaryCamerasWnd QFrame#line_5,
- MainAndSecondaryCamerasWnd QFrame#line_6,
- MainAndSecondaryCamerasWnd QFrame#line_11,
- MainAndSecondaryCamerasWnd QFrame#line_12,
- MainAndSecondaryCamerasWnd QFrame#line_13,
- MainAndSecondaryCamerasWnd QFrame#line_14,
- MainAndSecondaryCamerasWnd QFrame#line_15,
- ChartsAndCamerasWnd QFrame#line,
- ChartsAndCamerasWnd QFrame#line_3,
- ChartsAndCamerasWnd QFrame#line_4,
- ChartsAndCamerasWnd QFrame#line_5,
- ChartsAndCamerasWnd QFrame#line_6
- {
- border:none;
- background-color: rgba(255, 255, 255, 0.5);
- }
- SingleCameraOperationWnd QPushButton#pushButton_2,
- SingleCameraOperationWnd QLabel#label_Percentage,
- MainAndSecondaryCamerasWnd QPushButton#pushButton_2,
- MainAndSecondaryCamerasWnd QLabel#Leftlabel_Percentage,
- MainAndSecondaryCamerasWnd QPushButton#pushButton_4,
- MainAndSecondaryCamerasWnd QLabel#Rightlabel_Percentage,
- ChartsAndCamerasWnd QPushButton#pushButton_2,
- ChartsAndCamerasWnd QLabel#label_Percentage
- {
- color: #FFFFFF;
- }
- SingleCameraOperationWnd QPushButton#ZoomUpButton,
- MainAndSecondaryCamerasWnd QPushButton#LeftZoomUpButton,
- MainAndSecondaryCamerasWnd QPushButton#RightZoomUpButton,
- ChartsAndCamerasWnd QPushButton#ZoomUpButton
- {
- image: url(:/images/deep/zoom up.png);
- }
- SingleCameraOperationWnd QPushButton#ZoomOutButton,
- MainAndSecondaryCamerasWnd QPushButton#LeftZoomOutButton,
- MainAndSecondaryCamerasWnd QPushButton#RightZoomOutButton,
- ChartsAndCamerasWnd QPushButton#ZoomOutButton
- {
- image: url(:/images/deep/zoom out.png);
- }
- SingleCameraOperationWnd QPushButton#RulerButton,
- MainAndSecondaryCamerasWnd QPushButton#LeftRulerButton,
- MainAndSecondaryCamerasWnd QPushButton#RightRulerButton,
- ChartsAndCamerasWnd QPushButton#RulerButton
- {
- image: url(:/images/deep/ruler.png);
- }
- SingleCameraOperationWnd QPushButton#PenButton,
- MainAndSecondaryCamerasWnd QPushButton#LeftPenButton,
- MainAndSecondaryCamerasWnd QPushButton#RightPenButton,
- ChartsAndCamerasWnd QPushButton#PenButton
- {
- image: url(:/images/deep/pen.png);
- }
- /* 为垂直滑块设置样式 */
- QSlider#RedLightverticalSlider::groove:vertical,
- QSlider#RedLightverticalSlider_L::groove:vertical,
- QSlider#RedLightverticalSlider_2::groove:vertical
- {
- height: 56px;
- width: 3px;
- background: red;
- }
- QSlider#GreenLightverticalSlider::groove:vertical,
- QSlider#GreenLightverticalSlider_L::groove:vertical,
- QSlider#GreenLightverticalSlider_5::groove:vertical
- {
- height: 56px;
- width: 3px;
- background: Green;
- }
- QSlider#BlueLightverticalSlider::groove:vertical,
- QSlider#BlueLightverticalSlider_L::groove:vertical
- {
- height: 56px;
- width: 3px;
- background: Blue;
- }
- QSlider#DotLightverticalSlider::groove:vertical,
- QSlider#DotLightverticalSlider_L::groove:vertical,
- QSlider#DotLightverticalSlider_2::groove:vertical
- {
- height: 56px;
- width: 3px;
- background: yellow;
- }
- /*QSlider::sub-page:vertical {
- height: 56px;
- width: 3px;
- background: rgba(78, 81, 206, 0.25);
- }*/
- QSlider#RedLightverticalSlider::handle:vertical,
- QSlider#RedLightverticalSlider_L::handle:vertical,
- QSlider#RedLightverticalSlider_2::handle:vertical
- {
- border-image: url(:/images/LightGroup/red.png);
- height: 6px;
- margin: 0px -5px 0px -5px;
- border-radius: 4px;
- }
- QSlider#GreenLightverticalSlider::handle:vertical,
- QSlider#GreenLightverticalSlider_L::handle:vertical,
- QSlider#GreenLightverticalSlider_5::handle:vertical
- {
- border-image: url(:/images/LightGroup/green.png);
- height: 6px;
- margin: 0px -5px 0px -5px;
- border-radius: 4px;
- }
- QSlider#BlueLightverticalSlider::handle:vertical,
- QSlider#BlueLightverticalSlider_L::handle:vertical
- {
- border-image: url(:/images/LightGroup/blue.png);
- height: 6px;
- margin: 0px -5px 0px -5px;
- border-radius: 4px;
- }
- QSlider#DotLightverticalSlider::handle:vertical,
- QSlider#DotLightverticalSlider_L::handle:vertical,
- QSlider#DotLightverticalSlider_2::handle:vertical
- {
- border-image: url(:/images/LightGroup/yellow.png);
- height: 6px;
- margin: 0px -5px 0px -5px;
- border-radius: 4px;
- }
- QScrollArea {
- background-color: transparent;
- border: none;
- }
- QScrollArea QWidget {
- background-color: transparent;
- }
- QScrollBar
- {
- background:transparent;
- width:10px;
- height:10px;
- border-radius:5px;
- border-style: solid;
- }
- QScrollBar::handle
- {
- background: #5058B3;
- border-radius: 5px;
- }
- QScrollBar::sub-page
- {
- background:transparent;
- border:none;
- }
- QScrollBar::add-page
- {
- background:transparent;
- border:none;
- }
- QScrollBar::up-arrow
- {
- background:transparent;
- border-top-left-radius:5px;
- border-top-right-radius:5px;
- }
- QScrollBar::down-arrow
- {
- background:transparent;
- border-bottom-left-radius:5px;
- border-bottom-right-radius:5px;
- }
- QScrollBar::sub-line
- {
- background:transparent;
- border-radius: 5px;
- }
- QScrollBar::add-line
- {
- background:transparent;
- border-radius: 5px;
- }
- ChartsAndCamerasWnd QWidget#Checkwidget
- {
- border-radius: 6px;
- border: 1px solid #BABBDC;
- }
- ChartsAndCamerasWnd QCheckBox {
- border: 0px solid #FFFFFF;
- padding: 4px;
- spacing: 18px;
- color: #FFFFFF;
- }
- ChartsAndCamerasWnd QCheckBox::indicator{
- border: 1px solid #BABBDC;
- width: 12px;
- height: 12px;
- border-radius: 2px;
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0.01 #FFFFFF, stop: 1 #F2F2FA);
- }
- ChartsAndCamerasWnd QCheckBox::indicator:checked {
- image: url(:/images/check_selected.png);
- }
- ChartsAndCamerasWnd QLabel#GreenDiamond
- {
- image: url(:/images/Participation display/GreenDiamond.png);
- }
- ChartsAndCamerasWnd QLabel#RedDiamond
- {
- image: url(:/images/Participation display/RedDiamond.png);
- }
- ChartsAndCamerasWnd QLabel#BlueDiamond
- {
- image: url(:/images/Participation display/BlueDiamond.png);
- }
- ChartsAndCamerasWnd QLabel#YellowDiamond
- {
- image: url(:/images/Participation display/YellowDiamond.png);
- }
- ChartsAndCamerasWnd QLabel#BlackDiamond
- {
- image: url(:/images/Participation display/BlackDiamond.png);
- }
- ChartsAndCamerasWnd QLabel#WhiteVerticalBar
- {
- image: url(:/images/Participation display/White vertical bars.png);
- }
- ChartsAndCamerasWnd QLabel#RedHorizontalLine
- {
- image: url(:/images/Participation display/Red horizontal line.png);
- }
- ChartsAndCamerasWnd QLabel#BlueHorizontalLine
- {
- image: url(:/images/Participation display/Blue horizontal line.png);
- }
- ChartsAndCamerasWnd QLabel#BlueVerticalBar
- {
- image: url(:/images/Participation display/Blue vertical bars.png);
- }
- ChartsAndCamerasWnd QLabel#GreenVerticalBar
- {
- image: url(:/images/Participation display/Green vertical bars.png);
- }
- ChartsAndCamerasWnd QLabel#PurpleVerticalBar
- {
- image: url(:/images/Participation display/Purple vertical bars.png);
- }
|