GrabBag/App/ScrewPosition/ScrewPositionApp/dialogdetectionconfig.ui
2026-06-04 09:36:25 +08:00

1085 lines
26 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogDetectionConfig</class>
<widget class="QDialog" name="DialogDetectionConfig">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>900</width>
<height>970</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>820</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="QGroupBox" name="groupBox_selector">
<property name="geometry">
<rect>
<x>40</x>
<y>70</y>
<width>821</width>
<height>75</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">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; }
QLabel { color: rgb(221, 225, 233); }
QComboBox { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 6px; }
QComboBox QAbstractItemView { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); selection-background-color: rgb(70, 100, 150); }</string>
</property>
<property name="title">
<string>选择配置目标</string>
</property>
<widget class="QLabel" name="label_camera">
<property name="geometry">
<rect>
<x>20</x>
<y>32</y>
<width>70</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>相机:</string>
</property>
</widget>
<widget class="QComboBox" name="comboCamera">
<property name="geometry">
<rect>
<x>90</x>
<y>30</y>
<width>250</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
<widget class="QLabel" name="label_type">
<property name="geometry">
<rect>
<x>400</x>
<y>32</y>
<width>110</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>检测对象:</string>
</property>
</widget>
<widget class="QComboBox" name="comboType">
<property name="geometry">
<rect>
<x>510</x>
<y>30</y>
<width>200</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>160</y>
<width>821</width>
<height>570</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: 120px; }
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; }
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="tabHandEye">
<attribute name="title">
<string>手眼标定</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_handEyeCalibHost">
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>12</number>
</property>
<property name="rightMargin">
<number>12</number>
</property>
<property name="bottomMargin">
<number>12</number>
</property>
</layout>
</widget>
<widget class="QWidget" name="tabAlgo">
<attribute name="title">
<string>算法参数</string>
</attribute>
<widget class="QGroupBox" name="groupBox_screw">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>395</width>
<height>150</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>螺杆参数</string>
</property>
<widget class="QLabel" name="labelRodDiameter">
<property name="geometry">
<rect>
<x>20</x>
<y>45</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>螺杆直径 (mm):</string>
</property>
</widget>
<widget class="QLineEdit" name="spinRodDiameter">
<property name="geometry">
<rect>
<x>200</x>
<y>45</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QCheckBox" name="chkHorizonScan">
<property name="geometry">
<rect>
<x>20</x>
<y>95</y>
<width>360</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 class="QGroupBox" name="groupBox_corner">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>395</width>
<height>360</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>角点检测参数</string>
</property>
<widget class="QLabel" name="labelCornerTh">
<property name="geometry">
<rect>
<x>20</x>
<y>45</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>拐角阈值:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinCornerTh">
<property name="geometry">
<rect>
<x>200</x>
<y>45</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>60</string>
</property>
</widget>
<widget class="QLabel" name="labelScale">
<property name="geometry">
<rect>
<x>20</x>
<y>95</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>窗口比例因子:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinScale">
<property name="geometry">
<rect>
<x>200</x>
<y>95</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>50</string>
</property>
</widget>
<widget class="QLabel" name="labelMinEndingGap">
<property name="geometry">
<rect>
<x>20</x>
<y>145</y>
<width>180</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Y方向最小结束间隔:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinMinEndingGap">
<property name="geometry">
<rect>
<x>200</x>
<y>145</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>20</string>
</property>
</widget>
<widget class="QLabel" name="labelMinEndingGapZ">
<property name="geometry">
<rect>
<x>20</x>
<y>195</y>
<width>180</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Z方向最小结束间隔:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinMinEndingGapZ">
<property name="geometry">
<rect>
<x>200</x>
<y>195</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>20</string>
</property>
</widget>
<widget class="QLabel" name="labelJumpCornerTh1">
<property name="geometry">
<rect>
<x>20</x>
<y>245</y>
<width>180</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>跳跃拐角阈值1:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinJumpCornerTh1">
<property name="geometry">
<rect>
<x>200</x>
<y>245</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QLabel" name="labelJumpCornerTh2">
<property name="geometry">
<rect>
<x>20</x>
<y>295</y>
<width>180</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>跳跃拐角阈值2:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinJumpCornerTh2">
<property name="geometry">
<rect>
<x>200</x>
<y>295</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>60</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_filter">
<property name="geometry">
<rect>
<x>415</x>
<y>10</y>
<width>395</width>
<height>150</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>离群点滤波参数</string>
</property>
<widget class="QLabel" name="labelContinuityTh">
<property name="geometry">
<rect>
<x>20</x>
<y>45</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>连续性阈值:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinContinuityTh">
<property name="geometry">
<rect>
<x>200</x>
<y>45</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>20</string>
</property>
</widget>
<widget class="QLabel" name="labelOutlierTh">
<property name="geometry">
<rect>
<x>20</x>
<y>95</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>离群点阈值:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinOutlierTh">
<property name="geometry">
<rect>
<x>200</x>
<y>95</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>5</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_grow">
<property name="geometry">
<rect>
<x>415</x>
<y>170</y>
<width>395</width>
<height>360</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="title">
<string>树生长参数</string>
</property>
<widget class="QLabel" name="labelMaxLineSkipNum">
<property name="geometry">
<rect>
<x>20</x>
<y>45</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>最大跳线数:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinMaxLineSkipNum">
<property name="geometry">
<rect>
<x>200</x>
<y>45</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QLabel" name="labelYDeviationMax">
<property name="geometry">
<rect>
<x>20</x>
<y>95</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Y偏差最大值:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinYDeviationMax">
<property name="geometry">
<rect>
<x>200</x>
<y>95</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QLabel" name="labelMaxSkipDistance">
<property name="geometry">
<rect>
<x>20</x>
<y>145</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>最大跳跃距离:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinMaxSkipDistance">
<property name="geometry">
<rect>
<x>200</x>
<y>145</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QLabel" name="labelZDeviationMax">
<property name="geometry">
<rect>
<x>20</x>
<y>195</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>Z偏差最大值:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinZDeviationMax">
<property name="geometry">
<rect>
<x>200</x>
<y>195</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>10</string>
</property>
</widget>
<widget class="QLabel" name="labelMinLTypeTreeLen">
<property name="geometry">
<rect>
<x>20</x>
<y>245</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>L型树最小长度:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinMinLTypeTreeLen">
<property name="geometry">
<rect>
<x>200</x>
<y>245</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>100</string>
</property>
</widget>
<widget class="QLabel" name="labelMinVTypeTreeLen">
<property name="geometry">
<rect>
<x>20</x>
<y>295</y>
<width>170</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>V型树最小长度:</string>
</property>
</widget>
<widget class="QLineEdit" name="spinMinVTypeTreeLen">
<property name="geometry">
<rect>
<x>200</x>
<y>295</y>
<width>180</width>
<height>35</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>100</string>
</property>
</widget>
</widget>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_networkConfig">
<property name="geometry">
<rect>
<x>40</x>
<y>735</y>
<width>821</width>
<height>170</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">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; }
QLabel { color: rgb(221, 225, 233); }
QLineEdit { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 4px; }
QComboBox { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); border: 1px solid rgb(70, 72, 78); padding: 4px; }
QComboBox QAbstractItemView { color: rgb(221, 225, 233); background-color: rgb(47, 48, 52); selection-background-color: rgb(70, 100, 150); }</string>
</property>
<property name="title">
<string>通信配置</string>
</property>
<widget class="QLabel" name="labelPoseOutputOrder">
<property name="geometry">
<rect>
<x>30</x>
<y>35</y>
<width>220</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>姿态输入/输出顺序:</string>
</property>
</widget>
<widget class="QComboBox" name="comboPoseOutputOrder">
<property name="geometry">
<rect>
<x>280</x>
<y>35</y>
<width>220</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
<widget class="QLabel" name="labelByteOrder">
<property name="geometry">
<rect>
<x>30</x>
<y>75</y>
<width>220</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>数据字节序:</string>
</property>
</widget>
<widget class="QComboBox" name="comboByteOrder">
<property name="geometry">
<rect>
<x>280</x>
<y>75</y>
<width>220</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
<widget class="QLabel" name="labelTcpPort">
<property name="geometry">
<rect>
<x>30</x>
<y>115</y>
<width>220</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>TCP端口:</string>
</property>
</widget>
<widget class="QLineEdit" name="editTcpPort">
<property name="geometry">
<rect>
<x>280</x>
<y>115</y>
<width>220</width>
<height>32</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>7800</string>
</property>
</widget>
</widget>
<widget class="QPushButton" name="btnReset">
<property name="geometry">
<rect>
<x>40</x>
<y>915</y>
<width>140</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>520</x>
<y>915</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>640</x>
<y>915</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>760</x>
<y>915</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>