779 lines
19 KiB
XML
779 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>DialogCameraLevel</class>
|
||
<widget class="QWidget" name="DialogCameraLevel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>659</width>
|
||
<height>599</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>相机调平</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(25, 26, 28);color: rgb(221, 225, 233);</string>
|
||
</property>
|
||
<widget class="QLabel" name="label">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>110</y>
|
||
<width>101</width>
|
||
<height>31</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>调平结果:</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>10</y>
|
||
<width>621</width>
|
||
<height>45</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>18</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::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_apply">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>170</x>
|
||
<y>550</y>
|
||
<width>101</width>
|
||
<height>38</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>18</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">image: url(:/common/resource/dialog_ok.png);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btn_cancel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>380</x>
|
||
<y>550</y>
|
||
<width>111</width>
|
||
<height>38</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>18</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">image: url(:/common/resource/dialog_cancel.png);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_level_result">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>130</x>
|
||
<y>110</y>
|
||
<width>511</width>
|
||
<height>271</height>
|
||
</rect>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>14</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);
|
||
border: 1px solid #3B3D47;
|
||
padding: 5px;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
<widget class="QWidget" name="layoutWidget">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>60</y>
|
||
<width>634</width>
|
||
<height>41</height>
|
||
</rect>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_camera">
|
||
<item>
|
||
<widget class="QLabel" name="label_camera">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</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="QComboBox" name="combo_camera">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>200</width>
|
||
<height>35</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_error_compensation">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="visible">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</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="QLineEdit" name="edit_error_compensation">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="visible">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>35</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>16</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>-5.0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_unit">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="visible">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>14</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>mm</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btn_save_compensation">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="visible">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>35</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>35</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>14</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton {
|
||
color: rgb(221, 225, 233);
|
||
background-color: rgb(60, 63, 65);
|
||
border: 1px solid #3B3D47;
|
||
border-radius: 4px;
|
||
}
|
||
QPushButton:hover {
|
||
background-color: rgb(80, 83, 85);
|
||
}
|
||
QPushButton:pressed {
|
||
background-color: rgb(45, 48, 50);
|
||
}</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>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QGroupBox" name="groupBox_roi">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>390</y>
|
||
<width>621</width>
|
||
<height>150</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 #3B3D47;
|
||
border-radius: 4px;
|
||
margin-top: 10px;
|
||
padding-top: 10px;
|
||
}
|
||
QGroupBox::title {
|
||
subcontrol-origin: margin;
|
||
subcontrol-position: top left;
|
||
padding: 0 5px;
|
||
}</string>
|
||
</property>
|
||
<property name="title">
|
||
<string>轮胎存在检测ROI范围 (mm)</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_roi">
|
||
<property name="leftMargin">
|
||
<number>15</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>15</number>
|
||
</property>
|
||
<item row="1" column="2">
|
||
<widget class="QLabel" name="label_to_2">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>20</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>20</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</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::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QLineEdit" name="edit_roi_z_min">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>-1000.0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="4">
|
||
<widget class="QPushButton" name="btn_save_roi">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>35</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>35</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>14</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton {
|
||
color: rgb(221, 225, 233);
|
||
background-color: rgb(60, 63, 65);
|
||
border: 1px solid #3B3D47;
|
||
border-radius: 4px;
|
||
}
|
||
QPushButton:hover {
|
||
background-color: rgb(80, 83, 85);
|
||
}
|
||
QPushButton:pressed {
|
||
background-color: rgb(45, 48, 50);
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>保存</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="3">
|
||
<widget class="QLineEdit" name="edit_roi_z_max">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>500.0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_x_range">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>X范围:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="label_z_range">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Z范围:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="edit_roi_x_min">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>-500.0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="2">
|
||
<widget class="QLabel" name="label_to_3">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>20</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>20</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</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::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QLabel" name="label_to_1">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>20</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>20</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</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::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="3">
|
||
<widget class="QLineEdit" name="edit_roi_y_max">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>1000.0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QLineEdit" name="edit_roi_x_max">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>1000.0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QLineEdit" name="edit_roi_y_min">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>80</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);
|
||
background-color: rgb(47, 48, 52);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>-1000.0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="label_y_range">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>70</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>13</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(221, 225, 233);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Y范围:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="5" rowspan="3">
|
||
<spacer name="horizontalSpacer_roi">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|