705 lines
17 KiB
XML
705 lines
17 KiB
XML
<?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>774</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>361</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="tabTool">
|
|
<attribute name="title">
|
|
<string>工具参数</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_toolParamsHost">
|
|
<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_corner">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>10</y>
|
|
<width>791</width>
|
|
<height>291</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>220</x>
|
|
<y>45</y>
|
|
<width>160</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>220</x>
|
|
<y>95</y>
|
|
<width>160</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="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>220</x>
|
|
<y>145</y>
|
|
<width>160</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="labelMinEndingGapZ">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>50</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>610</x>
|
|
<y>50</y>
|
|
<width>160</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>5</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="labelJumpCornerTh1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>100</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>610</x>
|
|
<y>100</y>
|
|
<width>160</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>15</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="labelJumpCornerTh2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>150</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>610</x>
|
|
<y>150</y>
|
|
<width>160</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>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_networkConfig">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>540</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>720</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>720</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>720</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>720</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>
|