]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/open_file.ui
Accelerate the network port SpinBox chooser.
[vlc] / modules / gui / qt4 / ui / open_file.ui
index e2af5cdb6227bd9de2e615da9a424b6c1b31f907..4a686db2b70cc014f0338cce1399dd53138747f9 100644 (file)
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>433</width>
-    <height>421</height>
+    <width>530</width>
+    <height>216</height>
    </rect>
   </property>
+  <property name="sizePolicy" >
+   <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
   <property name="windowTitle" >
-   <string>Form</string>
+   <string>_("Open File")</string>
   </property>
-  <layout class="QVBoxLayout" >
-   <property name="margin" >
-    <number>9</number>
-   </property>
-   <property name="spacing" >
-    <number>6</number>
-   </property>
-   <item>
-    <widget class="QGroupBox" name="fileGroupBox" >
-     <property name="title" >
-      <string>Media File</string>
+  <layout class="QGridLayout" >
+   <item row="0" column="0" >
+    <widget class="QWidget" native="1" name="tempWidget" >
+     <property name="toolTip" >
+      <string>_("Choose one or more media file to open")</string>
      </property>
-     <layout class="QHBoxLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item>
-       <widget class="QLabel" name="fileOpenLabel" >
-        <property name="sizePolicy" >
-         <sizepolicy>
-          <hsizetype>5</hsizetype>
-          <vsizetype>1</vsizetype>
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="text" >
-         <string>Open:</string>
-        </property>
-       </widget>
-      </item>
-      <item>
+    </widget>
+   </item>
+   <item row="1" column="0" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Fixed</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>273</width>
+       <height>16</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="2" column="0" >
+    <widget class="QCheckBox" name="subCheckBox" >
+     <property name="toolTip" >
+      <string>_("Add a subtitles file")</string>
+     </property>
+     <property name="text" >
+      <string>_("Use a sub&amp;titles file")</string>
+     </property>
+    </widget>
+   </item>
+   <item row="3" column="0" >
+    <widget class="QFrame" name="subFrame" >
+     <property name="sizePolicy" >
+      <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="frameShape" >
+      <enum>QFrame::StyledPanel</enum>
+     </property>
+     <layout class="QGridLayout" >
+      <item row="1" column="0" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Minimum</enum>
-        </property>
-        <property name="sizeHint" >
+        <property name="sizeHint" stdset="0" >
          <size>
           <width>16</width>
-          <height>51</height>
+          <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
-      <item>
-       <widget class="QComboBox" name="fileInput" >
+      <item row="1" column="1" >
+       <widget class="QLabel" name="sizeSubLabel" >
         <property name="sizePolicy" >
-         <sizepolicy>
-          <hsizetype>7</hsizetype>
-          <vsizetype>0</vsizetype>
+         <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
-        <property name="editable" >
-         <bool>true</bool>
+        <property name="text" >
+         <string>_("Size:")</string>
         </property>
-        <property name="maxVisibleItems" >
-         <number>7</number>
+       </widget>
+      </item>
+      <item row="1" column="2" >
+       <widget class="QComboBox" name="sizeSubComboBox" >
+        <property name="minimumSize" >
+         <size>
+          <width>100</width>
+          <height>0</height>
+         </size>
         </property>
        </widget>
       </item>
-      <item>
+      <item row="1" column="3" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Minimum</enum>
-        </property>
-        <property name="sizeHint" >
+        <property name="sizeHint" stdset="0" >
          <size>
-          <width>16</width>
-          <height>51</height>
+          <width>30</width>
+          <height>26</height>
          </size>
         </property>
        </spacer>
       </item>
-      <item>
-       <widget class="QPushButton" name="fileBrowseButton" >
+      <item row="1" column="4" >
+       <widget class="QLabel" name="alignSubLabel" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <property name="text" >
-         <string>Browse</string>
+         <string>_("Alignment:")</string>
         </property>
        </widget>
       </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="subGroupBox" >
-     <property name="title" >
-      <string>Subtitles</string>
-     </property>
-     <property name="checkable" >
-      <bool>true</bool>
-     </property>
-     <property name="checked" >
-      <bool>false</bool>
-     </property>
-     <layout class="QVBoxLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item>
-       <layout class="QHBoxLayout" >
-        <property name="margin" >
-         <number>0</number>
-        </property>
-        <property name="spacing" >
-         <number>6</number>
-        </property>
-        <item>
-         <widget class="QLabel" name="subOpenLabel" >
-          <property name="text" >
-           <string>Open:</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeType" >
-           <enum>QSizePolicy::Minimum</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>16</width>
-            <height>51</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-        <item>
-         <widget class="QComboBox" name="subInput" >
-          <property name="sizePolicy" >
-           <sizepolicy>
-            <hsizetype>7</hsizetype>
-            <vsizetype>0</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <property name="editable" >
-           <bool>true</bool>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeType" >
-           <enum>QSizePolicy::Fixed</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>16</width>
-            <height>51</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-        <item>
-         <widget class="QPushButton" name="subBrowseButton" >
-          <property name="text" >
-           <string>Browse</string>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-      <item>
-       <layout class="QHBoxLayout" >
-        <property name="margin" >
-         <number>0</number>
-        </property>
-        <property name="spacing" >
-         <number>6</number>
-        </property>
-        <item>
-         <widget class="QLabel" name="sizeSubLabel" >
-          <property name="text" >
-           <string>Size:</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QComboBox" name="sizeSubComboBox" >
-          <item>
-           <property name="text" >
-            <string>Very Small</string>
-           </property>
-          </item>
-          <item>
-           <property name="text" >
-            <string>Small</string>
-           </property>
-          </item>
-          <item>
-           <property name="text" >
-            <string>Normal</string>
-           </property>
-          </item>
-          <item>
-           <property name="text" >
-            <string>Big</string>
-           </property>
-          </item>
-          <item>
-           <property name="text" >
-            <string>Very Big</string>
-           </property>
-          </item>
-         </widget>
-        </item>
-        <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>16</width>
-            <height>28</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-        <item>
-         <widget class="QLabel" name="alignSubLabel" >
-          <property name="text" >
-           <string>Alignment:</string>
-          </property>
-          <property name="buddy" >
-           <cstring>alignSubLabel</cstring>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QComboBox" name="alignSubComboBox" >
-          <property name="currentIndex" >
-           <number>0</number>
-          </property>
-          <property name="insertPolicy" >
-           <enum>QComboBox::NoInsert</enum>
-          </property>
-          <property name="minimumContentsLength" >
-           <number>0</number>
-          </property>
-          <item>
-           <property name="text" >
-            <string>Left</string>
-           </property>
-          </item>
-          <item>
-           <property name="text" >
-            <string>Center</string>
-           </property>
-          </item>
-          <item>
-           <property name="text" >
-            <string>Right</string>
-           </property>
-          </item>
-         </widget>
-        </item>
-        <item>
-         <spacer>
-          <property name="orientation" >
-           <enum>Qt::Horizontal</enum>
-          </property>
-          <property name="sizeHint" >
-           <size>
-            <width>16</width>
-            <height>28</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
-        <item>
-         <widget class="QToolButton" name="optionsSubButton" >
-          <property name="text" >
-           <string>Options</string>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <layout class="QHBoxLayout" >
-     <property name="margin" >
-      <number>0</number>
-     </property>
-     <property name="spacing" >
-      <number>6</number>
-     </property>
-     <item>
-      <widget class="QPushButton" name="extraAudioButton" >
-       <property name="text" >
-        <string>Extra Audio...</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" >
-        <size>
-         <width>40</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-    </layout>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="audioGroupBox" >
-     <property name="enabled" >
-      <bool>true</bool>
-     </property>
-     <property name="title" >
-      <string>Extra Audio File</string>
-     </property>
-     <property name="checkable" >
-      <bool>true</bool>
-     </property>
-     <property name="checked" >
-      <bool>false</bool>
-     </property>
-     <layout class="QHBoxLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item>
-       <widget class="QLabel" name="audioOpenLabel" >
-        <property name="text" >
-         <string>Open:</string>
+      <item row="1" column="5" >
+       <widget class="QComboBox" name="alignSubComboBox" >
+        <property name="minimumSize" >
+         <size>
+          <width>100</width>
+          <height>0</height>
+         </size>
         </property>
        </widget>
       </item>
-      <item>
+      <item row="1" column="6" colspan="2" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Minimum</enum>
-        </property>
-        <property name="sizeHint" >
+        <property name="sizeHint" stdset="0" >
          <size>
           <width>16</width>
-          <height>51</height>
+          <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
-      <item>
-       <widget class="QComboBox" name="audioFileInput" >
+      <item row="0" column="0" colspan="6" >
+       <widget class="QLineEdit" name="subInput" >
         <property name="sizePolicy" >
-         <sizepolicy>
-          <hsizetype>7</hsizetype>
-          <vsizetype>0</vsizetype>
+         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
-        <property name="editable" >
-         <bool>true</bool>
-        </property>
        </widget>
       </item>
-      <item>
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Fixed</enum>
+      <item row="0" column="6" colspan="2" >
+       <widget class="QPushButton" name="subBrowseButton" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
         </property>
-        <property name="sizeHint" >
+        <property name="minimumSize" >
          <size>
-          <width>16</width>
-          <height>51</height>
+          <width>100</width>
+          <height>0</height>
          </size>
         </property>
-       </spacer>
-      </item>
-      <item>
-       <widget class="QPushButton" name="audioBrowseButton" >
+        <property name="toolTip" >
+         <string>_("Select the subtitles file")</string>
+        </property>
         <property name="text" >
-         <string>Browse</string>
+         <string>_("Browse...")</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item>
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>20</width>
-       <height>40</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
   </layout>
  </widget>
+ <tabstops>
+  <tabstop>subCheckBox</tabstop>
+  <tabstop>subInput</tabstop>
+  <tabstop>subBrowseButton</tabstop>
+  <tabstop>sizeSubComboBox</tabstop>
+  <tabstop>alignSubComboBox</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>