MainWindow
0
0
901
665
自动化密胺生产
background-color: rgb(12, 78, 139);
Qt::ToolButtonStyle::ToolButtonIconOnly
780
640
91
16
color:#fff;
font: 290 9pt "Microsoft YaHei";
font: 700 9pt "Microsoft YaHei UI";
08:00:00
0
0
901
631
background-color:#E6ECF5;
0
投料
-
0
0
10
877
541
background-color: #E6ECF5;
QFrame::Shape::StyledPanel
QFrame::Shadow::Raised
10
0
101
31
background-color: #F9FAFC;
font: 700 9pt "Microsoft YaHei UI";
border: 1px solid #dcdfe6;
border-radius: 10px;
监控投料
140
0
101
31
background-color: #F9FAFC;
font: 700 9pt "Microsoft YaHei UI";
border: 1px solid #dcdfe6;
border-radius: 10px;
投料设置
270
0
101
31
background-color: #F9FAFC;
font: 700 9pt "Microsoft YaHei UI";
border: 1px solid #dcdfe6;
border-radius: 10px;
IO调试
10
40
841
461
background-color: rgb(255, 255, 255);
QFrame::Shape::StyledPanel
QFrame::Shadow::Raised
10
10
481
261
border-image: url(:bg/Image/robot.png);
background-position:center;
background-repeat:no-repeat;
true
520
150
271
41
/**QSlider
{
background-color: #FFFFFF;
border-style: outset;
border-radius:5px;
}
QSlider::groove:horizontal
{
height: 10px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
margin: 10px 0
}
QSlider::handle:horizontal
{
background: QRadialGradient(cx:0, cy:0, radius: 1, fx:0.5, fy:0.5,stop:0 green, stop:1 green);
width: 10px;
height: 16px;
margin: -5px 3px -5px 6px;
border-radius:5px;
border: 3px solid #007900;
}
**/
/*第一种风格*/
/**
groove表示槽的部分
handle表示滑块
add-page表示未滑过的槽部分
sub-page表示已滑过的槽部分
在辅助控制器后面可以设置状态,horizontal就是QSS生效的QSlider的状态
**/
QSlider::groove:horizontal
{
height:10px;
border-radius: 5px;
background-color:rgb(219,219,219);
}
QSlider::handle:horizontal
{
background: QRadialGradient(cx:0, cy:0, radius: 1, fx:0.5, fy:0.5,stop:0 green, stop:1 green);
width: 5px;
height: 5px;
margin: -5px 3px -5px 6px;
border-radius:5px;
border: 3px solid #007900;
}
QSlider::add-page:horizontal
{
border-radius: 5px;
background-color: rgb(219,219,219);
}
QSlider::sub-page:horizontal
{
border-radius: 5px;
background-color: rgb(80,166,234);
}
Qt::Orientation::Horizontal
800
160
31
21
font: 9pt "楷体";
10
500
200
331
251
background-color: rgb(85, 170, 255);
QFrame::Shape::StyledPanel
QFrame::Shadow::Raised
60
20
221
22
Qt::Orientation::Horizontal
60
0
31
21
-10
260
0
31
21
+10
60
40
53
21
-150
260
40
21
21
150
60
60
221
22
Qt::Orientation::Horizontal
60
80
53
21
-150
260
80
21
21
150
60
100
221
22
Qt::Orientation::Horizontal
60
160
53
21
-150
60
180
221
22
Qt::Orientation::Horizontal
260
160
21
21
150
60
200
53
21
-150
60
220
221
22
Qt::Orientation::Horizontal
260
200
21
21
150
60
120
53
21
-150
60
140
221
22
Qt::Orientation::Horizontal
260
120
21
21
150
10
20
21
21
font: 700 9pt "Microsoft YaHei UI";
J1
10
60
21
21
font: 700 9pt "Microsoft YaHei UI";
J2
10
100
21
21
font: 700 9pt "Microsoft YaHei UI";
J3
10
140
21
21
font: 700 9pt "Microsoft YaHei UI";
J4
10
180
21
21
font: 700 9pt "Microsoft YaHei UI";
J5
10
220
21
21
font: 700 9pt "Microsoft YaHei UI";
J6
290
20
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(0, 255, 0);
}
25
20
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
25
60
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
290
60
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
25
100
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
290
100
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
290
140
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
25
180
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
290
220
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
25
220
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
25
140
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
290
180
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
10
280
481
171
*{
background-color: #E6ECF5;
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: "\2610"; }
li.checked::marker { content: "\2612"; }
</style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2024-08-06 10:10:10:当前正在运行。。。</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2024-08-06 11:10:10:移动机械臂至所示位置</p></body></html>
520
10
271
41
QComboBox {
border-radius: 10px;
padding: 5px 5px 5px 5px;
background-color: #2c2c2c;
color: white;
border: 1px solid #474747;
min-width: 80px;
}
QComboBox::drop-down {
width: 0px;
border: none;
}
QComboBox::down-arrow {
image: none;
}
QComboBox QAbstractItemView {
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background: #2c2c2c;
border: 1px solid gray;
padding: 4px 4px 4px 4px;
outline: none;
}
1号线
-
1号线
-
新建线
510
60
291
91
background-color: rgb(255, 255, 255);
0
10
60
61
31
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
50
10
20
61
31
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
10
80
60
61
31
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
60
150
20
61
31
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
30
220
20
61
31
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
40
150
60
61
31
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
自定义
80
20
61
31
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
20
150
60
61
31
background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
123
Qt::AlignmentFlag::AlignCenter
lineEdit_num
pushButton_num5
pushButton_num1
pushButton_num6
pushButton_num3
pushButton_num4
pushButton_num_free
pushButton_num2
30
30
91
41
*{
background-color: #499C54;
font: 12pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
补一袋
170
30
91
41
*{
background-color: rgb(255, 0, 0);
font: 12pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
扣一袋
560
510
91
31
*{
background-color: rgb(255, 0, 0);
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #ff6e00;
}
急停
760
510
91
31
*{
background-color: #1CB2B1;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color:#1cb052;
}
故障诊断
660
510
91
31
*{
background-color: #1062B3;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color:#1053b2;
}
调试
360
510
91
31
*{
background-color: #499C54;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
启动
460
510
91
31
*{
background-color: #FFFFBF;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #FFF000;
}
复位
Tab 2
10
10
75
23
PushButton
10
39
75
23
PushButton
690
640
91
16
color:#fff;
font: 290 9pt "Microsoft YaHei";
font: 700 9pt "Microsoft YaHei UI";
2024-08-01
Qt::AlignmentFlag::AlignCenter
300
634
301
28
background-color: #9A9A9A;
QFrame::Shape::StyledPanel
QFrame::Shadow::Raised
20
7
81
16
color: #F9FFF9;
font: 700 9pt "等线";
设备状态监控
220
7
16
16
QLabel {
background-color: #A2EF4D; /* 设置背景颜色 */
color: #ffffff; /* 设置字体颜色 */
border-radius: 8px; /* 圆角半径设置为 QLabel 的一半,形成圆形 */
border: 1px solid #A2EF4D; /* 设置边框颜色和宽度 */
qproperty-alignment: 'AlignCenter'; /* 设置文本居中 */
}
160
7
51
16
color: #F9FFF9;
font: 700 9pt "等线";
通信状态
tabWidget
label_time
label_date
frame