|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<ui version="4.0">
|
|
|
<class>QCamSettingDlg</class>
|
|
|
<widget class="QWidget" name="QCamSettingDlg">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>775</width>
|
|
|
<height>553</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="windowTitle">
|
|
|
<string>相机配置</string>
|
|
|
</property>
|
|
|
<layout class="QGridLayout" name="gridLayout_9">
|
|
|
<item row="0" column="0">
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
<item>
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
<item>
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2"/>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QGroupBox" name="gpCamPreview">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
<pointsize>9</pointsize>
|
|
|
<weight>50</weight>
|
|
|
<bold>false</bold>
|
|
|
<underline>false</underline>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="title">
|
|
|
<string>相机预览</string>
|
|
|
</property>
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
|
<item>
|
|
|
<widget class="lpImgViewer" name="imgViewer">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>500</width>
|
|
|
<height>0</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
|
|
<item>
|
|
|
<spacer name="horizontalSpacer_11">
|
|
|
<property name="orientation">
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
</property>
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
<size>
|
|
|
<width>40</width>
|
|
|
<height>20</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
</spacer>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnOpenCam">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>75</width>
|
|
|
<height>0</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>打开</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btnStartCam">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>75</width>
|
|
|
<height>0</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="font">
|
|
|
<font>
|
|
|
<pointsize>9</pointsize>
|
|
|
<weight>50</weight>
|
|
|
<bold>false</bold>
|
|
|
<underline>false</underline>
|
|
|
</font>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>运行</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
<property name="topMargin">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<property name="bottomMargin">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<item>
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
<property name="text">
|
|
|
<string>当前图片尺寸:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QLabel" name="labImgCurSize">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>0</width>
|
|
|
<height>20</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string/>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
|
<item row="3" column="4">
|
|
|
<widget class="QSpinBox" name="spbImgHeight">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimum">
|
|
|
<number>10</number>
|
|
|
</property>
|
|
|
<property name="maximum">
|
|
|
<number>9999</number>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="4">
|
|
|
<widget class="QSpinBox" name="spbImgStartY">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="maximum">
|
|
|
<number>9999</number>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="3" column="1">
|
|
|
<widget class="QSpinBox" name="spbImgWidth">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimum">
|
|
|
<number>10</number>
|
|
|
</property>
|
|
|
<property name="maximum">
|
|
|
<number>9999</number>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="3" column="3">
|
|
|
<widget class="QLabel" name="label_26">
|
|
|
<property name="text">
|
|
|
<string>高度:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="3" column="0">
|
|
|
<widget class="QLabel" name="label_25">
|
|
|
<property name="text">
|
|
|
<string>宽度:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="4" column="4">
|
|
|
<widget class="QPushButton" name="btnImgSizeApply">
|
|
|
<property name="text">
|
|
|
<string>应用</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="0">
|
|
|
<widget class="QLabel" name="label_23">
|
|
|
<property name="text">
|
|
|
<string>起始X:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="3">
|
|
|
<widget class="QLabel" name="label_24">
|
|
|
<property name="text">
|
|
|
<string>起始Y:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="1">
|
|
|
<widget class="QSpinBox" name="spbImgStartX">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="maximum">
|
|
|
<number>9999</number>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="2">
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
<property name="orientation">
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
</property>
|
|
|
<property name="sizeType">
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
</property>
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
<size>
|
|
|
<width>40</width>
|
|
|
<height>20</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
</spacer>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
<item>
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
|
<item>
|
|
|
<layout class="QGridLayout" name="gridLayout_7">
|
|
|
<item row="0" column="0">
|
|
|
<widget class="QLabel" name="label_16">
|
|
|
<property name="text">
|
|
|
<string>相机类型(*):</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="0">
|
|
|
<widget class="QLabel" name="label">
|
|
|
<property name="text">
|
|
|
<string>序列号(*):</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="0" column="2">
|
|
|
<widget class="QComboBox" name="cmb_camera_type">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Virtual Camera(100)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>BitFlow(110)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Gige(120)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>USB Camera(130)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>HIK(140)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Vimba(150)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Baumer(160)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>AdLink(170)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>DaHua(180)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Basler(190)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>PtGray(200)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Euresys(220)</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="2">
|
|
|
<widget class="QLineEdit" name="edit_add_camera_sn">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QToolBox" name="toolBox">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="currentIndex">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<widget class="QWidget" name="page_3">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>225</width>
|
|
|
<height>368</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<attribute name="label">
|
|
|
<string>相机通用参数</string>
|
|
|
</attribute>
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
<item row="4" column="0">
|
|
|
<widget class="QLabel" name="label_21">
|
|
|
<property name="text">
|
|
|
<string>触发源:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="5" column="2">
|
|
|
<widget class="QCheckBox" name="chbx_camera_zoom">
|
|
|
<property name="text">
|
|
|
<string>开启</string>
|
|
|
</property>
|
|
|
<property name="checked">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="5" column="0">
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
<property name="text">
|
|
|
<string>缩放:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="2" column="0">
|
|
|
<widget class="QLabel" name="label_13">
|
|
|
<property name="text">
|
|
|
<string>增益:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="4" column="2">
|
|
|
<widget class="QComboBox" name="cmb_camera_triggersource">
|
|
|
<property name="editable">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Line0</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>Line1</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="3" column="0">
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
<property name="text">
|
|
|
<string>格式:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="0" column="0">
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
<property name="text">
|
|
|
<string>显示名称(*):</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="0" column="2">
|
|
|
<widget class="QLineEdit" name="edit_camera_showname">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="6" column="2">
|
|
|
<spacer name="verticalSpacer_5">
|
|
|
<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="1" column="0">
|
|
|
<widget class="QLabel" name="label_12">
|
|
|
<property name="text">
|
|
|
<string>曝光:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="3" column="2">
|
|
|
<widget class="QComboBox" name="cmb_camera_format">
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>GRAY8</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>RGB32</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="2">
|
|
|
<widget class="QSpinBox" name="spb_camera_exposure">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimum">
|
|
|
<number>1</number>
|
|
|
</property>
|
|
|
<property name="maximum">
|
|
|
<number>999999</number>
|
|
|
</property>
|
|
|
<property name="singleStep">
|
|
|
<number>100</number>
|
|
|
</property>
|
|
|
<property name="value">
|
|
|
<number>1000</number>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="2" column="2">
|
|
|
<widget class="QSpinBox" name="spb_camera_gain">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimum">
|
|
|
<number>1</number>
|
|
|
</property>
|
|
|
<property name="maximum">
|
|
|
<number>999999</number>
|
|
|
</property>
|
|
|
<property name="singleStep">
|
|
|
<number>100</number>
|
|
|
</property>
|
|
|
<property name="value">
|
|
|
<number>1000</number>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
<widget class="QWidget" name="page_5">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>225</width>
|
|
|
<height>368</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<attribute name="label">
|
|
|
<string>虚拟相机配置</string>
|
|
|
</attribute>
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
<item row="1" column="0">
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
<property name="text">
|
|
|
<string>虚拟相机目录:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="1">
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
<item>
|
|
|
<widget class="QLineEdit" name="edit_camera_vircam_folder"/>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="tp_config_add_camera_open_virfolder_btn">
|
|
|
<property name="maximumSize">
|
|
|
<size>
|
|
|
<width>30</width>
|
|
|
<height>16777215</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>...</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
<item row="0" column="0">
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
<property name="text">
|
|
|
<string>依赖的相机:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="0" column="1">
|
|
|
<widget class="QComboBox" name="tp_config_add_camera_relyon_cam_cbx"/>
|
|
|
</item>
|
|
|
<item row="2" column="0">
|
|
|
<widget class="QLabel" name="label_17">
|
|
|
<property name="text">
|
|
|
<string>是否循环:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="2" column="1">
|
|
|
<widget class="QCheckBox" name="ckbx_vircamera_loop">
|
|
|
<property name="text">
|
|
|
<string>循环</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="3" column="1">
|
|
|
<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>
|
|
|
<widget class="QWidget" name="page_7">
|
|
|
<property name="geometry">
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
<width>225</width>
|
|
|
<height>368</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<attribute name="label">
|
|
|
<string>其他</string>
|
|
|
</attribute>
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
<item>
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
<property name="title">
|
|
|
<string>保存参数</string>
|
|
|
</property>
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
|
<item row="0" column="1">
|
|
|
<widget class="QCheckBox" name="chbx_camera_save">
|
|
|
<property name="text">
|
|
|
<string>启用保存</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="0">
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
<property name="text">
|
|
|
<string>保存图片后缀:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="0" column="0">
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
<property name="text">
|
|
|
<string>是否保存:</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="1" column="1">
|
|
|
<widget class="QComboBox" name="cmb_camera_savefile_suffix">
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>.BMP</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>.PNG</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>.JPG</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
<item>
|
|
|
<property name="text">
|
|
|
<string>.JPEG</string>
|
|
|
</property>
|
|
|
</item>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item row="2" column="0">
|
|
|
<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>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
<item row="1" column="0">
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
<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>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btn_add_camera_accept">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>75</width>
|
|
|
<height>0</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>确定</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
<widget class="QPushButton" name="btn_camera_cancel">
|
|
|
<property name="sizePolicy">
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="minimumSize">
|
|
|
<size>
|
|
|
<width>75</width>
|
|
|
<height>0</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string>取消</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
|
<customwidgets>
|
|
|
<customwidget>
|
|
|
<class>lpImgViewer</class>
|
|
|
<extends>QGraphicsView</extends>
|
|
|
<header>lpimgviewer.h</header>
|
|
|
</customwidget>
|
|
|
</customwidgets>
|
|
|
<resources/>
|
|
|
<connections/>
|
|
|
</ui>
|