[vlmc-devel] commit: ClipMetadataDisplayer.ui: Set wordwrap true for label, so that they don't mess up the import controller dialog. (Rohit Yadav )
git at videolan.org
git at videolan.org
Wed Sep 22 23:29:10 CEST 2010
vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Thu Sep 23 03:16:51 2010 +0530| [9edf52778d1a25bd04b4ff6ee60176a01f68c4b2] | committer: Rohit Yadav
ClipMetadataDisplayer.ui: Set wordwrap true for label, so that they don't mess up the import controller dialog.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=9edf52778d1a25bd04b4ff6ee60176a01f68c4b2
---
src/Gui/media/ui/ClipMetadataDisplayer.ui | 153 +++++++++++++++++------------
1 files changed, 90 insertions(+), 63 deletions(-)
diff --git a/src/Gui/media/ui/ClipMetadataDisplayer.ui b/src/Gui/media/ui/ClipMetadataDisplayer.ui
index 4e85615..5780eac 100644
--- a/src/Gui/media/ui/ClipMetadataDisplayer.ui
+++ b/src/Gui/media/ui/ClipMetadataDisplayer.ui
@@ -7,13 +7,19 @@
<x>0</x>
<y>0</y>
<width>312</width>
- <height>201</height>
+ <height>238</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
+ <property name="margin">
+ <number>9</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
@@ -25,7 +31,16 @@
<property name="title">
<string>Media Properties</string>
</property>
- <layout class="QGridLayout" name="gridLayout_3">
+ <layout class="QFormLayout" name="formLayout">
+ <property name="horizontalSpacing">
+ <number>4</number>
+ </property>
+ <property name="verticalSpacing">
+ <number>4</number>
+ </property>
+ <property name="margin">
+ <number>9</number>
+ </property>
<item row="0" column="0">
<widget class="QLabel" name="nameLabel">
<property name="sizePolicy">
@@ -39,6 +54,63 @@
</property>
</widget>
</item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="nameValueLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="layoutDirection">
+ <enum>Qt::LeftToRight</enum>
+ </property>
+ <property name="text">
+ <string>---</string>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="pathLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Path</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="ExtendedLabel" name="pathValueLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="layoutDirection">
+ <enum>Qt::LeftToRight</enum>
+ </property>
+ <property name="text">
+ <string>---</string>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
<item row="2" column="0">
<widget class="QLabel" name="durationLabel">
<property name="sizePolicy">
@@ -139,35 +211,6 @@
</property>
</widget>
</item>
- <item row="6" column="0">
- <widget class="QLabel" name="nbAudioTracks">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Number of audio tracks</string>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <widget class="QLabel" name="nbAudioTracksValueLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="layoutDirection">
- <enum>Qt::LeftToRight</enum>
- </property>
- <property name="text">
- <string>0</string>
- </property>
- </widget>
- </item>
<item row="5" column="1">
<widget class="QLabel" name="nbVideoTracksValueLabel">
<property name="sizePolicy">
@@ -184,8 +227,8 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="pathLabel">
+ <item row="6" column="0">
+ <widget class="QLabel" name="nbAudioTracks">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
@@ -193,12 +236,12 @@
</sizepolicy>
</property>
<property name="text">
- <string>Path</string>
+ <string>Number of audio tracks</string>
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QLabel" name="nameValueLabel">
+ <item row="6" column="1">
+ <widget class="QLabel" name="nbAudioTracksValueLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
@@ -209,23 +252,21 @@
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
- <string>---</string>
+ <string>0</string>
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="ExtendedLabel" name="pathValueLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="layoutDirection">
- <enum>Qt::LeftToRight</enum>
+ <item row="7" column="0">
+ <widget class="QLabel" name="inProjectWorkspaceLabel">
+ <property name="text">
+ <string>In project workspace</string>
</property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <widget class="QLabel" name="inProjectWorkspaceValueLabel">
<property name="text">
- <string>---</string>
+ <string/>
</property>
</widget>
</item>
@@ -237,25 +278,11 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
- <height>40</height>
+ <height>10</height>
</size>
</property>
</spacer>
</item>
- <item row="7" column="0">
- <widget class="QLabel" name="inProjectWorkspaceLabel">
- <property name="text">
- <string>In project workspace</string>
- </property>
- </widget>
- </item>
- <item row="7" column="1">
- <widget class="QLabel" name="inProjectWorkspaceValueLabel">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
More information about the Vlmc-devel
mailing list