Qt4 - Open dialog: fix segfault on capture cards and fix the problematic layout on...
[vlc.git] / modules / gui / qt4 / ui / open.ui
1 <ui version="4.0" >
2  <author>Jean-Baptiste Kempf</author>
3  <class>Open</class>
4  <widget class="QWidget" name="Open" >
5   <property name="enabled" >
6    <bool>true</bool>
7   </property>
8   <property name="geometry" >
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>432</width>
13     <height>285</height>
14    </rect>
15   </property>
16   <property name="sizePolicy" >
17    <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
18     <horstretch>0</horstretch>
19     <verstretch>0</verstretch>
20    </sizepolicy>
21   </property>
22   <property name="windowTitle" >
23    <string>Dialog</string>
24   </property>
25   <layout class="QGridLayout" >
26    <item row="0" column="0" colspan="2" >
27     <widget class="QTabWidget" name="Tab" >
28      <property name="sizePolicy" >
29       <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
30        <horstretch>0</horstretch>
31        <verstretch>0</verstretch>
32       </sizepolicy>
33      </property>
34      <property name="currentIndex" >
35       <number>-1</number>
36      </property>
37     </widget>
38    </item>
39    <item row="1" column="0" colspan="2" >
40     <widget class="QCheckBox" name="advancedCheckBox" >
41      <property name="toolTip" >
42       <string>_("Show extended options")</string>
43      </property>
44      <property name="text" >
45       <string>_("Show &amp;more options")</string>
46      </property>
47     </widget>
48    </item>
49    <item row="2" column="0" colspan="2" >
50     <widget class="QFrame" name="advancedFrame" >
51      <property name="sizePolicy" >
52       <sizepolicy vsizetype="MinimumExpanding" hsizetype="Minimum" >
53        <horstretch>0</horstretch>
54        <verstretch>0</verstretch>
55       </sizepolicy>
56      </property>
57      <property name="frameShape" >
58       <enum>QFrame::StyledPanel</enum>
59      </property>
60      <layout class="QGridLayout" >
61       <item row="0" column="2" >
62        <widget class="QLabel" name="label_3" >
63         <property name="text" >
64          <string>_("Start Time")</string>
65         </property>
66        </widget>
67       </item>
68       <item row="0" column="3" colspan="2" >
69        <widget class="QSpinBox" name="startTimeSpinBox" >
70         <property name="sizePolicy" >
71          <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
72           <horstretch>0</horstretch>
73           <verstretch>0</verstretch>
74          </sizepolicy>
75         </property>
76         <property name="toolTip" >
77          <string>_("Change the start time for the media")</string>
78         </property>
79         <property name="alignment" >
80          <set>Qt::AlignRight</set>
81         </property>
82         <property name="suffix" >
83          <string> s</string>
84         </property>
85         <property name="maximum" >
86          <number>999999</number>
87         </property>
88        </widget>
89       </item>
90       <item row="0" column="0" >
91        <widget class="QLabel" name="cacheLabel" >
92         <property name="sizePolicy" >
93          <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
94           <horstretch>0</horstretch>
95           <verstretch>0</verstretch>
96          </sizepolicy>
97         </property>
98         <property name="text" >
99          <string>_("Caching")</string>
100         </property>
101        </widget>
102       </item>
103       <item row="5" column="1" colspan="4" >
104        <widget class="QLineEdit" name="advancedLineInput" >
105         <property name="toolTip" >
106          <string>_("Complete MRL for VLC internal")</string>
107         </property>
108        </widget>
109       </item>
110       <item row="2" column="0" colspan="5" >
111        <widget class="QCheckBox" name="slaveCheckbox" >
112         <property name="text" >
113          <string>_("Play another media synchronously (extra audio file, ...)")</string>
114         </property>
115        </widget>
116       </item>
117       <item row="4" column="1" colspan="4" >
118        <widget class="Line" name="line" >
119         <property name="orientation" >
120          <enum>Qt::Horizontal</enum>
121         </property>
122        </widget>
123       </item>
124       <item row="5" column="0" >
125        <widget class="QLabel" name="advancedLabel" >
126         <property name="text" >
127          <string>_("Customize")</string>
128         </property>
129        </widget>
130       </item>
131       <item row="3" column="0" >
132        <widget class="QLabel" name="slaveLabel" >
133         <property name="text" >
134          <string>_("Extra media")</string>
135         </property>
136        </widget>
137       </item>
138       <item row="3" column="1" colspan="3" >
139        <widget class="QLineEdit" name="slaveText" />
140       </item>
141       <item row="3" column="4" >
142        <widget class="QToolButton" name="slaveBrowseButton" >
143         <property name="toolTip" >
144          <string>_("Select the file")</string>
145         </property>
146         <property name="text" >
147          <string>_("Browse...")</string>
148         </property>
149        </widget>
150       </item>
151       <item row="1" column="1" colspan="4" >
152        <widget class="Line" name="line" >
153         <property name="orientation" >
154          <enum>Qt::Horizontal</enum>
155         </property>
156        </widget>
157       </item>
158       <item row="0" column="1" >
159        <widget class="QSpinBox" name="cacheSpinBox" >
160         <property name="sizePolicy" >
161          <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
162           <horstretch>0</horstretch>
163           <verstretch>0</verstretch>
164          </sizepolicy>
165         </property>
166         <property name="toolTip" >
167          <string>_("Change the caching for the media")</string>
168         </property>
169         <property name="alignment" >
170          <set>Qt::AlignRight</set>
171         </property>
172         <property name="suffix" >
173          <string> ms</string>
174         </property>
175         <property name="maximum" >
176          <number>999999</number>
177         </property>
178        </widget>
179       </item>
180      </layout>
181     </widget>
182    </item>
183    <item row="3" column="0" >
184     <spacer>
185      <property name="orientation" >
186       <enum>Qt::Horizontal</enum>
187      </property>
188      <property name="sizeType" >
189       <enum>QSizePolicy::Minimum</enum>
190      </property>
191      <property name="sizeHint" >
192       <size>
193        <width>240</width>
194        <height>20</height>
195       </size>
196      </property>
197     </spacer>
198    </item>
199    <item row="3" column="1" >
200     <widget class="QDialogButtonBox" name="buttonsBox" >
201      <property name="orientation" >
202       <enum>Qt::Horizontal</enum>
203      </property>
204      <property name="standardButtons" >
205       <set>QDialogButtonBox::NoButton</set>
206      </property>
207     </widget>
208    </item>
209   </layout>
210  </widget>
211  <tabstops>
212   <tabstop>Tab</tabstop>
213   <tabstop>advancedCheckBox</tabstop>
214   <tabstop>cacheSpinBox</tabstop>
215   <tabstop>startTimeSpinBox</tabstop>
216   <tabstop>slaveCheckbox</tabstop>
217   <tabstop>advancedLineInput</tabstop>
218   <tabstop>slaveText</tabstop>
219   <tabstop>slaveBrowseButton</tabstop>
220   <tabstop>buttonsBox</tabstop>
221  </tabstops>
222  <resources/>
223  <connections>
224   <connection>
225    <sender>slaveCheckbox</sender>
226    <signal>clicked(bool)</signal>
227    <receiver>slaveLabel</receiver>
228    <slot>setVisible(bool)</slot>
229    <hints>
230     <hint type="sourcelabel" >
231      <x>54</x>
232      <y>384</y>
233     </hint>
234     <hint type="destinationlabel" >
235      <x>63</x>
236      <y>410</y>
237     </hint>
238    </hints>
239   </connection>
240   <connection>
241    <sender>slaveCheckbox</sender>
242    <signal>clicked(bool)</signal>
243    <receiver>slaveText</receiver>
244    <slot>setVisible(bool)</slot>
245    <hints>
246     <hint type="sourcelabel" >
247      <x>127</x>
248      <y>387</y>
249     </hint>
250     <hint type="destinationlabel" >
251      <x>136</x>
252      <y>406</y>
253     </hint>
254    </hints>
255   </connection>
256   <connection>
257    <sender>slaveCheckbox</sender>
258    <signal>clicked(bool)</signal>
259    <receiver>slaveBrowseButton</receiver>
260    <slot>setVisible(bool)</slot>
261    <hints>
262     <hint type="sourcelabel" >
263      <x>219</x>
264      <y>102</y>
265     </hint>
266     <hint type="destinationlabel" >
267      <x>386</x>
268      <y>131</y>
269     </hint>
270    </hints>
271   </connection>
272  </connections>
273 </ui>