|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>653</width> |
| 9 | + <width>656</width> |
10 | 10 | <height>550</height>
|
11 | 11 | </rect>
|
12 | 12 | </property>
|
| 13 | + <property name="sizePolicy"> |
| 14 | + <sizepolicy hsizetype="Expanding" vsizetype="Maximum"> |
| 15 | + <horstretch>0</horstretch> |
| 16 | + <verstretch>0</verstretch> |
| 17 | + </sizepolicy> |
| 18 | + </property> |
13 | 19 | <property name="windowTitle">
|
14 | 20 | <string>MetaSearch</string>
|
15 | 21 | </property>
|
|
193 | 199 | <string>Results</string>
|
194 | 200 | </property>
|
195 | 201 | <layout class="QGridLayout" name="gridLayout_5">
|
196 |
| - <item row="0" column="0" colspan="3"> |
| 202 | + <item row="1" column="0" colspan="3"> |
197 | 203 | <widget class="QLabel" name="lblResults">
|
198 | 204 | <property name="text">
|
199 | 205 | <string/>
|
200 | 206 | </property>
|
201 | 207 | </widget>
|
202 | 208 | </item>
|
203 |
| - <item row="1" column="0" colspan="5"> |
| 209 | + <item row="3" column="0"> |
| 210 | + <widget class="QPushButton" name="btnFirst"> |
| 211 | + <property name="text"> |
| 212 | + <string><<</string> |
| 213 | + </property> |
| 214 | + </widget> |
| 215 | + </item> |
| 216 | + <item row="1" column="3" colspan="2"> |
| 217 | + <widget class="QPushButton" name="btnShowXml"> |
| 218 | + <property name="text"> |
| 219 | + <string>View search results as XML</string> |
| 220 | + </property> |
| 221 | + </widget> |
| 222 | + </item> |
| 223 | + <item row="3" column="1"> |
| 224 | + <widget class="QPushButton" name="btnPrev"> |
| 225 | + <property name="minimumSize"> |
| 226 | + <size> |
| 227 | + <width>145</width> |
| 228 | + <height>27</height> |
| 229 | + </size> |
| 230 | + </property> |
| 231 | + <property name="text"> |
| 232 | + <string><</string> |
| 233 | + </property> |
| 234 | + </widget> |
| 235 | + </item> |
| 236 | + <item row="2" column="0" colspan="5"> |
204 | 237 | <widget class="QTreeWidget" name="treeRecords">
|
205 | 238 | <property name="toolTip">
|
206 | 239 | <string>Double click to see full record information</string>
|
|
238 | 271 | </column>
|
239 | 272 | </widget>
|
240 | 273 | </item>
|
241 |
| - <item row="2" column="1"> |
242 |
| - <widget class="QPushButton" name="btnPrev"> |
| 274 | + <item row="3" column="4"> |
| 275 | + <widget class="QPushButton" name="btnLast"> |
243 | 276 | <property name="minimumSize">
|
244 | 277 | <size>
|
245 |
| - <width>145</width> |
246 |
| - <height>27</height> |
| 278 | + <width>140</width> |
| 279 | + <height>0</height> |
247 | 280 | </size>
|
248 | 281 | </property>
|
249 | 282 | <property name="text">
|
250 |
| - <string><</string> |
251 |
| - </property> |
252 |
| - </widget> |
253 |
| - </item> |
254 |
| - <item row="0" column="3" colspan="2"> |
255 |
| - <widget class="QPushButton" name="btnShowXml"> |
256 |
| - <property name="text"> |
257 |
| - <string>View search results as XML</string> |
258 |
| - </property> |
259 |
| - </widget> |
260 |
| - </item> |
261 |
| - <item row="2" column="0"> |
262 |
| - <widget class="QPushButton" name="btnFirst"> |
263 |
| - <property name="text"> |
264 |
| - <string><<</string> |
| 283 | + <string>>></string> |
265 | 284 | </property>
|
266 | 285 | </widget>
|
267 | 286 | </item>
|
268 |
| - <item row="4" column="0"> |
269 |
| - <widget class="QPushButton" name="btnAddToWms"> |
270 |
| - <property name="sizePolicy"> |
271 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
272 |
| - <horstretch>0</horstretch> |
273 |
| - <verstretch>0</verstretch> |
274 |
| - </sizepolicy> |
| 287 | + <item row="3" column="3"> |
| 288 | + <widget class="QPushButton" name="btnNext"> |
| 289 | + <property name="minimumSize"> |
| 290 | + <size> |
| 291 | + <width>140</width> |
| 292 | + <height>0</height> |
| 293 | + </size> |
275 | 294 | </property>
|
276 | 295 | <property name="text">
|
277 |
| - <string>Add WMS/WMTS</string> |
| 296 | + <string>></string> |
278 | 297 | </property>
|
279 | 298 | </widget>
|
280 | 299 | </item>
|
281 |
| - <item row="4" column="1"> |
282 |
| - <widget class="QPushButton" name="btnAddToWfs"> |
| 300 | + <item row="5" column="0"> |
| 301 | + <widget class="QToolButton" name="tbAddData"> |
283 | 302 | <property name="sizePolicy">
|
284 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 303 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
285 | 304 | <horstretch>0</horstretch>
|
286 | 305 | <verstretch>0</verstretch>
|
287 | 306 | </sizepolicy>
|
|
292 | 311 | <height>27</height>
|
293 | 312 | </size>
|
294 | 313 | </property>
|
295 |
| - <property name="text"> |
296 |
| - <string>Add WFS</string> |
297 |
| - </property> |
298 |
| - </widget> |
299 |
| - </item> |
300 |
| - <item row="2" column="4"> |
301 |
| - <widget class="QPushButton" name="btnLast"> |
302 |
| - <property name="minimumSize"> |
| 314 | + <property name="maximumSize"> |
303 | 315 | <size>
|
304 |
| - <width>140</width> |
305 |
| - <height>0</height> |
| 316 | + <width>145</width> |
| 317 | + <height>27</height> |
306 | 318 | </size>
|
307 | 319 | </property>
|
308 | 320 | <property name="text">
|
309 |
| - <string>>></string> |
| 321 | + <string>Add Data</string> |
310 | 322 | </property>
|
311 |
| - </widget> |
312 |
| - </item> |
313 |
| - <item row="4" column="3"> |
314 |
| - <widget class="QPushButton" name="btnAddToWcs"> |
315 |
| - <property name="sizePolicy"> |
316 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
317 |
| - <horstretch>0</horstretch> |
318 |
| - <verstretch>0</verstretch> |
319 |
| - </sizepolicy> |
| 323 | + <property name="popupMode"> |
| 324 | + <enum>QToolButton::InstantPopup</enum> |
320 | 325 | </property>
|
321 |
| - <property name="text"> |
322 |
| - <string>Add WCS</string> |
| 326 | + <property name="toolButtonStyle"> |
| 327 | + <enum>Qt::ToolButtonTextOnly</enum> |
323 | 328 | </property>
|
324 |
| - </widget> |
325 |
| - </item> |
326 |
| - <item row="2" column="3"> |
327 |
| - <widget class="QPushButton" name="btnNext"> |
328 |
| - <property name="minimumSize"> |
329 |
| - <size> |
330 |
| - <width>140</width> |
331 |
| - <height>0</height> |
332 |
| - </size> |
| 329 | + <property name="autoRaise"> |
| 330 | + <bool>false</bool> |
333 | 331 | </property>
|
334 |
| - <property name="text"> |
335 |
| - <string>></string> |
| 332 | + <property name="arrowType"> |
| 333 | + <enum>Qt::NoArrow</enum> |
336 | 334 | </property>
|
| 335 | + <action name="mActionAddWms"> |
| 336 | + <property name="icon"> |
| 337 | + <iconset> |
| 338 | + <normaloff>:/images/themes/default/mActionAddWmsLayer.svg</normaloff>:/images/themes/default/mActionAddWmsLayer.svg</iconset> |
| 339 | + </property> |
| 340 | + <property name="text"> |
| 341 | + <string>Add WMS/WMTS</string> |
| 342 | + </property> |
| 343 | + </action> |
| 344 | + <action name="mActionAddWfs"> |
| 345 | + <property name="icon"> |
| 346 | + <iconset> |
| 347 | + <normaloff>:/images/themes/default/mActionAddWfsLayer.svg</normaloff>:/images/themes/default/mActionAddWfsLayer.svg</iconset> |
| 348 | + </property> |
| 349 | + <property name="text"> |
| 350 | + <string>Add WFS</string> |
| 351 | + </property> |
| 352 | + </action> |
| 353 | + <action name="mActionAddWcs"> |
| 354 | + <property name="icon"> |
| 355 | + <iconset> |
| 356 | + <normaloff>:/images/themes/default/mActionAddWcsLayer.svg</normaloff>:/images/themes/default/mActionAddWcsLayer.svg</iconset> |
| 357 | + </property> |
| 358 | + <property name="text"> |
| 359 | + <string>Add WCS</string> |
| 360 | + </property> |
| 361 | + </action> |
| 362 | + <addaction name="mActionAddWms"/> |
| 363 | + <addaction name="mActionAddWfs"/> |
| 364 | + <addaction name="mActionAddWcs"/> |
337 | 365 | </widget>
|
338 | 366 | </item>
|
339 | 367 | </layout>
|
|
342 | 370 | <zorder>btnPrev</zorder>
|
343 | 371 | <zorder>btnFirst</zorder>
|
344 | 372 | <zorder>btnShowXml</zorder>
|
345 |
| - <zorder>btnAddToWms</zorder> |
346 |
| - <zorder>btnAddToWfs</zorder> |
347 | 373 | <zorder>btnLast</zorder>
|
348 |
| - <zorder>btnAddToWcs</zorder> |
349 | 374 | <zorder>btnNext</zorder>
|
| 375 | + <zorder>tbAddData</zorder> |
350 | 376 | </widget>
|
351 | 377 | </item>
|
352 | 378 | </layout>
|
|
0 commit comments