]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/open.ui
Change button layout and behaviour in the open dialog. This avoid the Windows issue...
[vlc] / 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>518</width>
13     <height>300</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="3" >
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="3" >
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="3" >
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="0" >
62        <widget class="QLabel" name="cacheLabel" >
63         <property name="text" >
64          <string>_("Caching")</string>
65         </property>
66        </widget>
67       </item>
68       <item row="0" column="1" >
69        <widget class="QSpinBox" name="cacheSpinBox" >
70         <property name="toolTip" >
71          <string>_("Change the caching for the media")</string>
72         </property>
73         <property name="alignment" >
74          <set>Qt::AlignRight</set>
75         </property>
76         <property name="suffix" >
77          <string> ms</string>
78         </property>
79         <property name="maximum" >
80          <number>999999</number>
81         </property>
82        </widget>
83       </item>
84       <item row="0" column="2" >
85        <spacer>
86         <property name="orientation" >
87          <enum>Qt::Horizontal</enum>
88         </property>
89         <property name="sizeHint" >
90          <size>
91           <width>16</width>
92           <height>24</height>
93          </size>
94         </property>
95        </spacer>
96       </item>
97       <item row="0" column="3" >
98        <widget class="QLabel" name="label_3" >
99         <property name="text" >
100          <string>_("Start Time")</string>
101         </property>
102        </widget>
103       </item>
104       <item row="0" column="4" colspan="2" >
105        <widget class="QSpinBox" name="startTimeSpinBox" >
106         <property name="toolTip" >
107          <string>_("Change the start time for the media")</string>
108         </property>
109         <property name="alignment" >
110          <set>Qt::AlignRight</set>
111         </property>
112         <property name="suffix" >
113          <string> s</string>
114         </property>
115         <property name="maximum" >
116          <number>999999</number>
117         </property>
118        </widget>
119       </item>
120       <item row="0" column="6" >
121        <spacer>
122         <property name="orientation" >
123          <enum>Qt::Horizontal</enum>
124         </property>
125         <property name="sizeHint" >
126          <size>
127           <width>40</width>
128           <height>20</height>
129          </size>
130         </property>
131        </spacer>
132       </item>
133       <item row="1" column="1" colspan="6" >
134        <widget class="Line" name="line" >
135         <property name="orientation" >
136          <enum>Qt::Horizontal</enum>
137         </property>
138        </widget>
139       </item>
140       <item row="2" column="0" colspan="7" >
141        <widget class="QCheckBox" name="slaveCheckbox" >
142         <property name="text" >
143          <string>_("Play another media synchronously (extra audio file, ...)")</string>
144         </property>
145        </widget>
146       </item>
147       <item row="3" column="0" >
148        <widget class="QLabel" name="slaveLabel" >
149         <property name="text" >
150          <string>_("Extra media")</string>
151         </property>
152        </widget>
153       </item>
154       <item row="3" column="1" colspan="4" >
155        <widget class="QLineEdit" name="slaveText" />
156       </item>
157       <item row="3" column="5" colspan="2" >
158        <widget class="QPushButton" name="slaveBrowseButton" >
159         <property name="toolTip" >
160          <string>_("Select the file")</string>
161         </property>
162         <property name="text" >
163          <string>_("Browse...")</string>
164         </property>
165        </widget>
166       </item>
167       <item row="4" column="1" colspan="6" >
168        <widget class="Line" name="line" >
169         <property name="orientation" >
170          <enum>Qt::Horizontal</enum>
171         </property>
172        </widget>
173       </item>
174       <item row="5" column="0" >
175        <widget class="QLabel" name="advancedLabel" >
176         <property name="text" >
177          <string>_("Customize")</string>
178         </property>
179        </widget>
180       </item>
181       <item row="5" column="1" colspan="6" >
182        <widget class="QLineEdit" name="advancedLineInput" >
183         <property name="toolTip" >
184          <string>_("Complete MRL for VLC internal")</string>
185         </property>
186        </widget>
187       </item>
188      </layout>
189     </widget>
190    </item>
191    <item row="3" column="0" >
192     <spacer>
193      <property name="orientation" >
194       <enum>Qt::Horizontal</enum>
195      </property>
196      <property name="sizeType" >
197       <enum>QSizePolicy::MinimumExpanding</enum>
198      </property>
199      <property name="sizeHint" >
200       <size>
201        <width>151</width>
202        <height>20</height>
203       </size>
204      </property>
205     </spacer>
206    </item>
207    <item row="3" column="1" >
208     <layout class="QHBoxLayout" >
209      <property name="spacing" >
210       <number>0</number>
211      </property>
212      <item>
213       <widget class="QPushButton" name="menuButton" >
214        <property name="sizePolicy" >
215         <sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
216          <horstretch>0</horstretch>
217          <verstretch>0</verstretch>
218         </sizepolicy>
219        </property>
220        <property name="maximumSize" >
221         <size>
222          <width>20</width>
223          <height>16777215</height>
224         </size>
225        </property>
226        <property name="focusPolicy" >
227         <enum>Qt::ClickFocus</enum>
228        </property>
229        <property name="contextMenuPolicy" >
230         <enum>Qt::NoContextMenu</enum>
231        </property>
232        <property name="autoDefault" >
233         <bool>true</bool>
234        </property>
235       </widget>
236      </item>
237      <item>
238       <widget class="QPushButton" name="playButton" >
239        <property name="sizePolicy" >
240         <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
241          <horstretch>0</horstretch>
242          <verstretch>0</verstretch>
243         </sizepolicy>
244        </property>
245        <property name="text" >
246         <string>Play</string>
247        </property>
248        <property name="default" >
249         <bool>true</bool>
250        </property>
251       </widget>
252      </item>
253     </layout>
254    </item>
255    <item row="3" column="2" >
256     <widget class="QDialogButtonBox" name="buttonsBox" >
257      <property name="sizePolicy" >
258       <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
259        <horstretch>0</horstretch>
260        <verstretch>0</verstretch>
261       </sizepolicy>
262      </property>
263      <property name="orientation" >
264       <enum>Qt::Horizontal</enum>
265      </property>
266      <property name="standardButtons" >
267       <set>QDialogButtonBox::NoButton</set>
268      </property>
269     </widget>
270    </item>
271   </layout>
272  </widget>
273  <tabstops>
274   <tabstop>Tab</tabstop>
275   <tabstop>advancedCheckBox</tabstop>
276   <tabstop>cacheSpinBox</tabstop>
277   <tabstop>startTimeSpinBox</tabstop>
278   <tabstop>slaveCheckbox</tabstop>
279   <tabstop>advancedLineInput</tabstop>
280   <tabstop>slaveText</tabstop>
281   <tabstop>slaveBrowseButton</tabstop>
282   <tabstop>buttonsBox</tabstop>
283  </tabstops>
284  <resources/>
285  <connections>
286   <connection>
287    <sender>slaveCheckbox</sender>
288    <signal>clicked(bool)</signal>
289    <receiver>slaveLabel</receiver>
290    <slot>setVisible(bool)</slot>
291    <hints>
292     <hint type="sourcelabel" >
293      <x>54</x>
294      <y>384</y>
295     </hint>
296     <hint type="destinationlabel" >
297      <x>63</x>
298      <y>410</y>
299     </hint>
300    </hints>
301   </connection>
302   <connection>
303    <sender>slaveCheckbox</sender>
304    <signal>clicked(bool)</signal>
305    <receiver>slaveText</receiver>
306    <slot>setVisible(bool)</slot>
307    <hints>
308     <hint type="sourcelabel" >
309      <x>127</x>
310      <y>387</y>
311     </hint>
312     <hint type="destinationlabel" >
313      <x>136</x>
314      <y>406</y>
315     </hint>
316    </hints>
317   </connection>
318   <connection>
319    <sender>slaveCheckbox</sender>
320    <signal>clicked(bool)</signal>
321    <receiver>slaveBrowseButton</receiver>
322    <slot>setVisible(bool)</slot>
323    <hints>
324     <hint type="sourcelabel" >
325      <x>219</x>
326      <y>102</y>
327     </hint>
328     <hint type="destinationlabel" >
329      <x>386</x>
330      <y>131</y>
331     </hint>
332    </hints>
333   </connection>
334  </connections>
335 </ui>