Qt: Change open dialog behaviour and layout in most categories.
[vlc.git] / modules / gui / qt4 / ui / open_file.ui
1 <ui version="4.0" >
2  <author>Jean-Baptiste Kempf</author>
3  <class>OpenFile</class>
4  <widget class="QWidget" name="OpenFile" >
5   <property name="geometry" >
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>519</width>
10     <height>282</height>
11    </rect>
12   </property>
13   <property name="sizePolicy" >
14    <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle" >
20    <string>_("Open File")</string>
21   </property>
22   <layout class="QVBoxLayout" name="verticalLayout" >
23    <item>
24     <widget class="QGroupBox" name="tempWidget" >
25      <property name="toolTip" >
26       <string>_("Choose one or more media file to open")</string>
27      </property>
28      <property name="title" >
29       <string>_("Select one or more files")</string>
30      </property>
31      <layout class="QGridLayout" name="gridLayout" >
32       <item rowspan="2" row="0" column="0" >
33        <widget class="QListWidget" name="fileListWidg" >
34         <property name="maximumSize" >
35          <size>
36           <width>16777215</width>
37           <height>100</height>
38          </size>
39         </property>
40         <property name="contextMenuPolicy" >
41          <enum>Qt::DefaultContextMenu</enum>
42         </property>
43         <property name="verticalScrollBarPolicy" >
44          <enum>Qt::ScrollBarAsNeeded</enum>
45         </property>
46         <property name="horizontalScrollBarPolicy" >
47          <enum>Qt::ScrollBarAlwaysOff</enum>
48         </property>
49         <property name="editTriggers" >
50          <set>QAbstractItemView::AllEditTriggers</set>
51         </property>
52         <property name="alternatingRowColors" >
53          <bool>true</bool>
54         </property>
55         <property name="selectionMode" >
56          <enum>QAbstractItemView::NoSelection</enum>
57         </property>
58         <property name="selectionBehavior" >
59          <enum>QAbstractItemView::SelectItems</enum>
60         </property>
61        </widget>
62       </item>
63       <item row="0" column="1" >
64        <widget class="QPushButton" name="fileBrowseButton" >
65         <property name="minimumSize" >
66          <size>
67           <width>100</width>
68           <height>0</height>
69          </size>
70         </property>
71         <property name="toolTip" >
72          <string>_("Select the subtitles file")</string>
73         </property>
74         <property name="text" >
75          <string>_("Browse...")</string>
76         </property>
77        </widget>
78       </item>
79      </layout>
80     </widget>
81    </item>
82    <item>
83     <widget class="QCheckBox" name="subCheckBox" >
84      <property name="toolTip" >
85       <string>_("Add a subtitles file")</string>
86      </property>
87      <property name="text" >
88       <string>_("Use a sub&amp;titles file")</string>
89      </property>
90     </widget>
91    </item>
92    <item>
93     <widget class="QFrame" name="subFrame" >
94      <property name="sizePolicy" >
95       <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
96        <horstretch>0</horstretch>
97        <verstretch>0</verstretch>
98       </sizepolicy>
99      </property>
100      <property name="frameShape" >
101       <enum>QFrame::StyledPanel</enum>
102      </property>
103      <layout class="QGridLayout" name="gridLayout_2" >
104       <item row="1" column="0" >
105        <spacer>
106         <property name="orientation" >
107          <enum>Qt::Horizontal</enum>
108         </property>
109         <property name="sizeHint" stdset="0" >
110          <size>
111           <width>16</width>
112           <height>20</height>
113          </size>
114         </property>
115        </spacer>
116       </item>
117       <item row="1" column="3" >
118        <spacer>
119         <property name="orientation" >
120          <enum>Qt::Horizontal</enum>
121         </property>
122         <property name="sizeHint" stdset="0" >
123          <size>
124           <width>30</width>
125           <height>26</height>
126          </size>
127         </property>
128        </spacer>
129       </item>
130       <item row="1" column="7" >
131        <spacer>
132         <property name="orientation" >
133          <enum>Qt::Horizontal</enum>
134         </property>
135         <property name="sizeHint" stdset="0" >
136          <size>
137           <width>16</width>
138           <height>20</height>
139          </size>
140         </property>
141        </spacer>
142       </item>
143       <item row="1" column="1" >
144        <widget class="QLabel" name="sizeSubLabel" >
145         <property name="sizePolicy" >
146          <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
147           <horstretch>0</horstretch>
148           <verstretch>0</verstretch>
149          </sizepolicy>
150         </property>
151         <property name="text" >
152          <string>_("Size:")</string>
153         </property>
154         <property name="buddy" >
155          <cstring>sizeSubComboBox</cstring>
156         </property>
157        </widget>
158       </item>
159       <item row="1" column="2" >
160        <widget class="QComboBox" name="sizeSubComboBox" >
161         <property name="minimumSize" >
162          <size>
163           <width>100</width>
164           <height>0</height>
165          </size>
166         </property>
167        </widget>
168       </item>
169       <item row="1" column="4" >
170        <widget class="QLabel" name="alignSubLabel" >
171         <property name="sizePolicy" >
172          <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
173           <horstretch>0</horstretch>
174           <verstretch>0</verstretch>
175          </sizepolicy>
176         </property>
177         <property name="text" >
178          <string>_("Alignment:")</string>
179         </property>
180         <property name="buddy" >
181          <cstring>alignSubComboBox</cstring>
182         </property>
183        </widget>
184       </item>
185       <item row="1" column="5" colspan="2" >
186        <widget class="QComboBox" name="alignSubComboBox" >
187         <property name="minimumSize" >
188          <size>
189           <width>100</width>
190           <height>0</height>
191          </size>
192         </property>
193        </widget>
194       </item>
195       <item row="0" column="0" colspan="6" >
196        <widget class="QLineEdit" name="subInput" />
197       </item>
198       <item row="0" column="6" colspan="2" >
199        <widget class="QPushButton" name="subBrowseButton" >
200         <property name="minimumSize" >
201          <size>
202           <width>100</width>
203           <height>0</height>
204          </size>
205         </property>
206         <property name="toolTip" >
207          <string>_("Select the subtitles file")</string>
208         </property>
209         <property name="text" >
210          <string>_("Browse...")</string>
211         </property>
212        </widget>
213       </item>
214      </layout>
215     </widget>
216    </item>
217    <item>
218     <spacer>
219      <property name="orientation" >
220       <enum>Qt::Vertical</enum>
221      </property>
222      <property name="sizeType" >
223       <enum>QSizePolicy::MinimumExpanding</enum>
224      </property>
225      <property name="sizeHint" stdset="0" >
226       <size>
227        <width>273</width>
228        <height>16</height>
229       </size>
230      </property>
231     </spacer>
232    </item>
233   </layout>
234  </widget>
235  <tabstops>
236   <tabstop>fileListWidg</tabstop>
237   <tabstop>fileBrowseButton</tabstop>
238   <tabstop>subCheckBox</tabstop>
239   <tabstop>subInput</tabstop>
240   <tabstop>subBrowseButton</tabstop>
241   <tabstop>sizeSubComboBox</tabstop>
242   <tabstop>alignSubComboBox</tabstop>
243  </tabstops>
244  <resources/>
245  <connections/>
246 </ui>