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
10
101
31
background-color: #F9FAFC;
font: 700 9pt "Microsoft YaHei UI";
border: 1px solid #dcdfe6;
border-radius: 10px;
监控投料
110
10
101
31
background-color: #F9FAFC;
font: 700 9pt "Microsoft YaHei UI";
border: 1px solid #dcdfe6;
border-radius: 10px;
投料设置
230
10
101
31
background-color: #F9FAFC;
font: 700 9pt "Microsoft YaHei UI";
border: 1px solid #dcdfe6;
border-radius: 10px;
IO调试
-10
40
891
541
0
0
-10
877
551
background-color: #E6ECF5;
QFrame::Shape::StyledPanel
QFrame::Shadow::Raised
10
10
861
521
background-color: rgb(255, 255, 255);
QFrame::Shape::StyledPanel
QFrame::Shadow::Raised
10
10
481
201
background-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
190
331
281
background-color: rgb(85, 170, 255);
QFrame::Shape::StyledPanel
QFrame::Shadow::Raised
65
50
171
22
Qt::Orientation::Horizontal
65
30
31
21
-10
215
30
31
21
+10
65
70
53
21
-150
215
70
21
21
150
65
90
171
22
Qt::Orientation::Horizontal
65
110
53
21
-150
215
110
21
21
150
65
130
171
22
Qt::Orientation::Horizontal
65
190
53
21
-150
65
210
171
22
Qt::Orientation::Horizontal
215
190
21
21
150
65
230
53
21
-150
65
250
171
22
Qt::Orientation::Horizontal
215
230
21
21
150
65
150
53
21
-150
65
170
171
22
Qt::Orientation::Horizontal
215
150
21
21
150
15
50
21
21
font: 700 9pt "Microsoft YaHei UI";
J1
15
90
21
21
font: 700 9pt "Microsoft YaHei UI";
J2
15
130
21
21
font: 700 9pt "Microsoft YaHei UI";
J3
15
170
21
21
font: 700 9pt "Microsoft YaHei UI";
J4
15
210
21
21
font: 700 9pt "Microsoft YaHei UI";
J5
15
250
21
21
font: 700 9pt "Microsoft YaHei UI";
J6
245
50
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(0, 255, 0);
}
30
50
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
30
90
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
245
90
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
30
130
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
245
130
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
245
170
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
30
210
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
245
250
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
30
250
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
30
170
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color: rgb(255, 0, 0);
}
245
210
31
21
*{
background-color: #E7EAEA;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover{
background-color: rgb(85, 85, 255);
}
*:pressed{
background-color:rgb(85, 85, 255);
}
285
50
41
21
285
90
41
21
285
130
41
21
285
170
41
21
285
210
41
21
285
250
41
21
125
32
53
15
125
70
53
15
125
110
53
15
125
150
53
15
125
190
53
15
125
230
53
15
110
10
61
21
1
0.001-20
50
13
53
15
调整间隔:
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 "楷体";
Qt::AlignmentFlag::AlignCenter
0-100
lineEdit_num
pushButton_num_free
pushButton_num5
pushButton_num1
pushButton_num6
pushButton_num3
pushButton_num4
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;
}
扣一袋
750
480
91
31
*{
background-color: #1CB2B1;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color:#1cb052;
}
清楚报警
450
480
91
31
*{
background-color: #FFFFBF;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #FFF000;
}
复位
650
480
91
31
*{
background-color: #1062B3;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color:#1053b2;
}
调试
550
480
91
31
*{
background-color: rgb(255, 0, 0);
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #ff6e00;
}
急停
110
490
113
21
10
输入整数,切勿超速
10
490
81
16
当前自动速度:
100
490
75
23
*{background-color: #F9FAFC;
border: 1px solid #dcdfe6;
border-radius: 10px;
font: 10pt "楷体";
}
*:hover {
background-color: lightgreen;
color: black;
}*:pressed {
background-color: red;
color: white;
}
PushButton
10
220
491
251
0
日志
0
0
491
231
*{
background-color: #D3D3D3;
}
<!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="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html>
报警
0
0
491
231
*{
color: red;
background-color: #D3D3D3;
}
<!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="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html>
250
480
91
31
*{
background-color: #F44336;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
停止
350
480
91
31
*{
background-color: #499C54;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
启动
350
480
91
31
*{
background-color: #2196F3;
font: 9pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 10px;
}
*:pressed
{
background-color: #499c8a;
}
暂停
10
50
871
461
710
10
75
31
*{
color: #ffffff;
background-color: rgb(16, 133, 255);
font: 12pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 6px;
}
*:pressed
{
background-color: #499c8a;
}
新增线
790
10
75
31
*{
color: #ffffff;
background-color: #FF5722;
font: 12pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 6px;
}
*:pressed
{
background-color: #499c8a;
}
删除线
630
10
75
31
*{
color: #ffffff;
background-color: #1AA094;
font: 12pt "楷体";
border: 1px solid #dcdfe6;
border-radius: 6px;
}
*:pressed
{
background-color: #197971;
}
保存
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