|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>RoiDlg</class>
|
|
|
|
|
<widget class="QDialog" name="RoiDlg">
|
|
|
|
|
<property name="windowModality">
|
|
|
|
|
<enum>Qt::ApplicationModal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>816</width>
|
|
|
|
|
<height>590</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>ROI检测区域配置</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>5</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>5</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>5</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>5</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<spacer name="horizontalSpacer_5">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>649</width>
|
|
|
|
|
<height>27</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>30</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>确定</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="2">
|
|
|
|
|
<widget class="QPushButton" name="pushButton_2">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>30</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>取消</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="0" colspan="3">
|
|
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>140</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>工具</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="pushButton_8">
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>80</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>颜色</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLineEdit" name="lineEdit_3">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>50</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="pushButton_7">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>30</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>130</width>
|
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>圆</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
|
<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>
|
|
|
|
|
<widget class="QPushButton" name="pushButton_5">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>30</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>十字标定线</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>绘图区域:</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>2</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_pixel_info">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>Arial</family>
|
|
|
|
|
<pointsize>8</pointsize>
|
|
|
|
|
<weight>50</weight>
|
|
|
|
|
<bold>false</bold>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Pixel info: </string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QGraphicsView" name="graphicsView">
|
|
|
|
|
<property name="transformationAnchor">
|
|
|
|
|
<enum>QGraphicsView::AnchorUnderMouse</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="resizeAnchor">
|
|
|
|
|
<enum>QGraphicsView::AnchorUnderMouse</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|