226 lines
19 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>761</width>
<height>547</height>
</rect>
</property>
<property name="windowTitle">
<string>算法参数设置</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(25, 26, 28);</string>
</property>
<layout class="QVBoxLayout" name="mainLayout">
<property name="leftMargin"><number>20</number></property>
<property name="topMargin"><number>10</number></property>
<property name="rightMargin"><number>20</number></property>
<property name="bottomMargin"><number>10</number></property>
<item>
<widget class="QLabel" name="label_title">
<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>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<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>
<!-- 棒材参数 Tab -->
<widget class="QWidget" name="tabRod">
<attribute name="title"><string>棒材参数</string></attribute>
<layout class="QVBoxLayout" name="tabRodLayout">
<item>
<widget class="QGroupBox" name="groupBox_rod">
<property name="font"><font><pointsize>16</pointsize></font></property>
<property name="title"><string>棒材参数</string></property>
<layout class="QFormLayout" name="formLayout_rod">
<property name="labelAlignment"><set>Qt::AlignRight|Qt::AlignVCenter</set></property>
<property name="horizontalSpacing"><number>20</number></property>
<property name="verticalSpacing"><number>12</number></property>
<item row="0" column="0"><widget class="QLabel" name="label"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>棒材直径 (mm):</string></property></widget></item>
<item row="0" column="1"><widget class="QDoubleSpinBox" name="spinRodDiameter"><property name="font"><font><pointsize>16</pointsize></font></property><property name="minimum"><double>1.000000000000000</double></property><property name="maximum"><double>500.000000000000000</double></property><property name="value"><double>52.000000000000000</double></property></widget></item>
<item row="1" column="0"><widget class="QLabel" name="label_2"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>棒材长度 (mm):</string></property></widget></item>
<item row="1" column="1"><widget class="QDoubleSpinBox" name="spinRodLen"><property name="font"><font><pointsize>16</pointsize></font></property><property name="minimum"><double>1.000000000000000</double></property><property name="maximum"><double>2000.000000000000000</double></property><property name="value"><double>290.000000000000000</double></property></widget></item>
</layout>
</widget>
</item>
<item><spacer name="rodSpacer"><property name="orientation"><enum>Qt::Vertical</enum></property></spacer></item>
</layout>
</widget>
<!-- 角点检测 Tab -->
<widget class="QWidget" name="tabCorner">
<attribute name="title"><string>角点检测</string></attribute>
<layout class="QVBoxLayout" name="tabCornerLayout">
<item>
<widget class="QGroupBox" name="groupBox_corner">
<property name="font"><font><pointsize>16</pointsize></font></property>
<property name="title"><string>角点检测参数</string></property>
<layout class="QFormLayout" name="formLayout_corner">
<property name="labelAlignment"><set>Qt::AlignRight|Qt::AlignVCenter</set></property>
<property name="horizontalSpacing"><number>20</number></property>
<property name="verticalSpacing"><number>12</number></property>
<item row="0" column="0"><widget class="QLabel" name="label_3"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>拐角阈值:</string></property></widget></item>
<item row="0" column="1"><widget class="QDoubleSpinBox" name="spinCornerTh"><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></item>
<item row="1" column="0"><widget class="QLabel" name="label_4"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>窗口比例因子:</string></property></widget></item>
<item row="1" column="1"><widget class="QDoubleSpinBox" name="spinScale"><property name="font"><font><pointsize>16</pointsize></font></property><property name="maximum"><double>200.000000000000000</double></property><property name="value"><double>13.000000000000000</double></property></widget></item>
<item row="2" column="0"><widget class="QLabel" name="label_5"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>Y方向最小结束间隔:</string></property></widget></item>
<item row="2" column="1"><widget class="QDoubleSpinBox" name="spinMinEndingGap"><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></item>
<item row="3" column="0"><widget class="QLabel" name="label_6"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>Z方向最小结束间隔:</string></property></widget></item>
<item row="3" column="1"><widget class="QDoubleSpinBox" name="spinMinEndingGapZ"><property name="font"><font><pointsize>16</pointsize></font></property><property name="maximum"><double>100.000000000000000</double></property><property name="value"><double>5.000000000000000</double></property></widget></item>
<item row="4" column="0"><widget class="QLabel" name="label_7"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>跳跃拐角阈值1:</string></property></widget></item>
<item row="4" column="1"><widget class="QDoubleSpinBox" name="spinJumpCornerTh1"><property name="font"><font><pointsize>16</pointsize></font></property><property name="maximum"><double>100.000000000000000</double></property><property name="value"><double>15.000000000000000</double></property></widget></item>
<item row="5" column="0"><widget class="QLabel" name="label_8"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>跳跃拐角阈值2:</string></property></widget></item>
<item row="5" column="1"><widget class="QDoubleSpinBox" name="spinJumpCornerTh2"><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></item>
</layout>
</widget>
</item>
<item><spacer name="cornerSpacer"><property name="orientation"><enum>Qt::Vertical</enum></property></spacer></item>
</layout>
</widget>
<!-- 滤波参数 Tab -->
<widget class="QWidget" name="tabFilter">
<attribute name="title"><string>滤波参数</string></attribute>
<layout class="QVBoxLayout" name="tabFilterLayout">
<item>
<widget class="QGroupBox" name="groupBox_filter">
<property name="font"><font><pointsize>16</pointsize></font></property>
<property name="title"><string>离群点滤波参数</string></property>
<layout class="QFormLayout" name="formLayout_filter">
<property name="labelAlignment"><set>Qt::AlignRight|Qt::AlignVCenter</set></property>
<property name="horizontalSpacing"><number>20</number></property>
<property name="verticalSpacing"><number>12</number></property>
<item row="0" column="0"><widget class="QLabel" name="label_9"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>连续性阈值:</string></property></widget></item>
<item row="0" column="1"><widget class="QDoubleSpinBox" name="spinContinuityTh"><property name="font"><font><pointsize>16</pointsize></font></property><property name="maximum"><double>100.000000000000000</double></property><property name="value"><double>5.000000000000000</double></property></widget></item>
<item row="1" column="0"><widget class="QLabel" name="label_10"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>离群点阈值:</string></property></widget></item>
<item row="1" column="1"><widget class="QDoubleSpinBox" name="spinOutlierTh"><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></item>
</layout>
</widget>
</item>
<item><spacer name="filterSpacer"><property name="orientation"><enum>Qt::Vertical</enum></property></spacer></item>
</layout>
</widget>
<!-- 树生长参数 Tab -->
<widget class="QWidget" name="tabGrow">
<attribute name="title"><string>树生长参数</string></attribute>
<layout class="QVBoxLayout" name="tabGrowLayout">
<item>
<widget class="QGroupBox" name="groupBox_grow">
<property name="font"><font><pointsize>16</pointsize></font></property>
<property name="title"><string>树生长参数</string></property>
<layout class="QFormLayout" name="formLayout_grow">
<property name="labelAlignment"><set>Qt::AlignRight|Qt::AlignVCenter</set></property>
<property name="horizontalSpacing"><number>20</number></property>
<property name="verticalSpacing"><number>12</number></property>
<item row="0" column="0"><widget class="QLabel" name="label_11"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>最大跳线数:</string></property></widget></item>
<item row="0" column="1"><widget class="QSpinBox" name="spinMaxLineSkipNum"><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>5</number></property></widget></item>
<item row="1" column="0"><widget class="QLabel" name="label_12"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>Y偏差最大值:</string></property></widget></item>
<item row="1" column="1"><widget class="QDoubleSpinBox" name="spinYDeviationMax"><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></item>
<item row="2" column="0"><widget class="QLabel" name="label_13"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>最大跳跃距离:</string></property></widget></item>
<item row="2" column="1"><widget class="QDoubleSpinBox" name="spinMaxSkipDistance"><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></item>
<item row="3" column="0"><widget class="QLabel" name="label_14"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>Z偏差最大值:</string></property></widget></item>
<item row="3" column="1"><widget class="QDoubleSpinBox" name="spinZDeviationMax"><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></item>
<item row="4" column="0"><widget class="QLabel" name="label_15"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>L型树最小长度:</string></property></widget></item>
<item row="4" column="1"><widget class="QDoubleSpinBox" name="spinMinLTypeTreeLen"><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></item>
<item row="5" column="0"><widget class="QLabel" name="label_16"><property name="font"><font><pointsize>16</pointsize></font></property><property name="text"><string>V型树最小长度:</string></property></widget></item>
<item row="5" column="1"><widget class="QDoubleSpinBox" name="spinMinVTypeTreeLen"><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></item>
</layout>
</widget>
</item>
<item><spacer name="growSpacer"><property name="orientation"><enum>Qt::Vertical</enum></property></spacer></item>
</layout>
</widget>
<!-- 手眼标定 Tab -->
<widget class="QWidget" name="tabHandEyeCalib">
<attribute name="title"><string>手眼标定</string></attribute>
<layout class="QVBoxLayout" name="verticalLayout_handEyeCalibHost">
<property name="leftMargin"><number>10</number></property>
<property name="topMargin"><number>10</number></property>
<property name="rightMargin"><number>10</number></property>
<property name="bottomMargin"><number>10</number></property>
</layout>
</widget>
<!-- 网络配置 Tab -->
<widget class="QWidget" name="tabNetworkConfig">
<attribute name="title"><string>网络配置</string></attribute>
<layout class="QVBoxLayout" name="verticalLayout_networkConfigHost">
<property name="leftMargin"><number>10</number></property>
<property name="topMargin"><number>10</number></property>
<property name="rightMargin"><number>10</number></property>
<property name="bottomMargin"><number>10</number></property>
</layout>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="buttonLayout">
<item>
<widget class="QPushButton" name="btnReset">
<property name="font"><font><pointsize>16</pointsize><bold>true</bold></font></property>
<property name="minimumSize"><size><width>120</width><height>45</height></size></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>
</item>
<item><spacer name="btnSpacer"><property name="orientation"><enum>Qt::Horizontal</enum></property></spacer></item>
<item>
<widget class="QPushButton" name="btnApply">
<property name="font"><font><pointsize>16</pointsize><bold>true</bold></font></property>
<property name="minimumSize"><size><width>100</width><height>45</height></size></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>
</item>
<item>
<widget class="QPushButton" name="btnOK">
<property name="font"><font><pointsize>16</pointsize><bold>true</bold></font></property>
<property name="minimumSize"><size><width>100</width><height>45</height></size></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>
</item>
<item>
<widget class="QPushButton" name="btnCancel">
<property name="font"><font><pointsize>16</pointsize><bold>true</bold></font></property>
<property name="minimumSize"><size><width>100</width><height>45</height></size></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>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>