2018-05-11 18:42:23 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
2018-05-20 02:07:37 +01:00
|
|
|
<class>ConfigureCamera</class>
|
|
|
|
<widget class="QWidget" name="ConfigureCamera">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>400</width>
|
|
|
|
<height>300</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Camera</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2018-05-11 18:42:23 +01:00
|
|
|
<item>
|
2018-05-20 02:07:37 +01:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="camera_selection_label">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the camera to configure</string>
|
2018-05-11 18:42:23 +01:00
|
|
|
</property>
|
2018-05-20 02:07:37 +01:00
|
|
|
<property name="text">
|
|
|
|
<string>Camera to configure:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="camera_selection">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the camera to configure</string>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Front</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Rear</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="camera_mode_label">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the camera mode (single or double)</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Camera mode:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="camera_mode">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the camera mode (single or double)</string>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Single (2D)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Double (3D)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="camera_position_label">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the position of camera to configure</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Camera position:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="camera_position">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the position of camera to configure</string>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Left</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Right</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2018-05-11 18:42:23 +01:00
|
|
|
</item>
|
2018-05-20 02:07:37 +01:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="configurationBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Configuration</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_configuration">
|
2018-05-11 18:42:23 +01:00
|
|
|
<item>
|
2018-05-20 02:07:37 +01:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="image_source_label">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select where the image of the emulated camera comes from. It may be an image or a real camera.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Camera Image Source:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="image_source">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select where the image of the emulated camera comes from. It may be an image or a real camera.</string>
|
2018-05-11 18:42:23 +01:00
|
|
|
</property>
|
2018-05-20 02:07:37 +01:00
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Blank (blank)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Still Image (image)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>System Camera (qt)</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2018-05-11 18:42:23 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
2018-05-20 02:07:37 +01:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="camera_file_label">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
2018-05-11 18:42:23 +01:00
|
|
|
</property>
|
2018-05-20 02:07:37 +01:00
|
|
|
<property name="text">
|
|
|
|
<string>File:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="camera_file"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="toolButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2018-05-11 18:42:23 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
2018-05-20 02:07:37 +01:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="system_camera_label">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the system camera to use</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Camera:</string>
|
2018-05-11 18:42:23 +01:00
|
|
|
</property>
|
2018-05-20 02:07:37 +01:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="system_camera">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
2018-05-11 18:42:23 +01:00
|
|
|
</property>
|
2018-05-20 02:07:37 +01:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>250</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the system camera to use</string>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string><Default></string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="camera_flip_label">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the image flip to apply</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Flip:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="camera_flip">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>800</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select the image flip to apply</string>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>None</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Horizontal</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Vertical</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Reverse</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="prompt_before_load">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select an image file every time before the camera is loaded</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Prompt before load</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="previewBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Preview</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="preview_box">
|
|
|
|
<property name="baseSize">
|
|
|
|
<size>
|
|
|
|
<width>512</width>
|
|
|
|
<height>384</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Resolution: 512*384</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="preview_button">
|
|
|
|
<property name="text">
|
|
|
|
<string>Click to preview</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2018-05-11 18:42:23 +01:00
|
|
|
</item>
|
2018-05-20 02:07:37 +01:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer>
|
|
|
|
<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>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
2018-05-11 18:42:23 +01:00
|
|
|
</ui>
|