frmPointLineClass
0
0
1160
655
0
0
1160
655
1160
655
点+线
background-color: rgb(220, 220, 220);
0
0
0
0
1
-
0
0
450
550
16777215
16777215
微软雅黑
10
background-color: #bcc2bc;
0
基本设置
9
18
427
73
微软雅黑
10
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dfd5cf, stop: 0.15 #acbbac, stop: 0.85 #acbbac,stop:1 #dfd5cf);
color: rgb(85, 0, 255);
图像对象
13
42
79
19
微软雅黑
10
color: rgb(30, 30, 30);
background: transparent;
输入图像:
100
39
255
27
微软雅黑
10
color: rgb(0, 0, 200);
background-color: rgba(170, 170, 127,50);
Qt::AlignCenter
true
360
39
27
27
链接图像
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(85, 150, 127, 100);}
QPushButton:pressed{background-color: rgba(85, 180, 127, 160);}
:/resource/link.png:/resource/link.png
27
27
394
39
27
27
删除图像链接
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(226, 142, 162, 100);}
QPushButton:pressed{background-color: rgba(226, 172, 162, 200);}
:/resource/del_link.png:/resource/del_link.png
27
27
9
108
427
245
微软雅黑
10
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dfd5cf, stop: 0.15 #acbbac, stop: 0.85 #acbbac,stop:1 #dfd5cf);
color: rgb(85, 0, 255);
构建参数
15
34
398
47
border:2px solid #778899;border-radius: 22px;
QFrame::StyledPanel
QFrame::Raised
-
微软雅黑
10
color: rgb(30, 30, 30);
border:none;
background: transparent;
直线斜率/截距方式
true
-
Qt::Horizontal
QSizePolicy::Expanding
110
20
-
微软雅黑
10
color: rgb(30, 30, 30);
border:none;
background: transparent;
直线两点方式
1
128
425
118
0
0
16
425
99
QFrame::StyledPanel
QFrame::Raised
394
66
27
27
删除直线截距链接
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(226, 142, 162, 100);}
QPushButton:pressed{background-color: rgba(226, 172, 162, 200);}
:/resource/del_link.png:/resource/del_link.png
27
27
13
16
79
19
微软雅黑
10
color: rgb(30, 30, 30);
background: transparent;
直线斜率:
13
70
79
19
微软雅黑
10
color: rgb(30, 30, 30);
background: transparent;
直线截距:
100
12
255
27
微软雅黑
10
Double类型
color: rgb(0, 0, 200);
background-color: rgba(170, 170, 127,50);
Qt::AlignCenter
true
100
66
255
27
微软雅黑
10
Double类型
color: rgb(0, 0, 200);
background-color: rgba(170, 170, 127,50);
Qt::AlignCenter
true
360
66
27
27
链接直线截距
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(85, 150, 127, 100);}
QPushButton:pressed{background-color: rgba(85, 180, 127, 160);}
:/resource/link.png:/resource/link.png
27
27
360
12
27
27
链接直线斜率
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(85, 150, 127, 100);}
QPushButton:pressed{background-color: rgba(85, 180, 127, 160);}
:/resource/link.png:/resource/link.png
27
27
394
12
27
27
删除直线斜率链接
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(226, 142, 162, 100);}
QPushButton:pressed{background-color: rgba(226, 172, 162, 200);}
:/resource/del_link.png:/resource/del_link.png
27
27
0
16
425
99
QFrame::StyledPanel
QFrame::Raised
13
16
79
19
微软雅黑
10
color: rgb(30, 30, 30);
background: transparent;
点1坐标:
100
12
255
27
微软雅黑
10
cv::Point或cv::Point2f类型
color: rgb(0, 0, 200);
background-color: rgba(170, 170, 127,50);
Qt::AlignCenter
true
360
12
27
27
链接点1坐标
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(85, 150, 127, 100);}
QPushButton:pressed{background-color: rgba(85, 180, 127, 160);}
:/resource/link.png:/resource/link.png
27
27
394
12
27
27
删除点1坐标链接
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(226, 142, 162, 100);}
QPushButton:pressed{background-color: rgba(226, 172, 162, 200);}
:/resource/del_link.png:/resource/del_link.png
27
27
360
66
27
27
链接点2坐标
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(85, 150, 127, 100);}
QPushButton:pressed{background-color: rgba(85, 180, 127, 160);}
:/resource/link.png:/resource/link.png
27
27
13
70
79
19
微软雅黑
10
color: rgb(30, 30, 30);
background: transparent;
点2坐标:
100
66
255
27
微软雅黑
10
cv::Point或cv::Point2f类型
color: rgb(0, 0, 200);
background-color: rgba(170, 170, 127,50);
Qt::AlignCenter
true
394
66
27
27
删除点2坐标链接
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(226, 142, 162, 100);}
QPushButton:pressed{background-color: rgba(226, 172, 162, 200);}
:/resource/del_link.png:/resource/del_link.png
27
27
13
104
79
19
微软雅黑
10
color: rgb(30, 30, 30);
background: transparent;
点坐标:
100
100
255
27
微软雅黑
10
cv::Point或cv::Point2f类型
color: rgb(0, 0, 200);
background-color: rgba(170, 170, 127,50);
Qt::AlignCenter
true
360
100
27
27
链接点坐标
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(85, 150, 127, 100);}
QPushButton:pressed{background-color: rgba(85, 180, 127, 160);}
:/resource/link.png:/resource/link.png
27
27
394
100
27
27
删除点坐标链接
QWidget{ border:none;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgba(226, 142, 162, 100);}
QPushButton:pressed{background-color: rgba(226, 172, 162, 200);}
:/resource/del_link.png:/resource/del_link.png
27
27
9
370
427
147
微软雅黑
10
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dfd5cf, stop: 0.15 #acbbac, stop: 0.85 #acbbac,stop:1 #dfd5cf);
color: rgb(85, 0, 255);
输出数据(垂足坐标、点线距离)
4
32
419
111
微软雅黑
QTextEdit
{
background-color: rgba(180, 180, 215,120);
gridline-color: rgba(220, 220, 255,255);
color: rgba(20, 20, 20,200);
}
QScrollBar:vertical{
background:#FFFFF2;
padding-top:20px;
padding-bottom:20px;
padding-left:2px;
padding-right:2px;
border-left:1px solid #d7d7d7;}
QScrollBar::handle:vertical{
background:#dbdbdb;
border-radius:6px;
min-height:20px;}
QScrollBar::handle:vertical:hover{
background:#d0d0d0;}
QScrollBar::add-line:vertical{
background:url(:/resource/down.png) center no-repeat;}
QScrollBar::sub-line:vertical{
background:url(:/resource/up.png) center no-repeat;}
QScrollBar:horizontal{
background:#FFFFF2;
padding-top:20px;
padding-bottom:20px;
padding-left:2px;
padding-right:2px;
border-left:1px solid #d7d7d7;}
QScrollBar::handle:horizontal{
background:#dbdbdb;
border-radius:6px;
min-height:20px;}
QScrollBar::handle:horizontal:hover{
background:#d0d0d0;}
QScrollBar::add-line:horizontal{
background:url(:/resource/right.png) center no-repeat;}
QScrollBar::sub-line:horizontal{
background:url(:/resource/left.png) center no-repeat;}
true
-
Qt::Vertical
QSizePolicy::Fixed
20
5
-
1
-
0
6
-
Qt::Horizontal
QSizePolicy::Fixed
10
20
-
0
0
83
25
微软雅黑
10
background-color: rgba(255, 255, 255, 0);
单元描述:
-
0
0
357
30
16777215
30
微软雅黑
10
-
Qt::Horizontal
40
20
-
90
37
微软雅黑
10
QWidget{ background-color: rgb(85, 135, 127);}
QWidget{ color: rgb(235, 235, 235);}
QWidget{ border: 2px groove gray;border-radius: 8px;padding: 2px 4px;}
QPushButton:hover{ background-color: rgb(85, 155, 127);}
QPushButton:pressed{background-color: rgb(85, 175, 127);}
执行
-
Qt::Horizontal
QSizePolicy::Fixed
6
20
-
Qt::Vertical
QSizePolicy::Fixed
20
42
-
Qt::Vertical
QSizePolicy::Fixed
20
42
-
Qt::Horizontal
QSizePolicy::Fixed
3
20