maindialog.ui 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MetaSearchDialog</class>
  4. <widget class="QDialog" name="MetaSearchDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>658</width>
  10. <height>550</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>MetaSearch</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <item>
  24. <widget class="QTabWidget" name="tabWidget">
  25. <property name="currentIndex">
  26. <number>1</number>
  27. </property>
  28. <widget class="QWidget" name="tabSearch">
  29. <attribute name="title">
  30. <string>Search</string>
  31. </attribute>
  32. <layout class="QVBoxLayout" name="verticalLayout_2">
  33. <item>
  34. <widget class="QGroupBox" name="groupBox">
  35. <property name="sizePolicy">
  36. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  37. <horstretch>0</horstretch>
  38. <verstretch>0</verstretch>
  39. </sizepolicy>
  40. </property>
  41. <property name="title">
  42. <string>Find</string>
  43. </property>
  44. <layout class="QGridLayout" name="gridLayout_3">
  45. <item row="0" column="1">
  46. <widget class="QgsFilterLineEdit" name="leKeywords">
  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="0" column="0">
  56. <widget class="QLabel" name="label_3">
  57. <property name="text">
  58. <string>Keywords</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="2" column="3" colspan="2">
  63. <widget class="QPushButton" name="btnCanvasBbox">
  64. <property name="text">
  65. <string>Map extent</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="2" column="5">
  70. <widget class="QPushButton" name="btnSearch">
  71. <property name="text">
  72. <string>Search</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item row="1" column="3" colspan="2">
  77. <widget class="QPushButton" name="btnGlobalBbox">
  78. <property name="text">
  79. <string>Set global</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item row="0" column="3" colspan="3">
  84. <widget class="QComboBox" name="cmbConnectionsSearch">
  85. <property name="sizePolicy">
  86. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  87. <horstretch>0</horstretch>
  88. <verstretch>0</verstretch>
  89. </sizepolicy>
  90. </property>
  91. </widget>
  92. </item>
  93. <item row="1" column="0" rowspan="2" colspan="3">
  94. <layout class="QGridLayout" name="gridLayout_2">
  95. <item row="0" column="0">
  96. <widget class="QLabel" name="label_4">
  97. <property name="text">
  98. <string>Xmax</string>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="0" column="1">
  103. <widget class="QLineEdit" name="leEast">
  104. <property name="enabled">
  105. <bool>true</bool>
  106. </property>
  107. <property name="minimumSize">
  108. <size>
  109. <width>85</width>
  110. <height>0</height>
  111. </size>
  112. </property>
  113. <property name="text">
  114. <string>180</string>
  115. </property>
  116. </widget>
  117. </item>
  118. <item row="0" column="2">
  119. <widget class="QLabel" name="label_7">
  120. <property name="text">
  121. <string>Ymax</string>
  122. </property>
  123. </widget>
  124. </item>
  125. <item row="0" column="3" colspan="2">
  126. <widget class="QLineEdit" name="leNorth">
  127. <property name="minimumSize">
  128. <size>
  129. <width>85</width>
  130. <height>0</height>
  131. </size>
  132. </property>
  133. <property name="text">
  134. <string>90</string>
  135. </property>
  136. </widget>
  137. </item>
  138. <item row="1" column="0">
  139. <widget class="QLabel" name="label_6">
  140. <property name="text">
  141. <string>Xmin</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item row="1" column="1">
  146. <widget class="QLineEdit" name="leWest">
  147. <property name="minimumSize">
  148. <size>
  149. <width>85</width>
  150. <height>0</height>
  151. </size>
  152. </property>
  153. <property name="text">
  154. <string>-180</string>
  155. </property>
  156. </widget>
  157. </item>
  158. <item row="1" column="2">
  159. <widget class="QLabel" name="label_8">
  160. <property name="text">
  161. <string>Ymin</string>
  162. </property>
  163. </widget>
  164. </item>
  165. <item row="1" column="3" colspan="2">
  166. <widget class="QLineEdit" name="leSouth">
  167. <property name="minimumSize">
  168. <size>
  169. <width>85</width>
  170. <height>0</height>
  171. </size>
  172. </property>
  173. <property name="text">
  174. <string>-90</string>
  175. </property>
  176. </widget>
  177. </item>
  178. </layout>
  179. </item>
  180. <item row="0" column="2">
  181. <widget class="QLabel" name="label">
  182. <property name="text">
  183. <string> From</string>
  184. </property>
  185. </widget>
  186. </item>
  187. </layout>
  188. </widget>
  189. </item>
  190. <item>
  191. <widget class="QGroupBox" name="groupBox_2">
  192. <property name="sizePolicy">
  193. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  194. <horstretch>0</horstretch>
  195. <verstretch>0</verstretch>
  196. </sizepolicy>
  197. </property>
  198. <property name="title">
  199. <string>Results</string>
  200. </property>
  201. <layout class="QGridLayout" name="gridLayout_5">
  202. <item row="1" column="0" colspan="3">
  203. <widget class="QLabel" name="lblResults">
  204. <property name="text">
  205. <string/>
  206. </property>
  207. </widget>
  208. </item>
  209. <item row="3" column="0">
  210. <widget class="QPushButton" name="btnFirst">
  211. <property name="text">
  212. <string>&lt;&lt;</string>
  213. </property>
  214. </widget>
  215. </item>
  216. <item row="1" column="3" colspan="2">
  217. <widget class="QPushButton" name="btnViewRawAPIResponse">
  218. <property name="text">
  219. <string>View Raw API Response</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>&lt;</string>
  233. </property>
  234. </widget>
  235. </item>
  236. <item row="2" column="0" colspan="5">
  237. <widget class="QTreeWidget" name="treeRecords">
  238. <property name="toolTip">
  239. <string>Double-click to see full record information</string>
  240. </property>
  241. <property name="editTriggers">
  242. <set>QAbstractItemView::NoEditTriggers</set>
  243. </property>
  244. <property name="alternatingRowColors">
  245. <bool>true</bool>
  246. </property>
  247. <property name="rootIsDecorated">
  248. <bool>false</bool>
  249. </property>
  250. <property name="itemsExpandable">
  251. <bool>false</bool>
  252. </property>
  253. <property name="sortingEnabled">
  254. <bool>true</bool>
  255. </property>
  256. <property name="allColumnsShowFocus">
  257. <bool>true</bool>
  258. </property>
  259. <attribute name="headerStretchLastSection">
  260. <bool>true</bool>
  261. </attribute>
  262. <column>
  263. <property name="text">
  264. <string>Type</string>
  265. </property>
  266. </column>
  267. <column>
  268. <property name="text">
  269. <string>Title</string>
  270. </property>
  271. </column>
  272. </widget>
  273. </item>
  274. <item row="3" column="4">
  275. <widget class="QPushButton" name="btnLast">
  276. <property name="minimumSize">
  277. <size>
  278. <width>140</width>
  279. <height>0</height>
  280. </size>
  281. </property>
  282. <property name="text">
  283. <string>&gt;&gt;</string>
  284. </property>
  285. </widget>
  286. </item>
  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>
  294. </property>
  295. <property name="text">
  296. <string>&gt;</string>
  297. </property>
  298. </widget>
  299. </item>
  300. <item row="5" column="0">
  301. <widget class="QToolButton" name="tbAddData">
  302. <property name="sizePolicy">
  303. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  304. <horstretch>0</horstretch>
  305. <verstretch>0</verstretch>
  306. </sizepolicy>
  307. </property>
  308. <property name="minimumSize">
  309. <size>
  310. <width>145</width>
  311. <height>27</height>
  312. </size>
  313. </property>
  314. <property name="maximumSize">
  315. <size>
  316. <width>145</width>
  317. <height>27</height>
  318. </size>
  319. </property>
  320. <property name="text">
  321. <string>Add Data</string>
  322. </property>
  323. <property name="popupMode">
  324. <enum>QToolButton::InstantPopup</enum>
  325. </property>
  326. <property name="toolButtonStyle">
  327. <enum>Qt::ToolButtonTextOnly</enum>
  328. </property>
  329. <property name="autoRaise">
  330. <bool>false</bool>
  331. </property>
  332. <property name="arrowType">
  333. <enum>Qt::NoArrow</enum>
  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. <action name="mActionAddAms">
  363. <property name="icon">
  364. <iconset>
  365. <normaloff>:/images/themes/default/mActionAddAmsLayer.svg</normaloff>:/images/themes/default/mActionAddAmsLayer.svg</iconset>
  366. </property>
  367. <property name="text">
  368. <string>Add ArcGIS MapServer</string>
  369. </property>
  370. </action>
  371. <action name="mActionAddAfs">
  372. <property name="icon">
  373. <iconset>
  374. <normaloff>:/images/themes/default/mActionAddAfsLayer.svg</normaloff>:/images/themes/default/mActionAddAfsLayer.svg</iconset>
  375. </property>
  376. <property name="text">
  377. <string>Add ArcGIS FeatureServer</string>
  378. </property>
  379. </action>
  380. <action name="mActionAddGisFile">
  381. <property name="icon">
  382. <iconset>
  383. <normaloff>:/images/themes/default/mActionAddAfsLayer.svg</normaloff>:/images/themes/default/mActionAddAfsLayer.svg</iconset>
  384. </property>
  385. <property name="text">
  386. <string>Add GIS File</string>
  387. </property>
  388. </action>
  389. <addaction name="mActionAddWms"/>
  390. <addaction name="mActionAddWfs"/>
  391. <addaction name="mActionAddWcs"/>
  392. <addaction name="mActionAddAms"/>
  393. <addaction name="mActionAddAfs"/>
  394. <addaction name="mActionAddGisFile"/>
  395. </widget>
  396. </item>
  397. </layout>
  398. <zorder>treeRecords</zorder>
  399. <zorder>lblResults</zorder>
  400. <zorder>btnPrev</zorder>
  401. <zorder>btnFirst</zorder>
  402. <zorder>btnViewRawAPIResponse</zorder>
  403. <zorder>btnLast</zorder>
  404. <zorder>btnNext</zorder>
  405. <zorder>tbAddData</zorder>
  406. </widget>
  407. </item>
  408. </layout>
  409. </widget>
  410. <widget class="QWidget" name="tabServers">
  411. <attribute name="title">
  412. <string>Services</string>
  413. </attribute>
  414. <layout class="QGridLayout" name="gridLayout">
  415. <item row="0" column="0" colspan="5">
  416. <widget class="QComboBox" name="cmbConnectionsServices"/>
  417. </item>
  418. <item row="1" column="0">
  419. <widget class="QPushButton" name="btnServerInfo">
  420. <property name="text">
  421. <string>Service Info</string>
  422. </property>
  423. </widget>
  424. </item>
  425. <item row="1" column="1" colspan="2">
  426. <widget class="QPushButton" name="btnRawAPIResponse">
  427. <property name="text">
  428. <string>Raw API Response</string>
  429. </property>
  430. </widget>
  431. </item>
  432. <item row="2" column="0">
  433. <widget class="QPushButton" name="btnNew">
  434. <property name="text">
  435. <string>New…</string>
  436. </property>
  437. </widget>
  438. </item>
  439. <item row="2" column="1">
  440. <widget class="QPushButton" name="btnEdit">
  441. <property name="text">
  442. <string>Edit…</string>
  443. </property>
  444. </widget>
  445. </item>
  446. <item row="2" column="2">
  447. <widget class="QPushButton" name="btnDelete">
  448. <property name="text">
  449. <string>Delete…</string>
  450. </property>
  451. </widget>
  452. </item>
  453. <item row="2" column="4">
  454. <widget class="QPushButton" name="btnSave">
  455. <property name="text">
  456. <string>Save…</string>
  457. </property>
  458. </widget>
  459. </item>
  460. <item row="3" column="0" colspan="5">
  461. <widget class="QTextBrowser" name="textMetadata">
  462. <property name="openExternalLinks">
  463. <bool>true</bool>
  464. </property>
  465. </widget>
  466. </item>
  467. <item row="1" column="3" colspan="2">
  468. <widget class="QPushButton" name="btnAddDefault">
  469. <property name="text">
  470. <string>Add Default Services</string>
  471. </property>
  472. </widget>
  473. </item>
  474. <item row="2" column="3">
  475. <widget class="QPushButton" name="btnLoad">
  476. <property name="text">
  477. <string>Load…</string>
  478. </property>
  479. </widget>
  480. </item>
  481. </layout>
  482. </widget>
  483. <widget class="QWidget" name="tabSettings">
  484. <attribute name="title">
  485. <string>Settings</string>
  486. </attribute>
  487. <layout class="QVBoxLayout" name="verticalLayout_4">
  488. <item>
  489. <widget class="QGroupBox" name="groupBox_4">
  490. <property name="title">
  491. <string>Server</string>
  492. </property>
  493. <layout class="QGridLayout" name="gridLayout_4">
  494. <item row="0" column="2">
  495. <widget class="QSpinBox" name="spnTimeout">
  496. <property name="value">
  497. <number>10</number>
  498. </property>
  499. </widget>
  500. </item>
  501. <item row="1" column="0">
  502. <widget class="QLabel" name="label_11">
  503. <property name="text">
  504. <string>Disable SSL verification</string>
  505. </property>
  506. </widget>
  507. </item>
  508. <item row="1" column="2">
  509. <widget class="QCheckBox" name="disableSSLVerification">
  510. <property name="text">
  511. <string/>
  512. </property>
  513. </widget>
  514. </item>
  515. <item row="0" column="3">
  516. <widget class="QLabel" name="label_9">
  517. <property name="text">
  518. <string>seconds</string>
  519. </property>
  520. </widget>
  521. </item>
  522. <item row="0" column="0">
  523. <widget class="QLabel" name="label_10">
  524. <property name="text">
  525. <string>Timeout</string>
  526. </property>
  527. </widget>
  528. </item>
  529. </layout>
  530. </widget>
  531. </item>
  532. <item>
  533. <widget class="QGroupBox" name="groupBox_3">
  534. <property name="title">
  535. <string>Results Paging</string>
  536. </property>
  537. <layout class="QHBoxLayout" name="horizontalLayout_2">
  538. <item>
  539. <widget class="QLabel" name="label_5">
  540. <property name="text">
  541. <string>Show</string>
  542. </property>
  543. </widget>
  544. </item>
  545. <item>
  546. <widget class="QSpinBox" name="spnRecords"/>
  547. </item>
  548. <item>
  549. <widget class="QLabel" name="label_2">
  550. <property name="text">
  551. <string>results at a time</string>
  552. </property>
  553. <property name="alignment">
  554. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  555. </property>
  556. </widget>
  557. </item>
  558. </layout>
  559. </widget>
  560. </item>
  561. <item>
  562. <spacer name="verticalSpacer">
  563. <property name="orientation">
  564. <enum>Qt::Vertical</enum>
  565. </property>
  566. <property name="sizeHint" stdset="0">
  567. <size>
  568. <width>20</width>
  569. <height>40</height>
  570. </size>
  571. </property>
  572. </spacer>
  573. </item>
  574. </layout>
  575. </widget>
  576. </widget>
  577. </item>
  578. <item>
  579. <widget class="QDialogButtonBox" name="buttonBox">
  580. <property name="orientation">
  581. <enum>Qt::Horizontal</enum>
  582. </property>
  583. <property name="standardButtons">
  584. <set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
  585. </property>
  586. </widget>
  587. </item>
  588. </layout>
  589. </widget>
  590. <customwidgets>
  591. <customwidget>
  592. <class>QgsFilterLineEdit</class>
  593. <extends>QLineEdit</extends>
  594. <header>qgis.gui</header>
  595. </customwidget>
  596. </customwidgets>
  597. <resources/>
  598. <connections>
  599. <connection>
  600. <sender>buttonBox</sender>
  601. <signal>accepted()</signal>
  602. <receiver>MetaSearchDialog</receiver>
  603. <slot>accept()</slot>
  604. <hints>
  605. <hint type="sourcelabel">
  606. <x>248</x>
  607. <y>254</y>
  608. </hint>
  609. <hint type="destinationlabel">
  610. <x>157</x>
  611. <y>274</y>
  612. </hint>
  613. </hints>
  614. </connection>
  615. <connection>
  616. <sender>buttonBox</sender>
  617. <signal>rejected()</signal>
  618. <receiver>MetaSearchDialog</receiver>
  619. <slot>reject()</slot>
  620. <hints>
  621. <hint type="sourcelabel">
  622. <x>316</x>
  623. <y>260</y>
  624. </hint>
  625. <hint type="destinationlabel">
  626. <x>286</x>
  627. <y>274</y>
  628. </hint>
  629. </hints>
  630. </connection>
  631. </connections>
  632. </ui>