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