Skip to content
Permalink
Browse files

Make QTextLabels word wrap to allow for longer text (useful for some …

…languages

that have longer text in map composer labels).


git-svn-id: http://svn.osgeo.org/qgis/trunk@7626 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Nov 20, 2007
1 parent ad4f610 commit 6cc8071535bc0f3298533bb66b786610e219e1ce
@@ -6,7 +6,7 @@
<x>0</x>
<y>0</y>
<width>292</width>
<height>386</height>
<height>417</height>
</rect>
</property>
<property name="sizePolicy" >
@@ -96,6 +96,9 @@
<property name="text" >
<string>Scale:</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="9" column="2" >
@@ -143,6 +146,9 @@
<property name="text" >
<string>Set</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mCalculateComboBox</cstring>
</property>
@@ -173,6 +179,9 @@
<property name="text" >
<string>Height</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mHeightLineEdit</cstring>
</property>
@@ -186,6 +195,9 @@
<property name="text" >
<string>Width</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mWidthLineEdit</cstring>
</property>
@@ -199,6 +211,9 @@
<property name="text" >
<string>Line width scale</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mWidthScaleLineEdit</cstring>
</property>
@@ -209,6 +224,9 @@
<property name="text" >
<string>Symbol scale</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mSymbolScaleLineEdit</cstring>
</property>
@@ -219,6 +237,9 @@
<property name="text" >
<string>Font size scale</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mFontScaleLineEdit</cstring>
</property>
@@ -236,6 +257,9 @@
<property name="text" >
<string>Preview</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mPreviewModeComboBox</cstring>
</property>
@@ -42,15 +42,15 @@
<widget class="QPushButton" name="mPictureBrowseButton" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>50</width>
<width>150</width>
<height>32767</height>
</size>
</property>
@@ -118,6 +118,9 @@
<property name="text" >
<string>Width</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mWidthLineEdit</cstring>
</property>
@@ -136,6 +139,9 @@
<property name="text" >
<string>Height</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mHeightLineEdit</cstring>
</property>
@@ -154,6 +160,9 @@
<property name="text" >
<string>Angle</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mAngleLineEdit</cstring>
</property>
@@ -5,7 +5,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>261</width>
<width>303</width>
<height>487</height>
</rect>
</property>
@@ -40,6 +40,9 @@
<property name="text" >
<string>Line width</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mLineWidthSpinBox</cstring>
</property>
@@ -84,6 +87,9 @@
<property name="text" >
<string>Unit label</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mUnitLabelLineEdit</cstring>
</property>
@@ -120,6 +126,9 @@
<property name="text" >
<string>Map</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mMapComboBox</cstring>
</property>
@@ -130,6 +139,9 @@
<property name="text" >
<string>Segment size</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mSegmentLengthLineEdit</cstring>
</property>
@@ -146,6 +158,9 @@
<property name="text" >
<string>Map units per scalebar unit</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mMapUnitsPerUnitLineEdit</cstring>
</property>
@@ -156,6 +171,9 @@
<property name="text" >
<string>Number of segments</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mNumSegmentsLineEdit</cstring>
</property>
@@ -5,7 +5,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>216</width>
<width>285</width>
<height>419</height>
</rect>
</property>
@@ -52,6 +52,9 @@
<property name="text" >
<string>Preview</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mPreviewModeComboBox</cstring>
</property>
@@ -88,6 +91,9 @@
<property name="text" >
<string>Map</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mMapComboBox</cstring>
</property>
@@ -106,6 +112,9 @@
<property name="text" >
<string>Title</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
<property name="buddy" >
<cstring>mTitleLineEdit</cstring>
</property>

0 comments on commit 6cc8071

Please sign in to comment.
You can’t perform that action at this time.