1183 lines
32 KiB
XML
1183 lines
32 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>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>5</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab_workpiece">
|
|
<attribute name="title">
|
|
<string>孔参数</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_workpiece">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>671</width>
|
|
<height>511</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>工件孔参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>631</width>
|
|
<height>300</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_workpieceType">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>工件类型 (workpieceType)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_workpieceType">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_holeDiameter">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>孔直径 mm (holeDiameter)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_holeDiameter">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_holeDist_L">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>孔间距_长 mm (holeDist_L)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_holeDist_L">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_holeDist_W">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>孔间距_宽 mm (holeDist_W)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_holeDist_W">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_lineseg">
|
|
<attribute name="title">
|
|
<string>线段分割</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_lineseg">
|
|
<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>线段分割参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget_lineseg">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>631</width>
|
|
<height>224</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_distScale">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>窗口比例因子 (distScale)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_distScale">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_segGapTh_y">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Y方向间隔阈值 (segGapTh_y)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_segGapTh_y">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_segGapTh_z">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Z方向间隔阈值 (segGapTh_z)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_segGapTh_z">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_filter">
|
|
<attribute name="title">
|
|
<string>滤波参数</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_filter">
|
|
<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>离群点滤波参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>631</width>
|
|
<height>148</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_continuityTh">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>连续性阈值 (continuityTh)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_continuityTh">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_outlierTh">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>离群点阈值 (outlierTh)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_outlierTh">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_grow">
|
|
<attribute name="title">
|
|
<string>生长参数</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_grow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>671</width>
|
|
<height>511</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>树生长参数</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>631</width>
|
|
<height>458</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_maxLineSkipNum">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>最大线条跳过数 (maxLineSkipNum)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_maxLineSkipNum">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_yDeviation_max">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Y方向最大偏差 (yDeviation_max)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_yDeviation_max">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_maxSkipDistance">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>最大跳跃距离 (maxSkipDistance)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_maxSkipDistance">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_zDeviation_max">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Z方向最大偏差 (zDeviation_max)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_zDeviation_max">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_minLTypeTreeLen">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>L型树最小长度 (minLTypeTreeLen)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_minLTypeTreeLen">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_minVTypeTreeLen">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>V型树最小长度 (minVTypeTreeLen)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_minVTypeTreeLen">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</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 class="QWidget" name="tab_network">
|
|
<attribute name="title">
|
|
<string>网络配置</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="groupBox_plc">
|
|
<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>PLC服务端配置</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget_plc">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>631</width>
|
|
<height>411</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_plcServerIp">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>PLC服务端IP地址</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_plcServerIp">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>例如: 192.168.1.10</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_plcServerPort">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>PLC服务端端口</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_plcServerPort">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>例如: 502</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_addrPhotoRequest">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>拍照请求寄存器地址</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_addrPhotoRequest">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>例如: 1001 (D1000)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_addrDataComplete">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>数据完成寄存器地址</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_addrDataComplete">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>例如: 1003 (D1002)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_addrCoordDataStart">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>坐标数据起始地址</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_addrCoordDataStart">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>例如: 2002 (D2000)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" 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="5" column="1">
|
|
<widget class="QComboBox" name="comboBox_poseOutputOrder">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</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>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="label_dirVectorInvert">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>方向向量反向</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QComboBox" name="comboBox_dirVectorInvert">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</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>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_byteOrder">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>数据字节序</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QComboBox" name="comboBox_byteOrder">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</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>
|
|
</item>
|
|
</layout>
|
|
</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>
|