Skip to content
Permalink
Browse files

Use horizontal layout for interp plugin so that it fits more easily o…

…n low res displays

git-svn-id: http://svn.osgeo.org/qgis/trunk@11917 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 4, 2009
1 parent 2ca2aab commit 0a0d9697f41fe00d32a7fddc50a09c96cbe2442a
Showing with 134 additions and 100 deletions.
  1. +134 −100 src/plugins/interpolation/qgsinterpolationdialogbase.ui
@@ -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">
@@ -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">
@@ -97,6 +192,9 @@
<property name="text">
<string>Cellsize X:</string>
</property>
<property name="buddy">
<cstring>mCellsizeXSpinBox</cstring>
</property>
</widget>
</item>
<item>
@@ -114,6 +212,9 @@
<property name="text">
<string>Cellsize Y:</string>
</property>
<property name="buddy">
<cstring>mCellSizeYSpinBox</cstring>
</property>
</widget>
</item>
<item>
@@ -135,6 +236,9 @@
<property name="text">
<string>X Min:</string>
</property>
<property name="buddy">
<cstring>mXMinLineEdit</cstring>
</property>
</widget>
</item>
<item>
@@ -145,6 +249,9 @@
<property name="text">
<string>X Max:</string>
</property>
<property name="buddy">
<cstring>mXMaxLineEdit</cstring>
</property>
</widget>
</item>
<item>
@@ -159,6 +266,9 @@
<property name="text">
<string>Y Min:</string>
</property>
<property name="buddy">
<cstring>mYMinLineEdit</cstring>
</property>
</widget>
</item>
<item>
@@ -169,6 +279,9 @@
<property name="text">
<string>Y Max:</string>
</property>
<property name="buddy">
<cstring>mYMaxLineEdit</cstring>
</property>
</widget>
</item>
<item>
@@ -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>
@@ -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>
@@ -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>
@@ -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>

0 comments on commit 0a0d969

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