480 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogAlgoarg</class>
<widget class="QWidget" name="DialogAlgoarg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>780</width>
<height>656</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; }
QComboBox { color: rgb(221, 225, 233); background-color: rgb(50, 52, 56); border: 1px solid rgb(80, 82, 86); border-radius: 4px; padding: 5px; }
QComboBox::drop-down { border: none; }
QComboBox QAbstractItemView { background-color: rgb(50, 52, 56); color: rgb(221, 225, 233); selection-background-color: rgb(60, 120, 180); }
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="tab_detection">
<attribute name="title">
<string>检测参数</string>
</attribute>
<layout class="QVBoxLayout" name="tabDetectionLayout">
<item>
<widget class="QGroupBox" name="groupBox_detection">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="title">
<string>孔洞检测参数</string>
</property>
<layout class="QFormLayout" name="formLayout_detection">
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="horizontalSpacing">
<number>20</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_neighborCount">
<property name="text">
<string>相邻点连接数:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_neighborCount"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_angleThresholdPos">
<property name="text">
<string>正角度阈值 (度):</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_angleThresholdPos"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_angleThresholdNeg">
<property name="text">
<string>负角度阈值 (度):</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEdit_angleThresholdNeg"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_minPitDepth">
<property name="text">
<string>最小凹坑深度 (mm):</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEdit_minPitDepth"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_minRadius">
<property name="text">
<string>最小孔半径 (mm):</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="lineEdit_minRadius"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_maxRadius">
<property name="text">
<string>最大孔半径 (mm):</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="lineEdit_maxRadius"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_expansionSize1">
<property name="text">
<string>第一环扩展大小:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="lineEdit_expansionSize1"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_expansionSize2">
<property name="text">
<string>第二环扩展大小:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLineEdit" name="lineEdit_expansionSize2"/>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_minVTransitionPoints">
<property name="text">
<string>V形最小过渡点数:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLineEdit" name="lineEdit_minVTransitionPoints"/>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="detectionSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_filter">
<attribute name="title">
<string>过滤参数</string>
</attribute>
<layout class="QVBoxLayout" name="tabFilterLayout">
<item>
<widget class="QGroupBox" name="groupBox_filter">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="title">
<string>孔洞过滤参数</string>
</property>
<layout class="QFormLayout" name="formLayout_filter">
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="horizontalSpacing">
<number>20</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_maxEccentricity">
<property name="text">
<string>最大离心率:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_maxEccentricity"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_minAngularCoverage">
<property name="text">
<string>最小角度覆盖 (度):</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_minAngularCoverage"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_maxRadiusFitRatio">
<property name="text">
<string>最大半径拟合比率:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lineEdit_maxRadiusFitRatio"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_minQualityScore">
<property name="text">
<string>最小质量分数:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="lineEdit_minQualityScore"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_maxPlaneResidual">
<property name="text">
<string>最大平面残差 (mm):</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="lineEdit_maxPlaneResidual"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_maxAngularGap">
<property name="text">
<string>最大角度间隙 (度):</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="lineEdit_maxAngularGap"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_minInlierRatio">
<property name="text">
<string>最小内点比率:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="lineEdit_minInlierRatio"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_sortMode">
<property name="text">
<string>排序模式:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QComboBox" name="comboBox_sortMode"/>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="filterSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_network">
<attribute name="title">
<string>网络配置</string>
</attribute>
<layout class="QVBoxLayout" name="tabNetworkLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout_networkConfigHost"/>
</item>
<item>
<widget class="QGroupBox" name="groupBox_poseOutput">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="title">
<string>姿态输出配置</string>
</property>
<layout class="QFormLayout" name="formLayout_poseOutput">
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="horizontalSpacing">
<number>20</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_poseOutputOrder">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>姿态输出顺序:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboBox_poseOutputOrder">
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="networkSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_calibMatrix">
<attribute name="title">
<string>手眼标定</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_handEyeCalibHost"/>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btn_camer_ok">
<property name="minimumSize">
<size>
<width>120</width>
<height>40</height>
</size>
</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>
</item>
<item>
<widget class="QPushButton" name="btn_camer_cancel">
<property name="minimumSize">
<size>
<width>120</width>
<height>40</height>
</size>
</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>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>