275 lines
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1119</width>
<height>800</height>
</rect>
</property>
<property name="windowTitle">
<string>BinocularMark 测试工具</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QGroupBox" name="groupBox_images">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>1091</width>
<height>371</height>
</rect>
</property>
<property name="title">
<string>图像显示</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>40</y>
<width>1021</width>
<height>302</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_left">
<property name="minimumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="text">
<string>左图</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_right">
<property name="minimumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="text">
<string>右图</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_result">
<property name="geometry">
<rect>
<x>10</x>
<y>380</y>
<width>621</width>
<height>381</height>
</rect>
</property>
<property name="title">
<string>持续检测结果</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QTextEdit" name="textEdit_result">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="groupBox_control">
<property name="geometry">
<rect>
<x>680</x>
<y>400</y>
<width>411</width>
<height>294</height>
</rect>
</property>
<property name="title">
<string>控制面板</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_ip">
<property name="text">
<string>服务器IP:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_ip">
<property name="text">
<string>192.168.10.20</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_port">
<property name="text">
<string>端口:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_port">
<property name="text">
<string>5901</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="btn_connect">
<property name="text">
<string>连接</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_startWork">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>开始持续检测</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_stopWork">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>停止持续检测</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_singleImage">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>单次取图</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_singleDetection">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>单次检测</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_exposure">
<property name="text">
<string>曝光时间:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_exposure">
<property name="text">
<string>5000</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_setExposureTime">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>设置曝光</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_gain">
<property name="text">
<string>增益:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit_gain">
<property name="text">
<string>10</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_setGain">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>设置增益</string>
</property>
</widget>
</item>
</layout>
</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>
</layout>
</widget>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>