Skip to content
Permalink
Browse files

Bug fix for layout issues in raster properties dialog (fixes saved using

qt4.2 
designer)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7324 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 5, 2007
1 parent f4500ef commit 28d88a1671d634a2fceefb7c41b407b8b36b4d9b
Showing with 125 additions and 149 deletions.
  1. +125 −149 src/ui/qgsrasterlayerpropertiesbase.ui
@@ -6,7 +6,7 @@
<x>0</x>
<y>0</y>
<width>651</width>
<height>641</height>
<height>597</height>
</rect>
</property>
<property name="windowTitle" >
@@ -165,7 +165,7 @@
</sizepolicy>
</property>
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style="font-size:9pt;font-family:Sans Serif">
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style="font-size:10pt;font-family:Sans Serif">
&lt;p style="margin-top:14px" dir="ltr">&lt;span style="font-weight:600">Notes&lt;/span>&lt;/p>
&lt;/body>&lt;/html>
</string>
@@ -746,155 +746,131 @@
<attribute name="title" >
<string>Pyramids</string>
</attribute>
<widget class="QWidget" name="layoutWidget" >
<property name="geometry" >
<rect>
<x>9</x>
<y>490</y>
<width>592</width>
<height>51</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>11</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>156</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="textLabel4_2" >
<property name="text" >
<string>Resampling Method</string>
</property>
<property name="buddy" >
<cstring>cboResamplingMethod</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cboResamplingMethod" >
<item>
<property name="text" >
<string>Average</string>
</property>
</item>
<item>
<property name="text" >
<string>Nearest Neighbour</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonBuildPyramids" >
<property name="text" >
<string>Build Pyramids</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget" >
<property name="geometry" >
<rect>
<x>481</x>
<y>9</y>
<width>144</width>
<height>471</height>
</rect>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>11</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="textLabel5" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Pyramid Resolutions</string>
</property>
</widget>
</item>
<item>
<widget class="Q3ListBox" name="lbxPyramidResolutions" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>150</width>
<height>32767</height>
</size>
</property>
<property name="selectionMode" >
<enum>Q3ListBox::Multi</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="Q3TextEdit" name="textEdit5" >
<property name="geometry" >
<rect>
<x>9</x>
<y>9</y>
<width>466</width>
<height>475</height>
</rect>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>5</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<property name="spacing" >
<number>6</number>
</property>
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style="font-size:9pt;font-family:Sans Serif">
&lt;p style="margin-top:18px" dir="ltr">&lt;span style="font-size:14pt;font-weight:600">Description&lt;/span>&lt;/p>
<item row="1" column="1" >
<widget class="Q3ListBox" name="lbxPyramidResolutions" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize" >
<size>
<width>150</width>
<height>32767</height>
</size>
</property>
<property name="selectionMode" >
<enum>Q3ListBox::Multi</enum>
</property>
</widget>
</item>
<item rowspan="2" row="0" column="0" >
<widget class="Q3TextEdit" name="textEdit5" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>5</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style="font-size:10pt;font-family:Sans Serif">
&lt;p style="margin-top:18px" dir="ltr">&lt;span style="font-size:15pt;font-weight:600">Description&lt;/span>&lt;/p>
&lt;p dir="ltr">Large resolution raster layers can slow navigation in QGIS. By creating lower resolution copies of the data (pyramids) performance can be considerably improved as QGIS selects the most suitable resolution to use depending on the level of zoom. You must have write access in the directory where the original data is stored to build pyramids. &lt;/p>
&lt;p dir="ltr">&lt;span style="color:#ff0000">Please note that building pyramids may alter the original data file and once created they cannot be removed.&lt;/span>&lt;/p>
&lt;p dir="ltr">&lt;span style="color:#ff0000">Please note that building pyramids could corrupt your image - always make a backup of your data first!&lt;/span>&lt;/p>
&lt;/body>&lt;/html>
</string>
</property>
<property name="wordWrap" >
<enum>Q3TextEdit::WidgetWidth</enum>
</property>
</widget>
</property>
<property name="wordWrap" >
<enum>Q3TextEdit::WidgetWidth</enum>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="textLabel5" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Pyramid Resolutions</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<property name="margin" >
<number>11</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>156</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="textLabel4_2" >
<property name="text" >
<string>Resampling Method</string>
</property>
<property name="buddy" >
<cstring>cboResamplingMethod</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cboResamplingMethod" >
<item>
<property name="text" >
<string>Average</string>
</property>
</item>
<item>
<property name="text" >
<string>Nearest Neighbour</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonBuildPyramids" >
<property name="text" >
<string>Build Pyramids</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabPageHistogram" >
<attribute name="title" >
@@ -1069,6 +1045,11 @@
</widget>
<layoutdefault spacing="6" margin="11" />
<customwidgets>
<customwidget>
<class>Q3ListBox</class>
<extends>Q3Frame</extends>
<header>q3listbox.h</header>
</customwidget>
<customwidget>
<class>Q3TextEdit</class>
<extends>Q3Frame</extends>
@@ -1080,11 +1061,6 @@
<header>Qt3Support/Q3GroupBox</header>
<container>1</container>
</customwidget>
<customwidget>
<class>Q3ListBox</class>
<extends>Q3Frame</extends>
<header>q3listbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>tabBar</tabstop>

0 comments on commit 28d88a1

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