|
@@ -163,15 +163,15 @@ OriginalWnd QWidget#Toptitlebar QPushButton#CalibrationButton
|
|
|
background: #4AA2FF;
|
|
|
}
|
|
|
|
|
|
-QWidget#Toptitlebar QPushButton#MachineLink
|
|
|
+QWidget#Toptitlebar QPushButton#pushButton_2
|
|
|
{
|
|
|
- border-radius: 4px;
|
|
|
+ background-color: transparent;
|
|
|
image: url(:/images/TopStatusBar/MachineLink.png);
|
|
|
}
|
|
|
|
|
|
-QWidget#Toptitlebar QPushButton#HostStatus
|
|
|
+QWidget#Toptitlebar QPushButton#pushButton_3
|
|
|
{
|
|
|
- border-radius: 4px;
|
|
|
+ background-color: transparent;
|
|
|
image: url(:/images/TopStatusBar/HostStatus.png);
|
|
|
}
|
|
|
|
|
@@ -236,28 +236,7 @@ OriginalWnd QWidget#widget QToolButton#SingleImageButton
|
|
|
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,
|
|
@@ -388,30 +367,7 @@ ChartsAndCamerasWnd QWidget#Toolbar QPushButton
|
|
|
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,
|
|
@@ -425,118 +381,9 @@ 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;
|
|
@@ -680,3 +527,290 @@ ChartsAndCamerasWnd QLabel#PurpleVerticalBar
|
|
|
{
|
|
|
image: url(:/images/Participation display/Purple vertical bars.png);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+/* ControlOperationPage 类的样式封装 */
|
|
|
+ControlOperationPage QHBoxLayout#horizontalLayout_2
|
|
|
+{
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #4E53B8;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ControlOperationPage QHBoxLayout#horizontalLayout_2 QPushButton
|
|
|
+{
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #4E53B8;
|
|
|
+ border:none;
|
|
|
+}
|
|
|
+
|
|
|
+/* 悬停时的样式 */
|
|
|
+ControlOperationPage QHBoxLayout#horizontalLayout_2 QPushButton:hover
|
|
|
+{
|
|
|
+ background: #A6AFFF; /* 悬停时的背景颜色 */
|
|
|
+}
|
|
|
+
|
|
|
+/* 点击时的样式 */
|
|
|
+ControlOperationPage QHBoxLayout#horizontalLayout_2 QPushButton:pressed
|
|
|
+{
|
|
|
+ background: #808FFF; /* 点击时的背景颜色 */
|
|
|
+}
|
|
|
+
|
|
|
+ControlOperationPage QPushButton#LiveButton
|
|
|
+{
|
|
|
+ color: #FFFFFF;
|
|
|
+ border-radius: 6px;
|
|
|
+ background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #949FE8,stop:1 #2D309B);
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ControlOperationPage QPushButton#ZoomUpButton
|
|
|
+{
|
|
|
+ image: url(:/images/light/zoom up.png);
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #CBD0FF;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+
|
|
|
+ControlOperationPage QPushButton#ZoomOutButton
|
|
|
+{
|
|
|
+ image: url(:/images/light/zoom out.png);
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #CBD0FF;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ControlOperationPage QPushButton#RulerButton
|
|
|
+{
|
|
|
+ image: url(:/images/light/ruler.png);
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #CBD0FF;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ControlOperationPage QPushButton#PenButton
|
|
|
+{
|
|
|
+ image: url(:/images/light/pen.png);
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #CBD0FF;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+
|
|
|
+ControlOperationPage QPushButton#switchJoystickBut
|
|
|
+{
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #CBD0FF;
|
|
|
+ border: none;
|
|
|
+
|
|
|
+}
|
|
|
+ControlOperationPage QPushButton#switchJoystickBut:pressed,
|
|
|
+ControlOperationPage QPushButton#PenButton:pressed,
|
|
|
+ControlOperationPage QPushButton#RulerButton:pressed,
|
|
|
+ControlOperationPage QPushButton#ZoomOutButton:pressed,
|
|
|
+ControlOperationPage QPushButton#ZoomUpButton:pressed,
|
|
|
+ControlOperationPage QPushButton#switchJoystickBut:pressed
|
|
|
+{
|
|
|
+ background: #808FFF; /* 点击时的背景颜色 */
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ControlOperationPage QPushButton#switchJoystickBut:hover,
|
|
|
+ControlOperationPage QPushButton#PenButton:hover,
|
|
|
+ControlOperationPage QPushButton#RulerButton:hover,
|
|
|
+ControlOperationPage QPushButton#ZoomOutButton:hover,
|
|
|
+ControlOperationPage QPushButton#ZoomUpButton:hover,
|
|
|
+ControlOperationPage QPushButton#switchJoystickBut:hover
|
|
|
+{
|
|
|
+ background: #A6AFFF; /* 悬停时的背景颜色 */
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ControlOperationPage QLabel#label_Percentage
|
|
|
+{
|
|
|
+ color: #4E51CE;
|
|
|
+ border-radius: 6px;
|
|
|
+ background: #CBD0FF;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+
|
|
|
+Group QComboBox
|
|
|
+{
|
|
|
+ border:1px solid #BABBDC;
|
|
|
+ border-radius:6px;
|
|
|
+ background:#4C4FA6;
|
|
|
+}
|
|
|
+
|
|
|
+Group QComboBox::down-arrow
|
|
|
+{
|
|
|
+ image: url(:/images/drop.png);
|
|
|
+ width: 30px;
|
|
|
+ height:30px;
|
|
|
+}
|
|
|
+
|
|
|
+Group QComboBox::drop-down
|
|
|
+{
|
|
|
+ width:20px;
|
|
|
+ border:none;
|
|
|
+ padding-right:5px;
|
|
|
+}
|
|
|
+ControlOperationPage QComboBox
|
|
|
+{
|
|
|
+ border:1px solid #6D6FB6;
|
|
|
+ border-radius:6px;
|
|
|
+ background: #4C4FA6;
|
|
|
+ color: #4C4FA6;
|
|
|
+}
|
|
|
+
|
|
|
+ControlOperationPage QComboBox::down-arrow
|
|
|
+{
|
|
|
+ image: url(:/images/drop.png);
|
|
|
+ width: 30px;
|
|
|
+ height:30px;
|
|
|
+}
|
|
|
+
|
|
|
+ControlOperationPage QComboBox::drop-down
|
|
|
+{
|
|
|
+ width:20px;
|
|
|
+ border:none;
|
|
|
+ padding-right:5px;
|
|
|
+}
|
|
|
+
|
|
|
+ControlOperationPage QWidget#BackGround
|
|
|
+{
|
|
|
+ background: #FFFFFF;
|
|
|
+ border: 1px solid #BABBDC;
|
|
|
+ border-radius: 0px;
|
|
|
+}
|
|
|
+
|
|
|
+/* LightJoystickSwitchPage */
|
|
|
+
|
|
|
+LightJoystickSwitchPage{
|
|
|
+ background: #D6D8ED;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QTabWidget#switchTabWidget
|
|
|
+{
|
|
|
+ border-radius: 10px;
|
|
|
+ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F1F4FD, stop: 1 #E5E4F6);
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QTabWidget#switchTabWidget QWidget,
|
|
|
+LightJoystickSwitchPage QTabWidget#switchTabWidget QWidget#GreenLightTab QWidget,
|
|
|
+LightJoystickSwitchPage QTabWidget#switchTabWidget QWidget#JoystickTab QWidget
|
|
|
+
|
|
|
+{
|
|
|
+ background: #D6D8ED;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QSlider#RedLightverticalSlider::handle:vertical
|
|
|
+{
|
|
|
+ border-image: url(:/images/LightGroup/red.png);
|
|
|
+ height: 6px;
|
|
|
+ margin: 0px -5px 0px -5px;
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QSlider#GreenLightverticalSlider::handle:vertical
|
|
|
+{
|
|
|
+ border-image: url(:/images/LightGroup/green.png);
|
|
|
+ height: 6px;
|
|
|
+ margin: 0px -5px 0px -5px;
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QSlider#BlueLightverticalSlider::handle:vertical
|
|
|
+{
|
|
|
+ border-image: url(:/images/LightGroup/blue.png);
|
|
|
+ height: 6px;
|
|
|
+ margin: 0px -5px 0px -5px;
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QSlider#DotLightverticalSlider::handle:vertical
|
|
|
+{
|
|
|
+ border-image: url(:/images/LightGroup/yellow.png);
|
|
|
+ height: 6px;
|
|
|
+ margin: 0px -5px 0px -5px;
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/* 为垂直滑块设置样式 */
|
|
|
+LightJoystickSwitchPage QSlider#RedLightverticalSlider::groove:vertical
|
|
|
+{
|
|
|
+ height: 56px;
|
|
|
+ width: 3px;
|
|
|
+ background: red;
|
|
|
+}
|
|
|
+
|
|
|
+/* 为垂直滑块设置样式 */
|
|
|
+LightJoystickSwitchPage QSlider#GreenLightverticalSlider::groove:vertical
|
|
|
+{
|
|
|
+ height: 56px;
|
|
|
+ width: 3px;
|
|
|
+ background: green;
|
|
|
+}
|
|
|
+
|
|
|
+/* 为垂直滑块设置样式 */
|
|
|
+LightJoystickSwitchPage QSlider#BlueLightverticalSlider::groove:vertical
|
|
|
+{
|
|
|
+ height: 56px;
|
|
|
+ width: 3px;
|
|
|
+ background: blue;
|
|
|
+}
|
|
|
+
|
|
|
+/* 为垂直滑块设置样式 */
|
|
|
+LightJoystickSwitchPage QSlider#DotLightverticalSlider::groove:vertical
|
|
|
+{
|
|
|
+ height: 56px;
|
|
|
+ width: 3px;
|
|
|
+ background: yellow;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QProgressBar
|
|
|
+{
|
|
|
+ border: 0.5px solid grey;
|
|
|
+ border-radius: 5px;
|
|
|
+ background-color: transparent;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QProgressBar#RedLightprogressBar::chunk
|
|
|
+{
|
|
|
+ border-radius: 3px;
|
|
|
+ background-color: red;
|
|
|
+ height: 1px;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+LightJoystickSwitchPage QProgressBar#GreenLightprogressBar::chunk
|
|
|
+{
|
|
|
+ border-radius: 3px;
|
|
|
+ background-color: Green;
|
|
|
+ height: 1px;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+LightJoystickSwitchPage QProgressBar#BlueLightprogressBar::chunk
|
|
|
+{
|
|
|
+ border-radius: 3px;
|
|
|
+ background-color: Blue;
|
|
|
+ height: 1px;
|
|
|
+}
|
|
|
+
|
|
|
+LightJoystickSwitchPage QProgressBar#DotLightprogressBar::chunk
|
|
|
+{
|
|
|
+ border-radius: 3px;
|
|
|
+ background-color: yellow;
|
|
|
+ height: 1px;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+LightJoystickSwitchPage QTabWidget#switchTabWidget QLineEdit
|
|
|
+{
|
|
|
+ border-radius: 6px;
|
|
|
+ border: 1px solid #BABBDC;
|
|
|
+}
|
|
|
+
|