Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tools / qmlviewer / recopts.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>RecordingOptions</class>
4  <widget class="QDialog" name="RecordingOptions">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>316</width>
10     <height>436</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Video options</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout_3">
19      <item>
20       <widget class="QLabel" name="label">
21        <property name="sizePolicy">
22         <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
23          <horstretch>0</horstretch>
24          <verstretch>0</verstretch>
25         </sizepolicy>
26        </property>
27        <property name="text">
28         <string>File:</string>
29        </property>
30       </widget>
31      </item>
32      <item>
33       <widget class="QLineEdit" name="file"/>
34      </item>
35      <item>
36       <widget class="QToolButton" name="pickfile">
37        <property name="text">
38         <string>...</string>
39        </property>
40       </widget>
41      </item>
42     </layout>
43    </item>
44    <item>
45     <widget class="QGroupBox" name="groupBox">
46      <property name="title">
47       <string>Size</string>
48      </property>
49      <layout class="QGridLayout" name="gridLayout_2">
50       <item row="0" column="0">
51        <widget class="QRadioButton" name="sizeOriginal">
52         <property name="text">
53          <string/>
54         </property>
55         <property name="checked">
56          <bool>true</bool>
57         </property>
58        </widget>
59       </item>
60       <item row="0" column="1">
61        <widget class="QRadioButton" name="sizeVGA">
62         <property name="text">
63          <string>VGA</string>
64         </property>
65        </widget>
66       </item>
67       <item row="1" column="0">
68        <widget class="QRadioButton" name="size720p">
69         <property name="text">
70          <string>720p</string>
71         </property>
72        </widget>
73       </item>
74       <item row="1" column="1">
75        <widget class="QRadioButton" name="sizeQVGA">
76         <property name="text">
77          <string>QVGA</string>
78         </property>
79        </widget>
80       </item>
81       <item row="2" column="0" colspan="3">
82        <layout class="QHBoxLayout" name="horizontalLayout_2">
83         <item>
84          <widget class="QRadioButton" name="sizeCustom">
85           <property name="text">
86            <string>Width:</string>
87           </property>
88          </widget>
89         </item>
90         <item>
91          <widget class="QSpinBox" name="sizeWidth">
92           <property name="minimum">
93            <number>1</number>
94           </property>
95           <property name="maximum">
96            <number>9999</number>
97           </property>
98          </widget>
99         </item>
100         <item>
101          <widget class="QLabel" name="label_2">
102           <property name="sizePolicy">
103            <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
104             <horstretch>0</horstretch>
105             <verstretch>0</verstretch>
106            </sizepolicy>
107           </property>
108           <property name="text">
109            <string>Height:</string>
110           </property>
111          </widget>
112         </item>
113         <item>
114          <widget class="QSpinBox" name="sizeHeight">
115           <property name="minimum">
116            <number>1</number>
117           </property>
118           <property name="maximum">
119            <number>9999</number>
120           </property>
121          </widget>
122         </item>
123         <item>
124          <spacer name="horizontalSpacer_3">
125           <property name="orientation">
126            <enum>Qt::Horizontal</enum>
127           </property>
128           <property name="sizeType">
129            <enum>QSizePolicy::MinimumExpanding</enum>
130           </property>
131           <property name="sizeHint" stdset="0">
132            <size>
133             <width>40</width>
134             <height>20</height>
135            </size>
136           </property>
137          </spacer>
138         </item>
139        </layout>
140       </item>
141       <item row="0" column="2">
142        <spacer name="horizontalSpacer_4">
143         <property name="orientation">
144          <enum>Qt::Horizontal</enum>
145         </property>
146         <property name="sizeType">
147          <enum>QSizePolicy::MinimumExpanding</enum>
148         </property>
149         <property name="sizeHint" stdset="0">
150          <size>
151           <width>40</width>
152           <height>20</height>
153          </size>
154         </property>
155        </spacer>
156       </item>
157      </layout>
158     </widget>
159    </item>
160    <item>
161     <widget class="QGroupBox" name="rateOptions">
162      <property name="title">
163       <string>Rate</string>
164      </property>
165      <layout class="QGridLayout" name="gridLayout_4">
166       <item row="0" column="0">
167        <widget class="QRadioButton" name="hz60">
168         <property name="sizePolicy">
169          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
170           <horstretch>0</horstretch>
171           <verstretch>0</verstretch>
172          </sizepolicy>
173         </property>
174         <property name="text">
175          <string>60Hz</string>
176         </property>
177         <property name="checked">
178          <bool>true</bool>
179         </property>
180        </widget>
181       </item>
182       <item row="1" column="0">
183        <widget class="QRadioButton" name="hz50">
184         <property name="text">
185          <string>50Hz</string>
186         </property>
187        </widget>
188       </item>
189       <item row="0" column="2">
190        <widget class="QRadioButton" name="hz25">
191         <property name="text">
192          <string>25Hz</string>
193         </property>
194        </widget>
195       </item>
196       <item row="2" column="0" colspan="4">
197        <layout class="QHBoxLayout" name="horizontalLayout">
198         <property name="spacing">
199          <number>0</number>
200         </property>
201         <item>
202          <widget class="QRadioButton" name="hzCustom">
203           <property name="text">
204            <string/>
205           </property>
206          </widget>
207         </item>
208         <item>
209          <widget class="QLineEdit" name="hz">
210           <property name="sizePolicy">
211            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
212             <horstretch>0</horstretch>
213             <verstretch>0</verstretch>
214            </sizepolicy>
215           </property>
216           <property name="minimumSize">
217            <size>
218             <width>60</width>
219             <height>0</height>
220            </size>
221           </property>
222           <property name="maximumSize">
223            <size>
224             <width>100</width>
225             <height>16777215</height>
226            </size>
227           </property>
228          </widget>
229         </item>
230         <item>
231          <widget class="QLabel" name="label_3">
232           <property name="text">
233            <string>Hz</string>
234           </property>
235          </widget>
236         </item>
237         <item>
238          <spacer name="horizontalSpacer_2">
239           <property name="orientation">
240            <enum>Qt::Horizontal</enum>
241           </property>
242           <property name="sizeType">
243            <enum>QSizePolicy::MinimumExpanding</enum>
244           </property>
245           <property name="sizeHint" stdset="0">
246            <size>
247             <width>40</width>
248             <height>20</height>
249            </size>
250           </property>
251          </spacer>
252         </item>
253        </layout>
254       </item>
255       <item row="1" column="2">
256        <widget class="QRadioButton" name="hz24">
257         <property name="text">
258          <string>24Hz</string>
259         </property>
260        </widget>
261       </item>
262       <item row="0" column="3">
263        <spacer name="horizontalSpacer">
264         <property name="orientation">
265          <enum>Qt::Horizontal</enum>
266         </property>
267         <property name="sizeType">
268          <enum>QSizePolicy::MinimumExpanding</enum>
269         </property>
270         <property name="sizeHint" stdset="0">
271          <size>
272           <width>40</width>
273           <height>20</height>
274          </size>
275         </property>
276        </spacer>
277       </item>
278       <item row="0" column="1">
279        <spacer name="horizontalSpacer_5">
280         <property name="orientation">
281          <enum>Qt::Horizontal</enum>
282         </property>
283         <property name="sizeType">
284          <enum>QSizePolicy::Fixed</enum>
285         </property>
286         <property name="sizeHint" stdset="0">
287          <size>
288           <width>20</width>
289           <height>20</height>
290          </size>
291         </property>
292        </spacer>
293       </item>
294      </layout>
295     </widget>
296    </item>
297    <item>
298     <widget class="QGroupBox" name="ffmpegOptions">
299      <property name="title">
300       <string>Profile</string>
301      </property>
302      <layout class="QGridLayout" name="gridLayout_3">
303       <item row="0" column="0" colspan="3">
304        <widget class="QComboBox" name="profile"/>
305       </item>
306       <item row="1" column="0" colspan="2">
307        <widget class="QLineEdit" name="args"/>
308       </item>
309       <item row="1" column="2">
310        <widget class="QToolButton" name="ffmpegHelp">
311         <property name="text">
312          <string>Help</string>
313         </property>
314        </widget>
315       </item>
316      </layout>
317     </widget>
318    </item>
319    <item>
320     <widget class="QLabel" name="warning">
321      <property name="text">
322       <string/>
323      </property>
324     </widget>
325    </item>
326    <item>
327     <widget class="QDialogButtonBox" name="buttonBox">
328      <property name="orientation">
329       <enum>Qt::Horizontal</enum>
330      </property>
331      <property name="standardButtons">
332       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
333      </property>
334     </widget>
335    </item>
336   </layout>
337  </widget>
338  <tabstops>
339   <tabstop>file</tabstop>
340   <tabstop>pickfile</tabstop>
341   <tabstop>sizeOriginal</tabstop>
342   <tabstop>sizeVGA</tabstop>
343   <tabstop>size720p</tabstop>
344   <tabstop>sizeQVGA</tabstop>
345   <tabstop>sizeCustom</tabstop>
346   <tabstop>sizeWidth</tabstop>
347   <tabstop>sizeHeight</tabstop>
348   <tabstop>hz60</tabstop>
349   <tabstop>hz25</tabstop>
350   <tabstop>hz50</tabstop>
351   <tabstop>hz24</tabstop>
352   <tabstop>hzCustom</tabstop>
353   <tabstop>hz</tabstop>
354   <tabstop>profile</tabstop>
355   <tabstop>args</tabstop>
356   <tabstop>ffmpegHelp</tabstop>
357   <tabstop>buttonBox</tabstop>
358  </tabstops>
359  <resources/>
360  <connections>
361   <connection>
362    <sender>hzCustom</sender>
363    <signal>clicked()</signal>
364    <receiver>hz</receiver>
365    <slot>setFocus()</slot>
366    <hints>
367     <hint type="sourcelabel">
368      <x>43</x>
369      <y>257</y>
370     </hint>
371     <hint type="destinationlabel">
372      <x>129</x>
373      <y>262</y>
374     </hint>
375    </hints>
376   </connection>
377   <connection>
378    <sender>hz</sender>
379    <signal>textChanged(QString)</signal>
380    <receiver>hzCustom</receiver>
381    <slot>toggle()</slot>
382    <hints>
383     <hint type="sourcelabel">
384      <x>143</x>
385      <y>262</y>
386     </hint>
387     <hint type="destinationlabel">
388      <x>43</x>
389      <y>257</y>
390     </hint>
391    </hints>
392   </connection>
393   <connection>
394    <sender>hz</sender>
395    <signal>selectionChanged()</signal>
396    <receiver>hzCustom</receiver>
397    <slot>toggle()</slot>
398    <hints>
399     <hint type="sourcelabel">
400      <x>143</x>
401      <y>262</y>
402     </hint>
403     <hint type="destinationlabel">
404      <x>43</x>
405      <y>257</y>
406     </hint>
407    </hints>
408   </connection>
409   <connection>
410    <sender>buttonBox</sender>
411    <signal>accepted()</signal>
412    <receiver>RecordingOptions</receiver>
413    <slot>accept()</slot>
414    <hints>
415     <hint type="sourcelabel">
416      <x>258</x>
417      <y>424</y>
418     </hint>
419     <hint type="destinationlabel">
420      <x>60</x>
421      <y>219</y>
422     </hint>
423    </hints>
424   </connection>
425   <connection>
426    <sender>buttonBox</sender>
427    <signal>rejected()</signal>
428    <receiver>RecordingOptions</receiver>
429    <slot>reject()</slot>
430    <hints>
431     <hint type="sourcelabel">
432      <x>258</x>
433      <y>424</y>
434     </hint>
435     <hint type="destinationlabel">
436      <x>92</x>
437      <y>219</y>
438     </hint>
439    </hints>
440   </connection>
441   <connection>
442    <sender>profile</sender>
443    <signal>activated(int)</signal>
444    <receiver>RecordingOptions</receiver>
445    <slot>pickProfile(int)</slot>
446    <hints>
447     <hint type="sourcelabel">
448      <x>92</x>
449      <y>329</y>
450     </hint>
451     <hint type="destinationlabel">
452      <x>48</x>
453      <y>194</y>
454     </hint>
455    </hints>
456   </connection>
457   <connection>
458    <sender>args</sender>
459    <signal>textEdited(QString)</signal>
460    <receiver>RecordingOptions</receiver>
461    <slot>storeCustomArgs(QString)</slot>
462    <hints>
463     <hint type="sourcelabel">
464      <x>128</x>
465      <y>357</y>
466     </hint>
467     <hint type="destinationlabel">
468      <x>102</x>
469      <y>189</y>
470     </hint>
471    </hints>
472   </connection>
473   <connection>
474    <sender>sizeWidth</sender>
475    <signal>valueChanged(int)</signal>
476    <receiver>sizeCustom</receiver>
477    <slot>toggle()</slot>
478    <hints>
479     <hint type="sourcelabel">
480      <x>108</x>
481      <y>133</y>
482     </hint>
483     <hint type="destinationlabel">
484      <x>48</x>
485      <y>133</y>
486     </hint>
487    </hints>
488   </connection>
489   <connection>
490    <sender>sizeHeight</sender>
491    <signal>valueChanged(int)</signal>
492    <receiver>sizeCustom</receiver>
493    <slot>toggle()</slot>
494    <hints>
495     <hint type="sourcelabel">
496      <x>212</x>
497      <y>133</y>
498     </hint>
499     <hint type="destinationlabel">
500      <x>64</x>
501      <y>129</y>
502     </hint>
503    </hints>
504   </connection>
505  </connections>
506  <slots>
507   <signal>filePicked(QString)</signal>
508   <signal>argumentsPicked(QString)</signal>
509   <slot>pickFile()</slot>
510   <slot>pickProfile(int)</slot>
511   <slot>storeCustomArgs(QString)</slot>
512  </slots>
513 </ui>