Skip to content

Commit

Permalink
Use horizontal layout for interp plugin so that it fits more easily o…
Browse files Browse the repository at this point in the history
…n low res displays

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11917 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 4, 2009
1 parent 3bcf7d8 commit 4e89896
Showing 1 changed file with 134 additions and 100 deletions.
234 changes: 134 additions & 100 deletions src/plugins/interpolation/qgsinterpolationdialogbase.ui
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>538</width>
<height>733</height>
<width>748</width>
<height>409</height>
</rect>
</property>
<property name="sizePolicy">
Expand All @@ -20,7 +20,102 @@
<string>Interpolation plugin</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0">
<item row="0" column="0">
<widget class="QGroupBox" name="mInputGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Input</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Vector layers:</string>
</property>
<property name="buddy">
<cstring>mInputLayerComboBox</cstring>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="mInputLayerComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="mInterpolationAttributeLabel">
<property name="text">
<string>Interpolation attribute:</string>
</property>
<property name="buddy">
<cstring>mInterpolationAttributeComboBox</cstring>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="mInterpolationAttributeComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="QCheckBox" name="mUseZCoordCheckBox">
<property name="text">
<string>Use z-Coordinate for interpolation</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="mAddPushButton">
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="mRemovePushButton">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QTreeWidget" name="mLayersTreeWidget">
<column>
<property name="text">
<string>Vector layer</string>
</property>
</column>
<column>
<property name="text">
<string>Attribute</string>
</property>
</column>
<column>
<property name="text">
<string>Type</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QGroupBox" name="mOutputGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
Expand Down Expand Up @@ -97,6 +192,9 @@
<property name="text">
<string>Cellsize X:</string>
</property>
<property name="buddy">
<cstring>mCellsizeXSpinBox</cstring>
</property>
</widget>
</item>
<item>
Expand All @@ -114,6 +212,9 @@
<property name="text">
<string>Cellsize Y:</string>
</property>
<property name="buddy">
<cstring>mCellSizeYSpinBox</cstring>
</property>
</widget>
</item>
<item>
Expand All @@ -135,6 +236,9 @@
<property name="text">
<string>X Min:</string>
</property>
<property name="buddy">
<cstring>mXMinLineEdit</cstring>
</property>
</widget>
</item>
<item>
Expand All @@ -145,6 +249,9 @@
<property name="text">
<string>X Max:</string>
</property>
<property name="buddy">
<cstring>mXMaxLineEdit</cstring>
</property>
</widget>
</item>
<item>
Expand All @@ -159,6 +266,9 @@
<property name="text">
<string>Y Min:</string>
</property>
<property name="buddy">
<cstring>mYMinLineEdit</cstring>
</property>
</widget>
</item>
<item>
Expand All @@ -169,6 +279,9 @@
<property name="text">
<string>Y Max:</string>
</property>
<property name="buddy">
<cstring>mYMaxLineEdit</cstring>
</property>
</widget>
</item>
<item>
Expand Down Expand Up @@ -223,7 +336,7 @@
</layout>
</widget>
</item>
<item row="2" column="0">
<item row="1" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
Expand All @@ -233,105 +346,26 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="mInputGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Input</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Vector layers:</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="mInputLayerComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="mInterpolationAttributeLabel">
<property name="text">
<string>Interpolation attribute:</string>
</property>
<property name="buddy">
<cstring>mInterpolationAttributeComboBox</cstring>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QComboBox" name="mInterpolationAttributeComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="QCheckBox" name="mUseZCoordCheckBox">
<property name="text">
<string>Use z-Coordinate for interpolation</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="mAddPushButton">
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="mRemovePushButton">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QTreeWidget" name="mLayersTreeWidget">
<column>
<property name="text">
<string>Vector layer</string>
</property>
</column>
<column>
<property name="text">
<string>Attribute</string>
</property>
</column>
<column>
<property name="text">
<string>Type</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>mInputLayerComboBox</tabstop>
<tabstop>mInterpolationAttributeComboBox</tabstop>
<tabstop>mUseZCoordCheckBox</tabstop>
<tabstop>mAddPushButton</tabstop>
<tabstop>mRemovePushButton</tabstop>
<tabstop>mLayersTreeWidget</tabstop>
<tabstop>mInterpolationMethodComboBox</tabstop>
<tabstop>mConfigureInterpolationButton</tabstop>
<tabstop>mNumberOfColumnsSpinBox</tabstop>
<tabstop>mNumberOfRowsSpinBox</tabstop>
<tabstop>mCellsizeXSpinBox</tabstop>
<tabstop>mCellSizeYSpinBox</tabstop>
<tabstop>mXMinLineEdit</tabstop>
<tabstop>mXMaxLineEdit</tabstop>
<tabstop>mYMinLineEdit</tabstop>
<tabstop>mYMaxLineEdit</tabstop>
<tabstop>mBBoxToCurrentExtent</tabstop>
<tabstop>mOutputFileLineEdit</tabstop>
<tabstop>mOutputFileButton</tabstop>
<tabstop>buttonBox</tabstop>
Expand All @@ -347,8 +381,8 @@
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>257</x>
<y>362</y>
<x>266</x>
<y>723</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
Expand All @@ -363,8 +397,8 @@
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>325</x>
<y>362</y>
<x>334</x>
<y>723</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
Expand Down

0 comments on commit 4e89896

Please sign in to comment.