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