349 lines
11 KiB
XML
349 lines
11 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>1400</width>
|
|
<height>800</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>WDRemoteReceiverTest</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="mainLayout" stretch="3,1">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="imageLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="grpLeftImage">
|
|
<property name="title">
|
|
<string>左图像</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vLeftImage">
|
|
<item>
|
|
<widget class="QLabel" name="labelLeftImage">
|
|
<property name="styleSheet">
|
|
<string notr="true">background:#222;color:#888;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>等待左图像...</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="grpRightImage">
|
|
<property name="title">
|
|
<string>右图像</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vRightImage">
|
|
<item>
|
|
<widget class="QLabel" name="labelRightImage">
|
|
<property name="styleSheet">
|
|
<string notr="true">background:#222;color:#888;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>等待右图像...</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hBottom" stretch="2,2,2">
|
|
<item>
|
|
<widget class="QGroupBox" name="grpDevices">
|
|
<property name="title">
|
|
<string>设备列表</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vDevices">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hDeviceActions">
|
|
<item>
|
|
<widget class="QPushButton" name="btnSearch">
|
|
<property name="text">
|
|
<string>搜索</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="listDevices"/>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hDeviceStatus">
|
|
<item>
|
|
<widget class="QPushButton" name="btnConnect">
|
|
<property name="text">
|
|
<string>打开设备</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnDisconnect">
|
|
<property name="text">
|
|
<string>断开</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lblConnState">
|
|
<property name="text">
|
|
<string>未连接</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="hSpacer1">
|
|
<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>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="grpControl">
|
|
<property name="title">
|
|
<string>控制面板</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hWorkButtons">
|
|
<item>
|
|
<widget class="QPushButton" name="btnLiveStream">
|
|
<property name="text">
|
|
<string>开启实时图像</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnStart">
|
|
<property name="text">
|
|
<string>开始检测</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnStop">
|
|
<property name="text">
|
|
<string>停止</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnSingle">
|
|
<property name="text">
|
|
<string>单次</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="hSpacer2">
|
|
<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>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hParamButtons">
|
|
<item>
|
|
<widget class="QPushButton" name="btnSetExposure">
|
|
<property name="text">
|
|
<string>曝光</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnSetGain">
|
|
<property name="text">
|
|
<string>增益</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnSwapCameras">
|
|
<property name="toolTip">
|
|
<string>交换服务端逻辑 left/right 相机配置并重连相机,请先停止检测和推流</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>交换左右目</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="hSpacer3">
|
|
<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>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="btnSetAlgo">
|
|
<property name="text">
|
|
<string>算法参数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<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>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="btnGetInfo">
|
|
<property name="text">
|
|
<string>获取信息</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnCustom">
|
|
<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>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hSaveImageLayout">
|
|
<item>
|
|
<widget class="QLabel" name="lblSaveDir">
|
|
<property name="text">
|
|
<string>保存路径</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="editSaveDir">
|
|
<property name="placeholderText">
|
|
<string>选择图像保存路径</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnChooseSaveDir">
|
|
<property name="text">
|
|
<string>选择</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnSaveImages">
|
|
<property name="text">
|
|
<string>保存图像</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="vControlSpacer">
|
|
<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>
|
|
<item>
|
|
<widget class="QTextEdit" name="textLog">
|
|
<property name="styleSheet">
|
|
<string notr="true">background:#222;color:#ccc;</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>日志输出...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|