[vlc-devel] commit: Qt: small UI change for width/height in Sout Profile. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Apr 30 23:42:58 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr 30 23:30:30 2009 +0200| [5e063dbbd125eb6326e467e99b9bff9a896175d7] | committer: Jean-Baptiste Kempf 

Qt: small UI change for width/height in Sout Profile.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e063dbbd125eb6326e467e99b9bff9a896175d7
---

 modules/gui/qt4/ui/profiles.ui |   54 ++++++++++++++++++++--------------------
 1 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/modules/gui/qt4/ui/profiles.ui b/modules/gui/qt4/ui/profiles.ui
index 0d47bb1..47a9bca 100644
--- a/modules/gui/qt4/ui/profiles.ui
+++ b/modules/gui/qt4/ui/profiles.ui
@@ -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">
@@ -234,6 +237,22 @@
           <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">
@@ -252,17 +271,17 @@
            </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>
@@ -297,17 +316,17 @@
            </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>
@@ -325,22 +344,6 @@
             </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>
@@ -494,9 +497,6 @@
      </widget>
     </widget>
    </item>
-   <item row="2" column="1">
-    <widget class="QDialogButtonBox" name="buttonBox"/>
-   </item>
   </layout>
  </widget>
  <tabstops>




More information about the vlc-devel mailing list