--- a/qtmobility/examples/cameracapture/cameracapture.ui Fri Apr 16 15:51:22 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,364 +0,0 @@
-<ui version="4.0" >
- <class>CameraCapture</class>
- <widget class="QMainWindow" name="CameraCapture" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>606</width>
- <height>425</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralwidget" >
- <layout class="QGridLayout" name="gridLayout_3" >
- <item rowspan="3" row="0" column="0" >
- <widget class="QStackedWidget" name="stackedWidget" >
- <property name="palette" >
- <palette>
- <active>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>145</red>
- <green>145</green>
- <blue>145</blue>
- </color>
- </brush>
- </colorrole>
- </active>
- <inactive>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>145</red>
- <green>145</green>
- <blue>145</blue>
- </color>
- </brush>
- </colorrole>
- </inactive>
- <disabled>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>145</red>
- <green>145</green>
- <blue>145</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>145</red>
- <green>145</green>
- <blue>145</blue>
- </color>
- </brush>
- </colorrole>
- </disabled>
- </palette>
- </property>
- <property name="currentIndex" >
- <number>-1</number>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QToolButton" name="startCameraButton" >
- <property name="text" >
- <string>Start camera</string>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <property name="checked" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QGroupBox" name="imageCaptureBox" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- <property name="title" >
- <string>Image Capture</string>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout_2" >
- <item row="0" column="0" >
- <widget class="QPushButton" name="takeImageButton" >
- <property name="text" >
- <string>Take Image</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="lastImagePreviewLabel" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="MinimumExpanding" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string/>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QGroupBox" name="videoCaptureBox" >
- <property name="title" >
- <string>Video Capture</string>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout" >
- <item row="0" column="0" >
- <widget class="QPushButton" name="recordButton" >
- <property name="text" >
- <string>Record</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QPushButton" name="pauseButton" >
- <property name="text" >
- <string>Pause</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QPushButton" name="stopButton" >
- <property name="text" >
- <string>Stop</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0" >
- <spacer name="verticalSpacer" >
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>20</width>
- <height>18</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>606</width>
- <height>19</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile" >
- <property name="title" >
- <string>File</string>
- </property>
- <addaction name="actionExit" />
- </widget>
- <widget class="QMenu" name="menuDevices" >
- <property name="title" >
- <string>Devices</string>
- </property>
- <addaction name="separator" />
- <addaction name="actionSettings" />
- <addaction name="separator" />
- <addaction name="actionCamera" />
- <addaction name="actionAudio" />
- </widget>
- <addaction name="menuFile" />
- <addaction name="menuDevices" />
- </widget>
- <widget class="QStatusBar" name="statusbar" />
- <action name="actionExit" >
- <property name="text" >
- <string>Exit</string>
- </property>
- </action>
- <action name="actionSettings" >
- <property name="text" >
- <string>Settings</string>
- </property>
- </action>
- <action name="actionCamera" >
- <property name="text" >
- <string>Camera</string>
- </property>
- </action>
- <action name="actionAudio" >
- <property name="text" >
- <string>Audio</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>recordButton</sender>
- <signal>clicked()</signal>
- <receiver>CameraCapture</receiver>
- <slot>record()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>554</x>
- <y>280</y>
- </hint>
- <hint type="destinationlabel" >
- <x>61</x>
- <y>238</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>stopButton</sender>
- <signal>clicked()</signal>
- <receiver>CameraCapture</receiver>
- <slot>stop()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>585</x>
- <y>352</y>
- </hint>
- <hint type="destinationlabel" >
- <x>140</x>
- <y>236</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>pauseButton</sender>
- <signal>clicked()</signal>
- <receiver>CameraCapture</receiver>
- <slot>pause()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>585</x>
- <y>316</y>
- </hint>
- <hint type="destinationlabel" >
- <x>234</x>
- <y>237</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>actionExit</sender>
- <signal>triggered()</signal>
- <receiver>CameraCapture</receiver>
- <slot>close()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>-1</x>
- <y>-1</y>
- </hint>
- <hint type="destinationlabel" >
- <x>154</x>
- <y>130</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>actionSettings</sender>
- <signal>triggered()</signal>
- <receiver>CameraCapture</receiver>
- <slot>settings()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>-1</x>
- <y>-1</y>
- </hint>
- <hint type="destinationlabel" >
- <x>242</x>
- <y>206</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>takeImageButton</sender>
- <signal>clicked()</signal>
- <receiver>CameraCapture</receiver>
- <slot>takeImage()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>518</x>
- <y>117</y>
- </hint>
- <hint type="destinationlabel" >
- <x>603</x>
- <y>169</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>startCameraButton</sender>
- <signal>clicked()</signal>
- <receiver>CameraCapture</receiver>
- <slot>toggleCamera()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>545</x>
- <y>51</y>
- </hint>
- <hint type="destinationlabel" >
- <x>589</x>
- <y>46</y>
- </hint>
- </hints>
- </connection>
- </connections>
- <slots>
- <slot>record()</slot>
- <slot>pause()</slot>
- <slot>stop()</slot>
- <slot>enablePreview(bool)</slot>
- <slot>settings()</slot>
- <slot>takeImage()</slot>
- <slot>toggleCamera()</slot>
- </slots>
-</ui>