576 lines
16 KiB
Plaintext
576 lines
16 KiB
Plaintext
|
|
<?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>753</width>
|
||
|
|
<height>728</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="QTabWidget" name="tabWidget">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>40</x>
|
||
|
|
<y>80</y>
|
||
|
|
<width>701</width>
|
||
|
|
<height>581</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; }
|
||
|
|
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_modelDetection">
|
||
|
|
<attribute name="title">
|
||
|
|
<string>模型检测</string>
|
||
|
|
</attribute>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_modelDetection">
|
||
|
|
<property name="leftMargin">
|
||
|
|
<number>24</number>
|
||
|
|
</property>
|
||
|
|
<property name="topMargin">
|
||
|
|
<number>24</number>
|
||
|
|
</property>
|
||
|
|
<property name="rightMargin">
|
||
|
|
<number>24</number>
|
||
|
|
</property>
|
||
|
|
<property name="bottomMargin">
|
||
|
|
<number>24</number>
|
||
|
|
</property>
|
||
|
|
<property name="spacing">
|
||
|
|
<number>10</number>
|
||
|
|
</property>
|
||
|
|
<item>
|
||
|
|
<widget class="QGroupBox" name="groupBox_modelDetection">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>模型检测参数</string>
|
||
|
|
</property>
|
||
|
|
<layout class="QFormLayout" name="formLayout_modelDetection">
|
||
|
|
<property name="spacing">
|
||
|
|
<number>8</number>
|
||
|
|
</property>
|
||
|
|
<item row="0" column="0">
|
||
|
|
<widget class="QLabel" name="label_modelMinimumScore">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>二维模型置信度阈值</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="0" column="1">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_modelMinimumScore">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="minimumWidth">
|
||
|
|
<number>260</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="0">
|
||
|
|
<widget class="QLabel" name="label_fullImageExposure">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>二维全图采集曝光</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="1">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_fullImageExposure">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="minimumWidth">
|
||
|
|
<number>260</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="2" column="0">
|
||
|
|
<widget class="QLabel" name="label_fullImageGain">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>二维全图采集增益</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="2" column="1">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_fullImageGain">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="minimumWidth">
|
||
|
|
<number>260</number>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<spacer name="verticalSpacer_modelDetection">
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Vertical</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeHint" stdset="0">
|
||
|
|
<size>
|
||
|
|
<width>20</width>
|
||
|
|
<height>40</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
<widget class="QWidget" name="tab_toolExtrinsic">
|
||
|
|
<attribute name="title">
|
||
|
|
<string>工具参数</string>
|
||
|
|
</attribute>
|
||
|
|
<layout class="QVBoxLayout" name="verticalLayout_toolExtrinsicHost"/>
|
||
|
|
</widget>
|
||
|
|
<widget class="QWidget" name="tab_calibMatrix">
|
||
|
|
<property name="layoutDirection">
|
||
|
|
<enum>Qt::LeftToRight</enum>
|
||
|
|
</property>
|
||
|
|
<attribute name="title">
|
||
|
|
<string>手眼标定</string>
|
||
|
|
</attribute>
|
||
|
|
<widget class="QGroupBox" name="groupBox_calibMatrix">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>10</x>
|
||
|
|
<y>20</y>
|
||
|
|
<width>671</width>
|
||
|
|
<height>501</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>16</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="title">
|
||
|
|
<string>手眼标定矩阵 (4x4)</string>
|
||
|
|
</property>
|
||
|
|
<widget class="QWidget" name="gridWidget_calib">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>20</x>
|
||
|
|
<y>40</y>
|
||
|
|
<width>631</width>
|
||
|
|
<height>200</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<layout class="QGridLayout" name="gridLayout_calibMatrix">
|
||
|
|
<item row="0" column="0">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_0_0">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="0" column="1">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_0_1">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="0" column="2">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_0_2">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="0" column="3">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_0_3">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="0">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_1_0">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="1">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_1_1">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="2">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_1_2">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="1" column="3">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_1_3">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="2" column="0">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_2_0">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="2" column="1">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_2_1">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="2" column="2">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_2_2">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="2" column="3">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_2_3">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="3" column="0">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_3_0">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="3" column="1">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_3_1">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="3" column="2">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_3_2">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item row="3" column="3">
|
||
|
|
<widget class="QLineEdit" name="lineEdit_calib_3_3">
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
<widget class="QPushButton" name="btn_loadCalibMatrix">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>430</x>
|
||
|
|
<y>260</y>
|
||
|
|
<width>200</width>
|
||
|
|
<height>40</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>14</pointsize>
|
||
|
|
</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;
|
||
|
|
}
|
||
|
|
QPushButton:hover {
|
||
|
|
background-color: rgb(80, 140, 200);
|
||
|
|
}</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>从INI文件导入</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
<widget class="QLabel" name="label_eulerOrder">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>20</x>
|
||
|
|
<y>260</y>
|
||
|
|
<width>80</width>
|
||
|
|
<height>40</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">color: rgb(221, 225, 233);</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>旋转顺序:</string>
|
||
|
|
</property>
|
||
|
|
<property name="alignment">
|
||
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
<widget class="QComboBox" name="comboBox_eulerOrder">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>110</x>
|
||
|
|
<y>260</y>
|
||
|
|
<width>241</width>
|
||
|
|
<height>40</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="font">
|
||
|
|
<font>
|
||
|
|
<pointsize>12</pointsize>
|
||
|
|
</font>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true">QComboBox {
|
||
|
|
background-color: rgb(50, 52, 56);
|
||
|
|
color: rgb(221, 225, 233);
|
||
|
|
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);
|
||
|
|
}</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</widget>
|
||
|
|
</widget>
|
||
|
|
</widget>
|
||
|
|
<widget class="QWidget" name="layoutWidget">
|
||
|
|
<property name="geometry">
|
||
|
|
<rect>
|
||
|
|
<x>2</x>
|
||
|
|
<y>670</y>
|
||
|
|
<width>751</width>
|
||
|
|
<height>44</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
|
<item>
|
||
|
|
<spacer name="horizontalSpacer">
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Horizontal</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeHint" stdset="0">
|
||
|
|
<size>
|
||
|
|
<width>178</width>
|
||
|
|
<height>20</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_camer_ok">
|
||
|
|
<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>
|
||
|
|
<spacer name="horizontalSpacer_3">
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Horizontal</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeHint" stdset="0">
|
||
|
|
<size>
|
||
|
|
<width>50</width>
|
||
|
|
<height>20</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btn_camer_cancel">
|
||
|
|
<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>178</width>
|
||
|
|
<height>20</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</widget>
|
||
|
|
<resources/>
|
||
|
|
<connections/>
|
||
|
|
</ui>
|