|
6 | 6 | <x>0</x>
|
7 | 7 | <y>0</y>
|
8 | 8 | <width>485</width>
|
9 |
| - <height>538</height> |
| 9 | + <height>372</height> |
10 | 10 | </rect>
|
11 | 11 | </property>
|
12 | 12 | <property name="sizePolicy" >
|
|
16 | 16 | </sizepolicy>
|
17 | 17 | </property>
|
18 | 18 | <property name="windowTitle" >
|
19 |
| - <string>Dialog</string> |
| 19 | + <string>Interpolation plugin</string> |
20 | 20 | </property>
|
21 | 21 | <layout class="QGridLayout" >
|
22 | 22 | <item row="0" column="0" >
|
|
32 | 32 | </property>
|
33 | 33 | <layout class="QGridLayout" >
|
34 | 34 | <item row="0" column="0" >
|
35 |
| - <layout class="QHBoxLayout" > |
36 |
| - <item> |
37 |
| - <widget class="QLabel" name="mInputVectorLayerLabel" > |
38 |
| - <property name="text" > |
39 |
| - <string>Input vector layer:</string> |
40 |
| - </property> |
41 |
| - </widget> |
42 |
| - </item> |
43 |
| - <item> |
44 |
| - <widget class="QComboBox" name="mInputLayerComboBox" /> |
45 |
| - </item> |
46 |
| - </layout> |
| 35 | + <widget class="QLabel" name="mInputVectorLayerLabel" > |
| 36 | + <property name="text" > |
| 37 | + <string>Input vector layer</string> |
| 38 | + </property> |
| 39 | + <property name="buddy" > |
| 40 | + <cstring>mInputLayerComboBox</cstring> |
| 41 | + </property> |
| 42 | + </widget> |
| 43 | + </item> |
| 44 | + <item row="0" column="1" > |
| 45 | + <widget class="QComboBox" name="mInputLayerComboBox" > |
| 46 | + <property name="sizePolicy" > |
| 47 | + <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > |
| 48 | + <horstretch>0</horstretch> |
| 49 | + <verstretch>0</verstretch> |
| 50 | + </sizepolicy> |
| 51 | + </property> |
| 52 | + </widget> |
47 | 53 | </item>
|
48 | 54 | <item row="1" column="0" >
|
| 55 | + <widget class="QLabel" name="label" > |
| 56 | + <property name="text" > |
| 57 | + <string/> |
| 58 | + </property> |
| 59 | + </widget> |
| 60 | + </item> |
| 61 | + <item row="1" column="1" > |
49 | 62 | <widget class="QCheckBox" name="mUseZCoordCheckBox" >
|
50 | 63 | <property name="text" >
|
51 | 64 | <string>Use z-Coordinate for interpolation</string>
|
52 | 65 | </property>
|
53 | 66 | </widget>
|
54 | 67 | </item>
|
55 | 68 | <item row="2" column="0" >
|
56 |
| - <layout class="QHBoxLayout" > |
57 |
| - <item> |
58 |
| - <widget class="QLabel" name="mInterpolationAttributeLabel" > |
59 |
| - <property name="text" > |
60 |
| - <string>Interpolation attribute: </string> |
61 |
| - </property> |
62 |
| - </widget> |
63 |
| - </item> |
64 |
| - <item> |
65 |
| - <widget class="QComboBox" name="mInterpolationAttributeComboBox" /> |
66 |
| - </item> |
67 |
| - </layout> |
| 69 | + <widget class="QLabel" name="mInterpolationAttributeLabel" > |
| 70 | + <property name="text" > |
| 71 | + <string>Interpolation attribute </string> |
| 72 | + </property> |
| 73 | + <property name="buddy" > |
| 74 | + <cstring>mInterpolationAttributeComboBox</cstring> |
| 75 | + </property> |
| 76 | + </widget> |
| 77 | + </item> |
| 78 | + <item row="2" column="1" > |
| 79 | + <widget class="QComboBox" name="mInterpolationAttributeComboBox" > |
| 80 | + <property name="sizePolicy" > |
| 81 | + <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > |
| 82 | + <horstretch>0</horstretch> |
| 83 | + <verstretch>0</verstretch> |
| 84 | + </sizepolicy> |
| 85 | + </property> |
| 86 | + </widget> |
68 | 87 | </item>
|
69 | 88 | </layout>
|
70 | 89 | </widget>
|
|
81 | 100 | <string>Output</string>
|
82 | 101 | </property>
|
83 | 102 | <layout class="QGridLayout" >
|
84 |
| - <item row="0" column="0" colspan="2" > |
85 |
| - <layout class="QHBoxLayout" > |
86 |
| - <item> |
87 |
| - <widget class="QLabel" name="mInterpolationLabel" > |
88 |
| - <property name="text" > |
89 |
| - <string>Interpolation method:</string> |
90 |
| - </property> |
91 |
| - </widget> |
92 |
| - </item> |
93 |
| - <item> |
94 |
| - <widget class="QComboBox" name="mInterpolationMethodComboBox" /> |
95 |
| - </item> |
96 |
| - </layout> |
| 103 | + <item row="0" column="0" > |
| 104 | + <widget class="QLabel" name="mInterpolationLabel" > |
| 105 | + <property name="text" > |
| 106 | + <string>Interpolation method</string> |
| 107 | + </property> |
| 108 | + <property name="buddy" > |
| 109 | + <cstring>mInterpolationMethodComboBox</cstring> |
| 110 | + </property> |
| 111 | + </widget> |
| 112 | + </item> |
| 113 | + <item row="0" column="1" > |
| 114 | + <widget class="QComboBox" name="mInterpolationMethodComboBox" /> |
| 115 | + </item> |
| 116 | + <item row="0" column="2" > |
| 117 | + <widget class="QToolButton" name="mConfigureInterpolationButton" > |
| 118 | + <property name="text" > |
| 119 | + <string>...</string> |
| 120 | + </property> |
| 121 | + <property name="icon" > |
| 122 | + <iconset resource="interpolator.qrc" >:/interpolator/options.png</iconset> |
| 123 | + </property> |
| 124 | + </widget> |
97 | 125 | </item>
|
98 | 126 | <item row="1" column="0" >
|
99 |
| - <widget class="QPushButton" name="mConfigureInterpolationButton" > |
| 127 | + <widget class="QLabel" name="mNumberOfColumnsLabel" > |
100 | 128 | <property name="text" >
|
101 |
| - <string>Configure interpolation method...</string> |
| 129 | + <string>Number of columns</string> |
| 130 | + </property> |
| 131 | + <property name="buddy" > |
| 132 | + <cstring>mNumberOfColumnsSpinBox</cstring> |
102 | 133 | </property>
|
103 | 134 | </widget>
|
104 | 135 | </item>
|
105 |
| - <item row="1" column="1" > |
106 |
| - <spacer> |
107 |
| - <property name="orientation" > |
108 |
| - <enum>Qt::Horizontal</enum> |
109 |
| - </property> |
110 |
| - <property name="sizeHint" stdset="0" > |
111 |
| - <size> |
112 |
| - <width>51</width> |
113 |
| - <height>20</height> |
114 |
| - </size> |
115 |
| - </property> |
116 |
| - </spacer> |
117 |
| - </item> |
118 |
| - <item row="2" column="0" colspan="2" > |
119 |
| - <layout class="QHBoxLayout" > |
120 |
| - <item> |
121 |
| - <widget class="QLabel" name="mNumberOfColumnsLabel" > |
122 |
| - <property name="text" > |
123 |
| - <string>Number of columns:</string> |
124 |
| - </property> |
125 |
| - </widget> |
126 |
| - </item> |
127 |
| - <item> |
128 |
| - <widget class="QSpinBox" name="mNumberOfColumnsSpinBox" > |
129 |
| - <property name="maximum" > |
130 |
| - <number>10000000</number> |
131 |
| - </property> |
132 |
| - </widget> |
133 |
| - </item> |
134 |
| - </layout> |
135 |
| - </item> |
136 |
| - <item row="3" column="0" colspan="2" > |
137 |
| - <layout class="QHBoxLayout" > |
138 |
| - <item> |
139 |
| - <widget class="QLabel" name="mNumberOfRowsLabel" > |
140 |
| - <property name="text" > |
141 |
| - <string>Number of rows:</string> |
142 |
| - </property> |
143 |
| - </widget> |
144 |
| - </item> |
145 |
| - <item> |
146 |
| - <widget class="QSpinBox" name="mNumberOfRowsSpinBox" > |
147 |
| - <property name="maximum" > |
148 |
| - <number>10000000</number> |
149 |
| - </property> |
150 |
| - </widget> |
151 |
| - </item> |
152 |
| - </layout> |
153 |
| - </item> |
154 |
| - <item row="4" column="0" colspan="2" > |
155 |
| - <layout class="QHBoxLayout" > |
156 |
| - <item> |
157 |
| - <widget class="QLabel" name="mOutputFileLabel" > |
158 |
| - <property name="text" > |
159 |
| - <string>Output File: </string> |
160 |
| - </property> |
161 |
| - </widget> |
162 |
| - </item> |
163 |
| - <item> |
164 |
| - <widget class="QLineEdit" name="mOutputFileLineEdit" /> |
165 |
| - </item> |
166 |
| - <item> |
167 |
| - <widget class="QPushButton" name="mOutputFileButton" > |
168 |
| - <property name="text" > |
169 |
| - <string>...</string> |
170 |
| - </property> |
171 |
| - </widget> |
172 |
| - </item> |
173 |
| - </layout> |
| 136 | + <item row="1" column="1" colspan="2" > |
| 137 | + <widget class="QSpinBox" name="mNumberOfColumnsSpinBox" > |
| 138 | + <property name="maximum" > |
| 139 | + <number>10000000</number> |
| 140 | + </property> |
| 141 | + </widget> |
| 142 | + </item> |
| 143 | + <item row="2" column="0" > |
| 144 | + <widget class="QLabel" name="mNumberOfRowsLabel" > |
| 145 | + <property name="text" > |
| 146 | + <string>Number of rows</string> |
| 147 | + </property> |
| 148 | + <property name="buddy" > |
| 149 | + <cstring>mNumberOfRowsSpinBox</cstring> |
| 150 | + </property> |
| 151 | + </widget> |
| 152 | + </item> |
| 153 | + <item row="2" column="1" colspan="2" > |
| 154 | + <widget class="QSpinBox" name="mNumberOfRowsSpinBox" > |
| 155 | + <property name="maximum" > |
| 156 | + <number>10000000</number> |
| 157 | + </property> |
| 158 | + </widget> |
| 159 | + </item> |
| 160 | + <item row="3" column="0" > |
| 161 | + <widget class="QLabel" name="mOutputFileLabel" > |
| 162 | + <property name="text" > |
| 163 | + <string>Output file </string> |
| 164 | + </property> |
| 165 | + <property name="buddy" > |
| 166 | + <cstring>mOutputFileLineEdit</cstring> |
| 167 | + </property> |
| 168 | + </widget> |
| 169 | + </item> |
| 170 | + <item row="3" column="1" > |
| 171 | + <widget class="QLineEdit" name="mOutputFileLineEdit" /> |
| 172 | + </item> |
| 173 | + <item row="3" column="2" > |
| 174 | + <widget class="QToolButton" name="mOutputFileButton" > |
| 175 | + <property name="text" > |
| 176 | + <string>...</string> |
| 177 | + </property> |
| 178 | + </widget> |
174 | 179 | </item>
|
175 | 180 | </layout>
|
176 | 181 | </widget>
|
|
181 | 186 | <enum>Qt::Horizontal</enum>
|
182 | 187 | </property>
|
183 | 188 | <property name="standardButtons" >
|
184 |
| - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 189 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> |
185 | 190 | </property>
|
186 | 191 | </widget>
|
187 | 192 | </item>
|
188 | 193 | </layout>
|
189 | 194 | </widget>
|
190 |
| - <resources/> |
| 195 | + <tabstops> |
| 196 | + <tabstop>mInputLayerComboBox</tabstop> |
| 197 | + <tabstop>mUseZCoordCheckBox</tabstop> |
| 198 | + <tabstop>mInterpolationAttributeComboBox</tabstop> |
| 199 | + <tabstop>mInterpolationMethodComboBox</tabstop> |
| 200 | + <tabstop>mConfigureInterpolationButton</tabstop> |
| 201 | + <tabstop>mNumberOfColumnsSpinBox</tabstop> |
| 202 | + <tabstop>mNumberOfRowsSpinBox</tabstop> |
| 203 | + <tabstop>mOutputFileLineEdit</tabstop> |
| 204 | + <tabstop>mOutputFileButton</tabstop> |
| 205 | + <tabstop>buttonBox</tabstop> |
| 206 | + </tabstops> |
| 207 | + <resources> |
| 208 | + <include location="interpolator.qrc" /> |
| 209 | + </resources> |
191 | 210 | <connections>
|
192 | 211 | <connection>
|
193 | 212 | <sender>buttonBox</sender>
|
|
196 | 215 | <slot>accept()</slot>
|
197 | 216 | <hints>
|
198 | 217 | <hint type="sourcelabel" >
|
199 |
| - <x>248</x> |
200 |
| - <y>254</y> |
| 218 | + <x>257</x> |
| 219 | + <y>362</y> |
201 | 220 | </hint>
|
202 | 221 | <hint type="destinationlabel" >
|
203 | 222 | <x>157</x>
|
|
212 | 231 | <slot>reject()</slot>
|
213 | 232 | <hints>
|
214 | 233 | <hint type="sourcelabel" >
|
215 |
| - <x>316</x> |
216 |
| - <y>260</y> |
| 234 | + <x>325</x> |
| 235 | + <y>362</y> |
217 | 236 | </hint>
|
218 | 237 | <hint type="destinationlabel" >
|
219 | 238 | <x>286</x>
|
|
0 commit comments