Skip to content

Commit 4e89896

Browse files
author
timlinux
committedNov 4, 2009
Use horizontal layout for interp plugin so that it fits more easily on low res displays
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11917 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+134
-100
lines changed

1 file changed

+134
-100
lines changed
 

‎src/plugins/interpolation/qgsinterpolationdialogbase.ui

Lines changed: 134 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>538</width>
10-
<height>733</height>
9+
<width>748</width>
10+
<height>409</height>
1111
</rect>
1212
</property>
1313
<property name="sizePolicy">
@@ -20,7 +20,102 @@
2020
<string>Interpolation plugin</string>
2121
</property>
2222
<layout class="QGridLayout" name="gridLayout_3">
23-
<item row="1" column="0">
23+
<item row="0" column="0">
24+
<widget class="QGroupBox" name="mInputGroupBox">
25+
<property name="sizePolicy">
26+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
27+
<horstretch>0</horstretch>
28+
<verstretch>0</verstretch>
29+
</sizepolicy>
30+
</property>
31+
<property name="title">
32+
<string>Input</string>
33+
</property>
34+
<layout class="QGridLayout" name="gridLayout">
35+
<item row="0" column="0">
36+
<widget class="QLabel" name="label_2">
37+
<property name="text">
38+
<string>Vector layers:</string>
39+
</property>
40+
<property name="buddy">
41+
<cstring>mInputLayerComboBox</cstring>
42+
</property>
43+
</widget>
44+
</item>
45+
<item row="0" column="1" colspan="2">
46+
<widget class="QComboBox" name="mInputLayerComboBox">
47+
<property name="sizePolicy">
48+
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
49+
<horstretch>0</horstretch>
50+
<verstretch>0</verstretch>
51+
</sizepolicy>
52+
</property>
53+
</widget>
54+
</item>
55+
<item row="1" column="0">
56+
<widget class="QLabel" name="mInterpolationAttributeLabel">
57+
<property name="text">
58+
<string>Interpolation attribute:</string>
59+
</property>
60+
<property name="buddy">
61+
<cstring>mInterpolationAttributeComboBox</cstring>
62+
</property>
63+
</widget>
64+
</item>
65+
<item row="1" column="1" colspan="2">
66+
<widget class="QComboBox" name="mInterpolationAttributeComboBox">
67+
<property name="sizePolicy">
68+
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
69+
<horstretch>0</horstretch>
70+
<verstretch>0</verstretch>
71+
</sizepolicy>
72+
</property>
73+
</widget>
74+
</item>
75+
<item row="2" column="0" colspan="3">
76+
<widget class="QCheckBox" name="mUseZCoordCheckBox">
77+
<property name="text">
78+
<string>Use z-Coordinate for interpolation</string>
79+
</property>
80+
</widget>
81+
</item>
82+
<item row="3" column="1">
83+
<widget class="QPushButton" name="mAddPushButton">
84+
<property name="text">
85+
<string>Add</string>
86+
</property>
87+
</widget>
88+
</item>
89+
<item row="3" column="2">
90+
<widget class="QPushButton" name="mRemovePushButton">
91+
<property name="text">
92+
<string>Remove</string>
93+
</property>
94+
</widget>
95+
</item>
96+
<item row="4" column="0" colspan="3">
97+
<widget class="QTreeWidget" name="mLayersTreeWidget">
98+
<column>
99+
<property name="text">
100+
<string>Vector layer</string>
101+
</property>
102+
</column>
103+
<column>
104+
<property name="text">
105+
<string>Attribute</string>
106+
</property>
107+
</column>
108+
<column>
109+
<property name="text">
110+
<string>Type</string>
111+
</property>
112+
</column>
113+
</widget>
114+
</item>
115+
</layout>
116+
</widget>
117+
</item>
118+
<item row="0" column="1">
24119
<widget class="QGroupBox" name="mOutputGroupBox">
25120
<property name="sizePolicy">
26121
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
@@ -97,6 +192,9 @@
97192
<property name="text">
98193
<string>Cellsize X:</string>
99194
</property>
195+
<property name="buddy">
196+
<cstring>mCellsizeXSpinBox</cstring>
197+
</property>
100198
</widget>
101199
</item>
102200
<item>
@@ -114,6 +212,9 @@
114212
<property name="text">
115213
<string>Cellsize Y:</string>
116214
</property>
215+
<property name="buddy">
216+
<cstring>mCellSizeYSpinBox</cstring>
217+
</property>
117218
</widget>
118219
</item>
119220
<item>
@@ -135,6 +236,9 @@
135236
<property name="text">
136237
<string>X Min:</string>
137238
</property>
239+
<property name="buddy">
240+
<cstring>mXMinLineEdit</cstring>
241+
</property>
138242
</widget>
139243
</item>
140244
<item>
@@ -145,6 +249,9 @@
145249
<property name="text">
146250
<string>X Max:</string>
147251
</property>
252+
<property name="buddy">
253+
<cstring>mXMaxLineEdit</cstring>
254+
</property>
148255
</widget>
149256
</item>
150257
<item>
@@ -159,6 +266,9 @@
159266
<property name="text">
160267
<string>Y Min:</string>
161268
</property>
269+
<property name="buddy">
270+
<cstring>mYMinLineEdit</cstring>
271+
</property>
162272
</widget>
163273
</item>
164274
<item>
@@ -169,6 +279,9 @@
169279
<property name="text">
170280
<string>Y Max:</string>
171281
</property>
282+
<property name="buddy">
283+
<cstring>mYMaxLineEdit</cstring>
284+
</property>
172285
</widget>
173286
</item>
174287
<item>
@@ -223,7 +336,7 @@
223336
</layout>
224337
</widget>
225338
</item>
226-
<item row="2" column="0">
339+
<item row="1" column="0" colspan="2">
227340
<widget class="QDialogButtonBox" name="buttonBox">
228341
<property name="orientation">
229342
<enum>Qt::Horizontal</enum>
@@ -233,105 +346,26 @@
233346
</property>
234347
</widget>
235348
</item>
236-
<item row="0" column="0">
237-
<widget class="QGroupBox" name="mInputGroupBox">
238-
<property name="sizePolicy">
239-
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
240-
<horstretch>0</horstretch>
241-
<verstretch>0</verstretch>
242-
</sizepolicy>
243-
</property>
244-
<property name="title">
245-
<string>Input</string>
246-
</property>
247-
<layout class="QGridLayout" name="gridLayout">
248-
<item row="0" column="0">
249-
<widget class="QLabel" name="label_2">
250-
<property name="text">
251-
<string>Vector layers:</string>
252-
</property>
253-
</widget>
254-
</item>
255-
<item row="0" column="1" colspan="2">
256-
<widget class="QComboBox" name="mInputLayerComboBox">
257-
<property name="sizePolicy">
258-
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
259-
<horstretch>0</horstretch>
260-
<verstretch>0</verstretch>
261-
</sizepolicy>
262-
</property>
263-
</widget>
264-
</item>
265-
<item row="1" column="0">
266-
<widget class="QLabel" name="mInterpolationAttributeLabel">
267-
<property name="text">
268-
<string>Interpolation attribute:</string>
269-
</property>
270-
<property name="buddy">
271-
<cstring>mInterpolationAttributeComboBox</cstring>
272-
</property>
273-
</widget>
274-
</item>
275-
<item row="1" column="1" colspan="2">
276-
<widget class="QComboBox" name="mInterpolationAttributeComboBox">
277-
<property name="sizePolicy">
278-
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
279-
<horstretch>0</horstretch>
280-
<verstretch>0</verstretch>
281-
</sizepolicy>
282-
</property>
283-
</widget>
284-
</item>
285-
<item row="2" column="0" colspan="3">
286-
<widget class="QCheckBox" name="mUseZCoordCheckBox">
287-
<property name="text">
288-
<string>Use z-Coordinate for interpolation</string>
289-
</property>
290-
</widget>
291-
</item>
292-
<item row="3" column="1">
293-
<widget class="QPushButton" name="mAddPushButton">
294-
<property name="text">
295-
<string>Add</string>
296-
</property>
297-
</widget>
298-
</item>
299-
<item row="3" column="2">
300-
<widget class="QPushButton" name="mRemovePushButton">
301-
<property name="text">
302-
<string>Remove</string>
303-
</property>
304-
</widget>
305-
</item>
306-
<item row="4" column="0" colspan="3">
307-
<widget class="QTreeWidget" name="mLayersTreeWidget">
308-
<column>
309-
<property name="text">
310-
<string>Vector layer</string>
311-
</property>
312-
</column>
313-
<column>
314-
<property name="text">
315-
<string>Attribute</string>
316-
</property>
317-
</column>
318-
<column>
319-
<property name="text">
320-
<string>Type</string>
321-
</property>
322-
</column>
323-
</widget>
324-
</item>
325-
</layout>
326-
</widget>
327-
</item>
328349
</layout>
329350
</widget>
330351
<tabstops>
352+
<tabstop>mInputLayerComboBox</tabstop>
353+
<tabstop>mInterpolationAttributeComboBox</tabstop>
354+
<tabstop>mUseZCoordCheckBox</tabstop>
355+
<tabstop>mAddPushButton</tabstop>
356+
<tabstop>mRemovePushButton</tabstop>
357+
<tabstop>mLayersTreeWidget</tabstop>
331358
<tabstop>mInterpolationMethodComboBox</tabstop>
332359
<tabstop>mConfigureInterpolationButton</tabstop>
333360
<tabstop>mNumberOfColumnsSpinBox</tabstop>
334361
<tabstop>mNumberOfRowsSpinBox</tabstop>
362+
<tabstop>mCellsizeXSpinBox</tabstop>
363+
<tabstop>mCellSizeYSpinBox</tabstop>
364+
<tabstop>mXMinLineEdit</tabstop>
365+
<tabstop>mXMaxLineEdit</tabstop>
366+
<tabstop>mYMinLineEdit</tabstop>
367+
<tabstop>mYMaxLineEdit</tabstop>
368+
<tabstop>mBBoxToCurrentExtent</tabstop>
335369
<tabstop>mOutputFileLineEdit</tabstop>
336370
<tabstop>mOutputFileButton</tabstop>
337371
<tabstop>buttonBox</tabstop>
@@ -347,8 +381,8 @@
347381
<slot>accept()</slot>
348382
<hints>
349383
<hint type="sourcelabel">
350-
<x>257</x>
351-
<y>362</y>
384+
<x>266</x>
385+
<y>723</y>
352386
</hint>
353387
<hint type="destinationlabel">
354388
<x>157</x>
@@ -363,8 +397,8 @@
363397
<slot>reject()</slot>
364398
<hints>
365399
<hint type="sourcelabel">
366-
<x>325</x>
367-
<y>362</y>
400+
<x>334</x>
401+
<y>723</y>
368402
</hint>
369403
<hint type="destinationlabel">
370404
<x>286</x>

0 commit comments

Comments
 (0)
Please sign in to comment.