Qt: small UI change for width/height in Sout Profile.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 30 Apr 2009 21:30:30 +0000 (23:30 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 30 Apr 2009 21:31:29 +0000 (23:31 +0200)
modules/gui/qt4/ui/profiles.ui

index 0d47bb1..47a9bca 100644 (file)
@@ -30,6 +30,9 @@
    <item row="0" column="1">
     <widget class="QLineEdit" name="profileLine"/>
    </item>
+   <item row="2" column="1">
+    <widget class="QDialogButtonBox" name="buttonBox"/>
+   </item>
    <item row="1" column="0" colspan="2">
     <widget class="QTabWidget" name="tabWidget">
      <property name="sizePolicy">
           <string>Resolution</string>
          </property>
          <layout class="QGridLayout" name="gridLayout">
+          <item row="0" column="0" colspan="4">
+           <widget class="QLabel" name="label">
+            <property name="sizePolicy">
+             <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+              <horstretch>0</horstretch>
+              <verstretch>0</verstretch>
+             </sizepolicy>
+            </property>
+            <property name="text">
+             <string>You just need to fill one of the three following parameters, VLC will autodetect the other using the original aspect ratio</string>
+            </property>
+            <property name="wordWrap">
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
           <item row="1" column="0">
            <widget class="QLabel" name="vScaleLabel">
             <property name="text">
            </widget>
           </item>
           <item row="2" column="0">
-           <widget class="QLabel" name="heightLabel">
+           <widget class="QLabel" name="widthLabel">
             <property name="text">
-             <string>Height</string>
+             <string>Width</string>
             </property>
             <property name="buddy">
-             <cstring>heightBox</cstring>
+             <cstring>widthBox</cstring>
             </property>
            </widget>
           </item>
           <item row="2" column="1">
-           <widget class="QLineEdit" name="heightBox">
+           <widget class="QLineEdit" name="widthBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
               <horstretch>0</horstretch>
            </spacer>
           </item>
           <item row="2" column="3">
-           <widget class="QLabel" name="widthLabel">
+           <widget class="QLabel" name="heightLabel">
             <property name="text">
-             <string>Width</string>
+             <string>Height</string>
             </property>
             <property name="buddy">
-             <cstring>widthBox</cstring>
+             <cstring>heightBox</cstring>
             </property>
            </widget>
           </item>
           <item row="2" column="4">
-           <widget class="QLineEdit" name="widthBox">
+           <widget class="QLineEdit" name="heightBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
               <horstretch>0</horstretch>
             </property>
            </widget>
           </item>
-          <item row="0" column="0" colspan="5">
-           <widget class="QLabel" name="label">
-            <property name="sizePolicy">
-             <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
-              <horstretch>0</horstretch>
-              <verstretch>0</verstretch>
-             </sizepolicy>
-            </property>
-            <property name="text">
-             <string>You just need to fill one of the three following parameters, VLC will autodetect the other using the original aspect ratio</string>
-            </property>
-            <property name="wordWrap">
-             <bool>true</bool>
-            </property>
-           </widget>
-          </item>
          </layout>
         </widget>
        </item>
      </widget>
     </widget>
    </item>
-   <item row="2" column="1">
-    <widget class="QDialogButtonBox" name="buttonBox"/>
-   </item>
   </layout>
  </widget>
  <tabstops>