2026-01-13 08:31:31 +08:00

933 lines
24 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogAlgoArg</class>
<widget class="QDialog" name="DialogAlgoArg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>780</height>
</rect>
</property>
<property name="windowTitle">
<string>算法参数设置</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(25, 26, 28);</string>
</property>
<widget class="QLabel" name="label_title">
<property name="geometry">
<rect>
<x>40</x>
<y>20</y>
<width>620</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>20</pointsize>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(221, 225, 233);</string>
</property>
<property name="text">
<string>螺杆定位 - 算法参数配置</string>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>80</y>
<width>620</width>
<height>620</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">QTabWidget::pane { border: 1px solid rgb(100, 100, 100); }
QTabBar::tab { background-color: rgb(47, 48, 52); color: rgb(221, 225, 233); padding: 8px; min-width: 100px; }
QTabBar::tab:selected { background-color: rgb(70, 72, 78); border-bottom: 2px solid rgb(100, 150, 200); }
QLineEdit { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 4px; }
QDoubleSpinBox { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 4px; }
QSpinBox { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 4px; }
QCheckBox { color: rgb(221, 225, 233); }
QLabel { color: rgb(221, 225, 233); }
QGroupBox { color: rgb(221, 225, 233); border: 1px solid rgb(100, 100, 100); border-radius: 4px; margin-top: 12px; padding-top: 8px; }
QGroupBox::title { subcontrol-origin: margin; left: 10px; padding: 0 3px 0 3px; }</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tabScrew">
<attribute name="title">
<string>螺杆参数</string>
</attribute>
<widget class="QGroupBox" name="groupBox_screw">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>590</width>
<height>200</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>螺杆参数</string>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>30</x>
<y>50</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>螺杆直径 (mm):</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinRodDiameter">
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>30</x>
<y>110</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>水平扫描模式:</string>
</property>
</widget>
<widget class="QCheckBox" name="chkHorizonScan">
<property name="geometry">
<rect>
<x>280</x>
<y>110</y>
<width>250</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>激光线平行槽道</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</widget>
</widget>
<widget class="QWidget" name="tabCorner">
<attribute name="title">
<string>角点检测</string>
</attribute>
<widget class="QGroupBox" name="groupBox_corner">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>590</width>
<height>520</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>角点检测参数</string>
</property>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>30</x>
<y>50</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>拐角阈值:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinCornerTh">
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>180.000000000000000</double>
</property>
<property name="value">
<double>60.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>30</x>
<y>110</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>窗口比例因子:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinScale">
<property name="geometry">
<rect>
<x>280</x>
<y>110</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>200.000000000000000</double>
</property>
<property name="value">
<double>50.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>30</x>
<y>170</y>
<width>220</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Y方向最小结束间隔:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinMinEndingGap">
<property name="geometry">
<rect>
<x>280</x>
<y>170</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>20.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>30</x>
<y>230</y>
<width>220</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Z方向最小结束间隔:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinMinEndingGapZ">
<property name="geometry">
<rect>
<x>280</x>
<y>230</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>20.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>30</x>
<y>290</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>跳跃拐角阈值1:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinJumpCornerTh1">
<property name="geometry">
<rect>
<x>280</x>
<y>290</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>30</x>
<y>350</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>跳跃拐角阈值2:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinJumpCornerTh2">
<property name="geometry">
<rect>
<x>280</x>
<y>350</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>180.000000000000000</double>
</property>
<property name="value">
<double>60.000000000000000</double>
</property>
</widget>
</widget>
</widget>
<widget class="QWidget" name="tabFilter">
<attribute name="title">
<string>滤波参数</string>
</attribute>
<widget class="QGroupBox" name="groupBox_filter">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>590</width>
<height>200</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>离群点滤波参数</string>
</property>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>30</x>
<y>50</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>连续性阈值:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinContinuityTh">
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>20.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>30</x>
<y>110</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>离群点阈值:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinOutlierTh">
<property name="geometry">
<rect>
<x>280</x>
<y>110</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>50.000000000000000</double>
</property>
<property name="value">
<double>5.000000000000000</double>
</property>
</widget>
</widget>
</widget>
<widget class="QWidget" name="tabGrow">
<attribute name="title">
<string>树生长参数</string>
</attribute>
<widget class="QGroupBox" name="groupBox_grow">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>590</width>
<height>520</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>树生长参数</string>
</property>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>30</x>
<y>50</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>最大跳线数:</string>
</property>
</widget>
<widget class="QSpinBox" name="spinMaxLineSkipNum">
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>30</x>
<y>110</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Y偏差最大值:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinYDeviationMax">
<property name="geometry">
<rect>
<x>280</x>
<y>110</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>30</x>
<y>170</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>最大跳跃距离:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinMaxSkipDistance">
<property name="geometry">
<rect>
<x>280</x>
<y>170</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>30</x>
<y>230</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Z偏差最大值:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinZDeviationMax">
<property name="geometry">
<rect>
<x>280</x>
<y>230</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>100.000000000000000</double>
</property>
<property name="value">
<double>10.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>30</x>
<y>290</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>L型树最小长度:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinMinLTypeTreeLen">
<property name="geometry">
<rect>
<x>280</x>
<y>290</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="value">
<double>100.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>30</x>
<y>350</y>
<width>200</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>V型树最小长度:</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="spinMinVTypeTreeLen">
<property name="geometry">
<rect>
<x>280</x>
<y>350</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="value">
<double>100.000000000000000</double>
</property>
</widget>
</widget>
</widget>
</widget>
<widget class="QPushButton" name="btnReset">
<property name="geometry">
<rect>
<x>40</x>
<y>720</y>
<width>120</width>
<height>45</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background-color: rgb(120, 80, 80);
color: rgb(221, 225, 233);
border: none;
border-radius: 4px;
padding: 8px;
}
QPushButton:hover {
background-color: rgb(140, 100, 100);
}
QPushButton:pressed {
background-color: rgb(100, 60, 60);
}</string>
</property>
<property name="text">
<string>重置默认</string>
</property>
</widget>
<widget class="QPushButton" name="btnApply">
<property name="geometry">
<rect>
<x>300</x>
<y>720</y>
<width>100</width>
<height>45</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background-color: rgb(60, 120, 80);
color: rgb(221, 225, 233);
border: none;
border-radius: 4px;
padding: 8px;
}
QPushButton:hover {
background-color: rgb(80, 140, 100);
}
QPushButton:pressed {
background-color: rgb(40, 100, 60);
}</string>
</property>
<property name="text">
<string>应用</string>
</property>
</widget>
<widget class="QPushButton" name="btnOK">
<property name="geometry">
<rect>
<x>420</x>
<y>720</y>
<width>100</width>
<height>45</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background-color: rgb(60, 120, 180);
color: rgb(221, 225, 233);
border: none;
border-radius: 4px;
padding: 8px;
}
QPushButton:hover {
background-color: rgb(80, 140, 200);
}
QPushButton:pressed {
background-color: rgb(40, 100, 160);
}</string>
</property>
<property name="text">
<string>确定</string>
</property>
</widget>
<widget class="QPushButton" name="btnCancel">
<property name="geometry">
<rect>
<x>540</x>
<y>720</y>
<width>100</width>
<height>45</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background-color: rgb(120, 120, 120);
color: rgb(221, 225, 233);
border: none;
border-radius: 4px;
padding: 8px;
}
QPushButton:hover {
background-color: rgb(140, 140, 140);
}
QPushButton:pressed {
background-color: rgb(100, 100, 100);
}</string>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>