Commit 5e063dbb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

parent 59faac26
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLineEdit" name="profileLine"/> <widget class="QLineEdit" name="profileLine"/>
</item> </item>
<item row="2" column="1">
<widget class="QDialogButtonBox" name="buttonBox"/>
</item>
<item row="1" column="0" colspan="2"> <item row="1" column="0" colspan="2">
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -234,6 +237,22 @@ ...@@ -234,6 +237,22 @@
<string>Resolution</string> <string>Resolution</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <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"> <item row="1" column="0">
<widget class="QLabel" name="vScaleLabel"> <widget class="QLabel" name="vScaleLabel">
<property name="text"> <property name="text">
...@@ -252,17 +271,17 @@ ...@@ -252,17 +271,17 @@
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="heightLabel"> <widget class="QLabel" name="widthLabel">
<property name="text"> <property name="text">
<string>Height</string> <string>Width</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>heightBox</cstring> <cstring>widthBox</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QLineEdit" name="heightBox"> <widget class="QLineEdit" name="widthBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
...@@ -297,17 +316,17 @@ ...@@ -297,17 +316,17 @@
</spacer> </spacer>
</item> </item>
<item row="2" column="3"> <item row="2" column="3">
<widget class="QLabel" name="widthLabel"> <widget class="QLabel" name="heightLabel">
<property name="text"> <property name="text">
<string>Width</string> <string>Height</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>widthBox</cstring> <cstring>heightBox</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="4"> <item row="2" column="4">
<widget class="QLineEdit" name="widthBox"> <widget class="QLineEdit" name="heightBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed"> <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
...@@ -325,22 +344,6 @@ ...@@ -325,22 +344,6 @@
</property> </property>
</widget> </widget>
</item> </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> </layout>
</widget> </widget>
</item> </item>
...@@ -494,9 +497,6 @@ ...@@ -494,9 +497,6 @@
</widget> </widget>
</widget> </widget>
</item> </item>
<item row="2" column="1">
<widget class="QDialogButtonBox" name="buttonBox"/>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment