Qt: Change open dialog behaviour and layout in most categories.
[vlc.git] / modules / gui / qt4 / ui / open_disk.ui
index ce978cb..195fc87 100644 (file)
@@ -6,20 +6,32 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>537</width>
-    <height>423</height>
+    <width>521</width>
+    <height>336</height>
    </rect>
   </property>
+  <property name="minimumSize" >
+   <size>
+    <width>500</width>
+    <height>0</height>
+   </size>
+  </property>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QVBoxLayout" name="verticalLayout" >
    <item>
     <widget class="QGroupBox" name="diskGroupBox" >
+     <property name="sizePolicy" >
+      <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="title" >
-      <string>_("Disc Selection")</string>
+      <string>_("Disc Type Selection")</string>
      </property>
-     <layout class="QGridLayout" >
+     <layout class="QGridLayout" name="gridLayout" >
       <item row="0" column="0" >
        <spacer>
         <property name="orientation" >
@@ -46,7 +58,7 @@
         </property>
        </widget>
       </item>
-      <item row="0" column="2" colspan="2" >
+      <item row="0" column="2" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
        </spacer>
       </item>
-      <item row="0" column="6" >
+      <item row="0" column="3" >
+       <widget class="QRadioButton" name="audioCDRadioButton" >
+        <property name="text" >
+         <string>_("Audio CD")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="4" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
        </spacer>
       </item>
-      <item row="0" column="9" >
+      <item row="0" column="5" colspan="3" >
+       <widget class="QRadioButton" name="vcdRadioButton" >
+        <property name="text" >
+         <string>SVCD/VCD</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="8" >
        <spacer>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
        </widget>
       </item>
-      <item row="2" column="2" colspan="8" >
-       <widget class="Line" name="line" >
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
-        </property>
-       </widget>
-      </item>
-      <item row="3" column="0" colspan="3" >
+      <item row="3" column="0" colspan="2" >
        <widget class="QLabel" name="deviceLabel" >
         <property name="text" >
          <string>_("Disc device")</string>
         </property>
        </widget>
       </item>
-      <item row="3" column="3" colspan="4" >
+      <item row="2" column="2" colspan="7" >
+       <widget class="Line" name="line" >
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="2" colspan="4" >
        <widget class="QComboBox" name="deviceCombo" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <property name="editable" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
-      <item row="3" column="7" >
+      <item row="3" column="6" >
        <widget class="QToolButton" name="ejectButton" >
         <property name="sizePolicy" >
          <sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
         </property>
        </widget>
       </item>
-      <item row="3" column="8" colspan="2" >
+      <item row="3" column="7" colspan="2" >
        <widget class="QPushButton" name="browseDiscButton" >
         <property name="sizePolicy" >
          <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
         </property>
        </widget>
       </item>
-      <item row="0" column="4" >
-       <widget class="QRadioButton" name="audioCDRadioButton" >
-        <property name="text" >
-         <string>_("Audio CD")</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="8" >
-       <widget class="QRadioButton" name="vcdRadioButton" >
-        <property name="text" >
-         <string>SVCD/VCD</string>
-        </property>
-       </widget>
-      </item>
      </layout>
+     <zorder>dvdRadioButton</zorder>
+     <zorder>dvdsimple</zorder>
+     <zorder>line</zorder>
+     <zorder>deviceLabel</zorder>
+     <zorder>deviceCombo</zorder>
+     <zorder>ejectButton</zorder>
+     <zorder>browseDiscButton</zorder>
+     <zorder>audioCDRadioButton</zorder>
+     <zorder>vcdRadioButton</zorder>
+     <zorder></zorder>
     </widget>
    </item>
    <item>
      <property name="title" >
       <string>_("Starting Position")</string>
      </property>
-     <layout class="QGridLayout" >
-      <item row="1" column="0" >
-       <widget class="QLabel" name="chapterLabel" >
+     <layout class="QHBoxLayout" name="horizontalLayout" >
+      <item>
+       <widget class="QLabel" name="titleLabel" >
         <property name="text" >
-         <string>_("Chapter")</string>
+         <string>_("Title")</string>
         </property>
         <property name="buddy" >
-         <cstring>chapterSpin</cstring>
+         <cstring>titleSpin</cstring>
         </property>
        </widget>
       </item>
-      <item row="1" column="1" >
-       <widget class="QSpinBox" name="chapterSpin" >
-        <property name="alignment" >
-         <set>Qt::AlignRight</set>
-        </property>
-        <property name="suffix" >
-         <string/>
+      <item>
+       <widget class="QSpinBox" name="titleSpin" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
         </property>
-        <property name="prefix" >
-         <string/>
+        <property name="autoFillBackground" >
+         <bool>false</bool>
         </property>
-        <property name="minimum" >
-         <number>0</number>
+        <property name="alignment" >
+         <set>Qt::AlignRight</set>
         </property>
         <property name="value" >
          <number>0</number>
         </property>
        </widget>
       </item>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="titleLabel" >
+      <item>
+       <spacer name="horizontalSpacer" >
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeType" >
+         <enum>QSizePolicy::Fixed</enum>
+        </property>
+        <property name="sizeHint" stdset="0" >
+         <size>
+          <width>20</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item>
+       <widget class="QLabel" name="chapterLabel" >
         <property name="text" >
-         <string>_("Title")</string>
+         <string>_("Chapter")</string>
         </property>
         <property name="buddy" >
-         <cstring>titleSpin</cstring>
+         <cstring>chapterSpin</cstring>
         </property>
        </widget>
       </item>
-      <item row="0" column="1" >
-       <widget class="QSpinBox" name="titleSpin" >
-        <property name="autoFillBackground" >
-         <bool>false</bool>
+      <item>
+       <widget class="QSpinBox" name="chapterSpin" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
         </property>
         <property name="alignment" >
          <set>Qt::AlignRight</set>
         </property>
-        <property name="suffix" >
-         <string/>
-        </property>
-        <property name="minimum" >
-         <number>0</number>
-        </property>
-        <property name="value" >
-         <number>0</number>
-        </property>
        </widget>
       </item>
      </layout>
      <property name="title" >
       <string>_("Audio and Subtitles")</string>
      </property>
-     <layout class="QGridLayout" >
-      <item row="1" column="0" >
-       <widget class="QLabel" name="audioLabel" >
+     <layout class="QHBoxLayout" name="horizontalLayout_2" >
+      <item>
+       <widget class="QLabel" name="subtitlesLabel" >
         <property name="text" >
-         <string>_("Audio track")</string>
+         <string>_("Subtitles track")</string>
         </property>
         <property name="buddy" >
-         <cstring>audioSpin</cstring>
+         <cstring>subtitlesSpin</cstring>
         </property>
        </widget>
       </item>
-      <item row="1" column="1" >
-       <widget class="QSpinBox" name="audioSpin" >
+      <item>
+       <widget class="QSpinBox" name="subtitlesSpin" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="autoFillBackground" >
+         <bool>false</bool>
+        </property>
         <property name="alignment" >
          <set>Qt::AlignRight</set>
         </property>
         <property name="suffix" >
          <string/>
         </property>
-        <property name="prefix" >
-         <string/>
-        </property>
         <property name="minimum" >
          <number>-1</number>
         </property>
         <property name="maximum" >
-         <number>7</number>
+         <number>31</number>
         </property>
         <property name="value" >
          <number>-1</number>
         </property>
        </widget>
       </item>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="subtitlesLabel" >
+      <item>
+       <spacer name="horizontalSpacer_2" >
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeType" >
+         <enum>QSizePolicy::Fixed</enum>
+        </property>
+        <property name="sizeHint" stdset="0" >
+         <size>
+          <width>20</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item>
+       <widget class="QLabel" name="audioLabel" >
         <property name="text" >
-         <string>_("Subtitles track")</string>
+         <string>_("Audio track")</string>
         </property>
         <property name="buddy" >
-         <cstring>subtitlesSpin</cstring>
+         <cstring>audioSpin</cstring>
         </property>
        </widget>
       </item>
-      <item row="0" column="1" >
-       <widget class="QSpinBox" name="subtitlesSpin" >
-        <property name="autoFillBackground" >
-         <bool>false</bool>
+      <item>
+       <widget class="QSpinBox" name="audioSpin" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
         </property>
         <property name="alignment" >
          <set>Qt::AlignRight</set>
         </property>
-        <property name="suffix" >
-         <string/>
-        </property>
         <property name="minimum" >
          <number>-1</number>
         </property>
         <property name="maximum" >
-         <number>31</number>
+         <number>10</number>
         </property>
         <property name="value" >
          <number>-1</number>
      <property name="sizeHint" stdset="0" >
       <size>
        <width>181</width>
-       <height>22</height>
+       <height>0</height>
       </size>
      </property>
     </spacer>
  </widget>
  <tabstops>
   <tabstop>dvdRadioButton</tabstop>
+  <tabstop>audioCDRadioButton</tabstop>
+  <tabstop>vcdRadioButton</tabstop>
   <tabstop>dvdsimple</tabstop>
   <tabstop>deviceCombo</tabstop>
   <tabstop>ejectButton</tabstop>