You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
419 lines
12 KiB
419 lines
12 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>guiAddSourceDialog</class>
|
|
<widget class="QDialog" name="guiAddSourceDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>700</width>
|
|
<height>480</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Add Video Source</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="video_source_type_tab">
|
|
<attribute name="title">
|
|
<string>Video Source Type</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QFrame" name="frame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="m_pDeviceTypeCombo">
|
|
<item>
|
|
<property name="text">
|
|
<string>Static Camera</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Extended Static Camera</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Extended Static Camera + Zoom</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>PTZ Camera</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_2">
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="m_pSourceTypeCombo">
|
|
<item>
|
|
<property name="text">
|
|
<string>Local Source</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>IP Stream</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>File</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="frame_3">
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="video_source_location_tab">
|
|
<attribute name="title">
|
|
<string>Location</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QWidget" name="video_local_source_tab">
|
|
<attribute name="title">
|
|
<string>Local Source</string>
|
|
</attribute>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="VideoThumbWidget" name="m_pSourcePreview" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>240</width>
|
|
<height>180</height>
|
|
</size>
|
|
</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>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Source Name:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="m_pLocalDevicesCombo"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="m_pScalePicture">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Strech Output Video</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="m_p16x9resolution">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string notr="true">16x9</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QCheckBox" name="m_p4x3resolution">
|
|
<property name="text">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string notr="true">4x3</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QComboBox" name="m_pScaledResolutionCombo"/>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QComboBox" name="m_pDeviceResolutionCombo"/>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QComboBox" name="m_pInputPinCombo">
|
|
<item>
|
|
<property name="text">
|
|
<string>Video Tuner</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video Composite</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S-Video</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video RGB</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video YRYBY</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video Serial Digital</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video Parallel Digital</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video SCSI</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video AUX</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video 1394</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video USB</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video Decoder</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Video Encoder</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="network_source_tab">
|
|
<attribute name="title">
|
|
<string>Network Source</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QWidget" name="video_source_image_tab">
|
|
<attribute name="title">
|
|
<string>Image/Optics</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QWidget" name="video_source_ptz_tab">
|
|
<attribute name="title">
|
|
<string>PTZ Control</string>
|
|
</attribute>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="btn_cancel">
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_add">
|
|
<property name="text">
|
|
<string>Add Video Source</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>VideoThumbWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>../../lib/gui/controls/VideoThumbWidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../../resources/resources.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>m_pScalePicture</sender>
|
|
<signal>clicked(bool)</signal>
|
|
<receiver>guiAddSourceDialog</receiver>
|
|
<slot>setStrechMode(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>364</x>
|
|
<y>94</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>349</x>
|
|
<y>239</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_pDeviceTypeCombo</sender>
|
|
<signal>currentIndexChanged(int)</signal>
|
|
<receiver>guiAddSourceDialog</receiver>
|
|
<slot>setCameraType(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>349</x>
|
|
<y>167</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>349</x>
|
|
<y>239</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_pSourceTypeCombo</sender>
|
|
<signal>currentIndexChanged(int)</signal>
|
|
<receiver>guiAddSourceDialog</receiver>
|
|
<slot>setSourceType(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>349</x>
|
|
<y>306</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>349</x>
|
|
<y>239</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>btn_add</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>guiAddSourceDialog</receiver>
|
|
<slot>addSource()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>521</x>
|
|
<y>456</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>349</x>
|
|
<y>239</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>btn_cancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>guiAddSourceDialog</receiver>
|
|
<slot>cancelDialog()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>178</x>
|
|
<y>456</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>349</x>
|
|
<y>239</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>setStrechMode(bool)</slot>
|
|
<slot>setCameraType(int)</slot>
|
|
<slot>setSourceType(int)</slot>
|
|
<slot>addSource()</slot>
|
|
<slot>cancelDialog()</slot>
|
|
</slots>
|
|
</ui>
|