|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
|
<class>Raster_Form</class>
|
|
|
|
|
|
<widget class="QWidget" name="Raster_Form">
|
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
|
<rect>
|
|
|
|
|
|
<x>0</x>
|
|
|
|
|
|
<y>0</y>
|
|
|
|
|
|
<width>706</width>
|
|
|
|
|
|
<height>508</height>
|
|
|
|
|
|
</rect>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
|
<string>Form</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 11pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 11pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="currentIndex">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
|
<string>设备设置和测试</string>
|
|
|
|
|
|
</attribute>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_9">
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
|
|
|
|
<property name="widgetResizable">
|
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
|
<rect>
|
|
|
|
|
|
<x>0</x>
|
|
|
|
|
|
<y>0</y>
|
|
|
|
|
|
<width>663</width>
|
|
|
|
|
|
<height>896</height>
|
|
|
|
|
|
</rect>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
|
|
|
|
<property name="title">
|
|
|
|
|
|
<string>串口设备设置</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_13">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>串口名:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="3" rowspan="2">
|
|
|
|
|
|
<widget class="QPushButton" name="Raster_ResScan">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>查找设备</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="2" column="1" colspan="2">
|
|
|
|
|
|
<widget class="QComboBox" name="Raster_Baute"/>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="4" rowspan="7">
|
|
|
|
|
|
<widget class="QLabel" name="label_15">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">background-color: rgb(208, 208, 156);</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string><html><head/><body><p>串口设备设置,在需要使用光栅采集数据的情况下使用,并且需要设置正确的设备端口号才能正常与光栅设备通讯,否则通讯会失败。</p></body></html></string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="wordWrap">
|
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="1" colspan="2">
|
|
|
|
|
|
<widget class="QComboBox" name="Raster_ComBox"/>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_14">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>波特率:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="7" column="0">
|
|
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>20</width>
|
|
|
|
|
|
<height>40</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</spacer>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="8" column="0" colspan="5">
|
|
|
|
|
|
<widget class="QLabel" name="Raster_showState_lb">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>串口打开状态</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="3" column="0" colspan="3">
|
|
|
|
|
|
<widget class="QCheckBox" name="Raster_checkBox">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>启动光栅采集数据功能</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="3" column="3">
|
|
|
|
|
|
<widget class="QPushButton" name="Raster_SaveCombp">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>30</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>保存设置</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="4" column="0">
|
|
|
|
|
|
<widget class="QPushButton" name="Raster_OpenDevice">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>打开串口</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
|
<widget class="QPushButton" name="Raster_CloseDevice">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>30</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>关闭串口</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
|
|
<property name="title">
|
|
|
|
|
|
<string>光栅数据采样</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>光栅未遮挡数:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="9" column="0">
|
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
|
|
<property name="title">
|
|
|
|
|
|
<string>系统状态</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QGroupBox" name="Raster_groupBoxSys">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>200</width>
|
|
|
|
|
|
<height>50</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="baseSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>0</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="title">
|
|
|
|
|
|
<string/>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QTextBrowser" name="Raster_textBrowser">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="8" column="0">
|
|
|
|
|
|
<widget class="QLineEdit" name="Raster_ShowlineEdit_3">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>200</width>
|
|
|
|
|
|
<height>50</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="title">
|
|
|
|
|
|
<string/>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>光栅总数:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
|
<widget class="QLineEdit" name="Raster_ShowlineEdit_5">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>63</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="4" column="0">
|
|
|
|
|
|
<widget class="QLineEdit" name="Raster_ShowlineEdit">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="6" column="0">
|
|
|
|
|
|
<widget class="QLineEdit" name="Raster_ShowlineEdit_2">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="7" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>被遮挡的起始位置:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="5" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>光栅遮挡数:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QFrame" name="Raster_frame">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>300</width>
|
|
|
|
|
|
<height>300</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="sizeIncrement">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>400</width>
|
|
|
|
|
|
<height>300</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="baseSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>400</width>
|
|
|
|
|
|
<height>400</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true"/>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="frameShape">
|
|
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="frameShadow">
|
|
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<spacer name="verticalSpacer_3">
|
|
|
|
|
|
<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>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
|
<string>轮毂数据标定</string>
|
|
|
|
|
|
</attribute>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QScrollArea" name="scrollArea_2">
|
|
|
|
|
|
<property name="widgetResizable">
|
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<widget class="QWidget" name="scrollAreaWidgetContents_2">
|
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
|
<rect>
|
|
|
|
|
|
<x>0</x>
|
|
|
|
|
|
<y>0</y>
|
|
|
|
|
|
<width>663</width>
|
|
|
|
|
|
<height>597</height>
|
|
|
|
|
|
</rect>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_11">
|
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
|
|
|
|
<property name="title">
|
|
|
|
|
|
<string>轮毂高度标定</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_8">
|
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
|
|
<number>0</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<item row="5" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_17">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string> 中值滤波比例:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_mid_value"/>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="6" column="1">
|
|
|
|
|
|
<widget class="QPushButton" name="Raster_SaveRaster">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>30</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>保存设置</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>光栅最小数值:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="2">
|
|
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>mm</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="0" column="0" colspan="3">
|
|
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 16pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>高度测量标定</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>基准高度:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="2" column="2">
|
|
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>mm</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>光栅倍率:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="2" column="1">
|
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_baseheight">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
|
<double>9999.989999999999782</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_beilv">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
|
<double>9999.989999999999782</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_min">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
|
<double>999.990000000000009</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="3" column="2">
|
|
|
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
|
<string notr="true">font: 75 12pt "Consolas";</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>mm</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="4" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_16">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string> 采样容器大小:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
|
<widget class="QSpinBox" name="spinBox_maxsize"/>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="8" column="0" colspan="4">
|
|
|
|
|
|
<widget class="QFrame" name="Raster_frame_2">
|
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
|
<size>
|
|
|
|
|
|
<width>0</width>
|
|
|
|
|
|
<height>200</height>
|
|
|
|
|
|
</size>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="frameShape">
|
|
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="frameShadow">
|
|
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="0" column="3" rowspan="7">
|
|
|
|
|
|
<widget class="QTextBrowser" name="textBrowser_2">
|
|
|
|
|
|
<property name="html">
|
|
|
|
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
|
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
|
|
|
|
p, li { white-space: pre-wrap; }
|
|
|
|
|
|
</style></head><body style=" font-family:'Consolas'; font-size:11pt; font-weight:400; font-style:normal;">
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">高度测量,是基于光栅数据能正常采集的情况下进行的。</p>
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">轮毂高度计算公式:</p>
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">高度=光栅遮挡数*光栅倍率+基准高度</p>
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">光栅遮挡数:是有物品挡住光栅时,光栅采样返回的数据</p>
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">光栅倍率:是光栅自身的精度,每一格光栅所代表的高度是多少</p>
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">基准高度:是在光栅无法照射的地方的高度大小,需要用直尺直接测量光栅底部与流水线的最低平面的距离</p></body></html></string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
|
|
|
|
<property name="title">
|
|
|
|
|
|
<string>轮毂直径标定曲率:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_10">
|
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_18">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>B:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
|
<widget class="QPushButton" name="Raster_SaveRasterDire">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>保存设置</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="0" column="3" rowspan="4">
|
|
|
|
|
|
<widget class="QTextBrowser" name="textBrowser">
|
|
|
|
|
|
<property name="html">
|
|
|
|
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
|
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
|
|
|
|
p, li { white-space: pre-wrap; }
|
|
|
|
|
|
</style></head><body style=" font-family:'Consolas'; font-size:11pt; font-weight:400; font-style:normal;">
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">直径标定曲率:是用于校准算法计算出的轮毂直径与实际轮毂直径用的</p>
|
|
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">曲率=轮毂高度*k+B 计算曲率的前提是轮毂的高度数据必须准确(误差小)</p></body></html></string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
|
<widget class="QLabel" name="label_19">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>K:</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="2" column="1">
|
|
|
|
|
|
<widget class="QDoubleSpinBox" name="Raster_doubleSpinBox_B">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="decimals">
|
|
|
|
|
|
<number>10</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="minimum">
|
|
|
|
|
|
<double>-100.000000000000000</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="singleStep">
|
|
|
|
|
|
<double>0.001000000000000</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="0" column="1" colspan="2">
|
|
|
|
|
|
<widget class="QLabel" name="label_20">
|
|
|
|
|
|
<property name="text">
|
|
|
|
|
|
<string>K:表示斜率,B:基准点,直径=高度*K+B</string>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
|
<widget class="QDoubleSpinBox" name="Raster_doubleSpinBox_K">
|
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="decimals">
|
|
|
|
|
|
<number>10</number>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="minimum">
|
|
|
|
|
|
<double>-100.000000000000000</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="maximum">
|
|
|
|
|
|
<double>99.998999999999995</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
<property name="singleStep">
|
|
|
|
|
|
<double>0.001000000000000</double>
|
|
|
|
|
|
</property>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
</item>
|
|
|
|
|
|
</layout>
|
|
|
|
|
|
</widget>
|
|
|
|
|
|
<resources/>
|
|
|
|
|
|
<connections/>
|
|
|
|
|
|
</ui>
|