fork https://github.com/3liz/quickosm mit kleinen fixes fuer qgis2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

quick_query.ui 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ui_quick_query</class>
  4. <widget class="QWidget" name="ui_quick_query">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>644</width>
  10. <height>805</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>QuickOSM - Quick query</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_3">
  17. <item>
  18. <widget class="QScrollArea" name="scrollArea">
  19. <property name="frameShape">
  20. <enum>QFrame::NoFrame</enum>
  21. </property>
  22. <property name="frameShadow">
  23. <enum>QFrame::Plain</enum>
  24. </property>
  25. <property name="widgetResizable">
  26. <bool>true</bool>
  27. </property>
  28. <widget class="QWidget" name="scrollAreaWidgetContents">
  29. <property name="geometry">
  30. <rect>
  31. <x>0</x>
  32. <y>0</y>
  33. <width>636</width>
  34. <height>797</height>
  35. </rect>
  36. </property>
  37. <layout class="QVBoxLayout" name="verticalLayout">
  38. <item>
  39. <layout class="QHBoxLayout" name="horizontalLayout_4">
  40. <item>
  41. <widget class="QPushButton" name="pushButton_mapFeatures">
  42. <property name="text">
  43. <string>Help with key/value</string>
  44. </property>
  45. </widget>
  46. </item>
  47. <item>
  48. <spacer name="horizontalSpacer">
  49. <property name="orientation">
  50. <enum>Qt::Horizontal</enum>
  51. </property>
  52. <property name="sizeHint" stdset="0">
  53. <size>
  54. <width>40</width>
  55. <height>20</height>
  56. </size>
  57. </property>
  58. </spacer>
  59. </item>
  60. <item>
  61. <widget class="QDialogButtonBox" name="buttonBox">
  62. <property name="standardButtons">
  63. <set>QDialogButtonBox::Reset</set>
  64. </property>
  65. </widget>
  66. </item>
  67. </layout>
  68. </item>
  69. <item>
  70. <layout class="QFormLayout" name="formLayout">
  71. <property name="fieldGrowthPolicy">
  72. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  73. </property>
  74. <item row="0" column="0">
  75. <widget class="QLabel" name="label">
  76. <property name="text">
  77. <string>Key</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="0" column="1">
  82. <widget class="QComboBox" name="comboBox_key">
  83. <property name="sizePolicy">
  84. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  85. <horstretch>0</horstretch>
  86. <verstretch>0</verstretch>
  87. </sizepolicy>
  88. </property>
  89. <property name="editable">
  90. <bool>true</bool>
  91. </property>
  92. <property name="sizeAdjustPolicy">
  93. <enum>QComboBox::AdjustToContents</enum>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="1" column="0">
  98. <widget class="QLabel" name="label_2">
  99. <property name="text">
  100. <string>Value</string>
  101. </property>
  102. </widget>
  103. </item>
  104. <item row="1" column="1">
  105. <widget class="QComboBox" name="comboBox_value">
  106. <property name="sizePolicy">
  107. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  108. <horstretch>0</horstretch>
  109. <verstretch>0</verstretch>
  110. </sizepolicy>
  111. </property>
  112. <property name="editable">
  113. <bool>true</bool>
  114. </property>
  115. <property name="sizeAdjustPolicy">
  116. <enum>QComboBox::AdjustToContents</enum>
  117. </property>
  118. </widget>
  119. </item>
  120. <item row="2" column="0">
  121. <widget class="QRadioButton" name="radioButton_place">
  122. <property name="text">
  123. <string/>
  124. </property>
  125. <property name="checked">
  126. <bool>true</bool>
  127. </property>
  128. </widget>
  129. </item>
  130. <item row="2" column="1">
  131. <layout class="QHBoxLayout" name="horizontalLayout_8">
  132. <item>
  133. <widget class="QComboBox" name="comboBox_in_around">
  134. <property name="toolTip">
  135. <string>&quot;In&quot; will search the first multipolygon relation, however &quot;Around&quot; will get the first OSM node.</string>
  136. </property>
  137. </widget>
  138. </item>
  139. <item>
  140. <widget class="QLineEdit" name="lineEdit_nominatim">
  141. <property name="text">
  142. <string/>
  143. </property>
  144. <property name="placeholderText">
  145. <string>A village, a town, ...</string>
  146. </property>
  147. </widget>
  148. </item>
  149. <item>
  150. <widget class="QSpinBox" name="spinBox_distance_point">
  151. <property name="minimum">
  152. <number>1</number>
  153. </property>
  154. <property name="maximum">
  155. <number>999999999</number>
  156. </property>
  157. <property name="singleStep">
  158. <number>100</number>
  159. </property>
  160. <property name="value">
  161. <number>1000</number>
  162. </property>
  163. </widget>
  164. </item>
  165. <item>
  166. <widget class="QLabel" name="label_distance_point">
  167. <property name="text">
  168. <string notr="true">m</string>
  169. </property>
  170. </widget>
  171. </item>
  172. </layout>
  173. </item>
  174. <item row="4" column="0">
  175. <widget class="QRadioButton" name="radioButton_extentMapCanvas">
  176. <property name="text">
  177. <string/>
  178. </property>
  179. </widget>
  180. </item>
  181. <item row="4" column="1">
  182. <widget class="QLabel" name="label_13">
  183. <property name="text">
  184. <string>Extent of the map canvas</string>
  185. </property>
  186. </widget>
  187. </item>
  188. <item row="5" column="0">
  189. <widget class="QRadioButton" name="radioButton_extentLayer">
  190. <property name="text">
  191. <string/>
  192. </property>
  193. </widget>
  194. </item>
  195. <item row="5" column="1">
  196. <layout class="QHBoxLayout" name="horizontalLayout_5">
  197. <item>
  198. <widget class="QLabel" name="label_15">
  199. <property name="text">
  200. <string>Extent of a layer</string>
  201. </property>
  202. </widget>
  203. </item>
  204. <item>
  205. <widget class="QgsMapLayerComboBox" name="comboBox_extentLayer">
  206. <property name="sizePolicy">
  207. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  208. <horstretch>0</horstretch>
  209. <verstretch>0</verstretch>
  210. </sizepolicy>
  211. </property>
  212. </widget>
  213. </item>
  214. </layout>
  215. </item>
  216. </layout>
  217. </item>
  218. <item>
  219. <widget class="QgsCollapsibleGroupBox" name="groupBox">
  220. <property name="title">
  221. <string>Advanced</string>
  222. </property>
  223. <property name="checked">
  224. <bool>false</bool>
  225. </property>
  226. <layout class="QVBoxLayout" name="verticalLayout_2">
  227. <item>
  228. <layout class="QHBoxLayout" name="horizontalLayout_3">
  229. <item>
  230. <layout class="QFormLayout" name="formLayout_3">
  231. <item row="0" column="0">
  232. <widget class="QLabel" name="label_7">
  233. <property name="text">
  234. <string notr="true">Node</string>
  235. </property>
  236. </widget>
  237. </item>
  238. <item row="0" column="1">
  239. <widget class="QCheckBox" name="checkBox_node">
  240. <property name="text">
  241. <string/>
  242. </property>
  243. <property name="checked">
  244. <bool>true</bool>
  245. </property>
  246. </widget>
  247. </item>
  248. <item row="1" column="0">
  249. <widget class="QLabel" name="label_8">
  250. <property name="text">
  251. <string notr="true">Way</string>
  252. </property>
  253. </widget>
  254. </item>
  255. <item row="1" column="1">
  256. <widget class="QCheckBox" name="checkBox_way">
  257. <property name="text">
  258. <string/>
  259. </property>
  260. <property name="checked">
  261. <bool>true</bool>
  262. </property>
  263. </widget>
  264. </item>
  265. <item row="2" column="0">
  266. <widget class="QLabel" name="label_9">
  267. <property name="text">
  268. <string notr="true">Relation</string>
  269. </property>
  270. </widget>
  271. </item>
  272. <item row="2" column="1">
  273. <widget class="QCheckBox" name="checkBox_relation">
  274. <property name="text">
  275. <string/>
  276. </property>
  277. <property name="checked">
  278. <bool>true</bool>
  279. </property>
  280. </widget>
  281. </item>
  282. </layout>
  283. </item>
  284. <item>
  285. <layout class="QFormLayout" name="formLayout_4">
  286. <item row="0" column="0">
  287. <widget class="QLabel" name="label_10">
  288. <property name="text">
  289. <string notr="true">Points</string>
  290. </property>
  291. </widget>
  292. </item>
  293. <item row="0" column="1">
  294. <widget class="QCheckBox" name="checkBox_points">
  295. <property name="text">
  296. <string/>
  297. </property>
  298. <property name="checked">
  299. <bool>true</bool>
  300. </property>
  301. </widget>
  302. </item>
  303. <item row="1" column="1">
  304. <widget class="QCheckBox" name="checkBox_lines">
  305. <property name="text">
  306. <string/>
  307. </property>
  308. <property name="checked">
  309. <bool>true</bool>
  310. </property>
  311. </widget>
  312. </item>
  313. <item row="1" column="0">
  314. <widget class="QLabel" name="label_11">
  315. <property name="text">
  316. <string notr="true">Lines</string>
  317. </property>
  318. </widget>
  319. </item>
  320. <item row="3" column="0">
  321. <widget class="QLabel" name="label_12">
  322. <property name="text">
  323. <string notr="true">Multipolygons</string>
  324. </property>
  325. </widget>
  326. </item>
  327. <item row="3" column="1">
  328. <widget class="QCheckBox" name="checkBox_multipolygons">
  329. <property name="text">
  330. <string/>
  331. </property>
  332. <property name="checked">
  333. <bool>true</bool>
  334. </property>
  335. </widget>
  336. </item>
  337. <item row="2" column="0">
  338. <widget class="QLabel" name="label_14">
  339. <property name="text">
  340. <string notr="true">Multilinestrings</string>
  341. </property>
  342. </widget>
  343. </item>
  344. <item row="2" column="1">
  345. <widget class="QCheckBox" name="checkBox_multilinestrings">
  346. <property name="text">
  347. <string/>
  348. </property>
  349. <property name="checked">
  350. <bool>true</bool>
  351. </property>
  352. </widget>
  353. </item>
  354. </layout>
  355. </item>
  356. </layout>
  357. </item>
  358. <item>
  359. <layout class="QFormLayout" name="formLayout_2">
  360. <item row="0" column="1">
  361. <widget class="QSpinBox" name="spinBox_timeout">
  362. <property name="buttonSymbols">
  363. <enum>QAbstractSpinBox::UpDownArrows</enum>
  364. </property>
  365. <property name="minimum">
  366. <number>25</number>
  367. </property>
  368. <property name="maximum">
  369. <number>2000</number>
  370. </property>
  371. <property name="singleStep">
  372. <number>25</number>
  373. </property>
  374. </widget>
  375. </item>
  376. <item row="0" column="0">
  377. <widget class="QLabel" name="label_5">
  378. <property name="text">
  379. <string>Timeout</string>
  380. </property>
  381. </widget>
  382. </item>
  383. <item row="1" column="0">
  384. <widget class="QLabel" name="label_4">
  385. <property name="text">
  386. <string>Directory</string>
  387. </property>
  388. </widget>
  389. </item>
  390. <item row="1" column="1">
  391. <layout class="QHBoxLayout" name="horizontalLayout">
  392. <item>
  393. <widget class="QLineEdit" name="lineEdit_browseDir">
  394. <property name="placeholderText">
  395. <string>Save to temporary file</string>
  396. </property>
  397. </widget>
  398. </item>
  399. <item>
  400. <widget class="QPushButton" name="pushButton_browse_output_file">
  401. <property name="text">
  402. <string>Browse</string>
  403. </property>
  404. </widget>
  405. </item>
  406. </layout>
  407. </item>
  408. <item row="2" column="0">
  409. <widget class="QLabel" name="label_6">
  410. <property name="text">
  411. <string>File prefix</string>
  412. </property>
  413. </widget>
  414. </item>
  415. <item row="2" column="1">
  416. <widget class="QLineEdit" name="lineEdit_filePrefix"/>
  417. </item>
  418. </layout>
  419. </item>
  420. </layout>
  421. </widget>
  422. </item>
  423. <item>
  424. <layout class="QHBoxLayout" name="horizontalLayout_2">
  425. <property name="sizeConstraint">
  426. <enum>QLayout::SetMinimumSize</enum>
  427. </property>
  428. <item>
  429. <widget class="QPushButton" name="pushButton_showQuery">
  430. <property name="text">
  431. <string>Show query</string>
  432. </property>
  433. </widget>
  434. </item>
  435. <item>
  436. <widget class="QPushButton" name="pushButton_runQuery">
  437. <property name="text">
  438. <string>Run query</string>
  439. </property>
  440. <property name="default">
  441. <bool>true</bool>
  442. </property>
  443. </widget>
  444. </item>
  445. </layout>
  446. </item>
  447. <item>
  448. <widget class="QLabel" name="label_progress">
  449. <property name="sizePolicy">
  450. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  451. <horstretch>0</horstretch>
  452. <verstretch>0</verstretch>
  453. </sizepolicy>
  454. </property>
  455. <property name="text">
  456. <string notr="true">progress text</string>
  457. </property>
  458. </widget>
  459. </item>
  460. <item>
  461. <widget class="QProgressBar" name="progressBar_execution">
  462. <property name="value">
  463. <number>0</number>
  464. </property>
  465. </widget>
  466. </item>
  467. <item>
  468. <spacer name="verticalSpacer">
  469. <property name="orientation">
  470. <enum>Qt::Vertical</enum>
  471. </property>
  472. <property name="sizeHint" stdset="0">
  473. <size>
  474. <width>20</width>
  475. <height>40</height>
  476. </size>
  477. </property>
  478. </spacer>
  479. </item>
  480. </layout>
  481. </widget>
  482. </widget>
  483. </item>
  484. </layout>
  485. </widget>
  486. <customwidgets>
  487. <customwidget>
  488. <class>QgsCollapsibleGroupBox</class>
  489. <extends>QGroupBox</extends>
  490. <header>qgscollapsiblegroupbox.h</header>
  491. <container>1</container>
  492. </customwidget>
  493. <customwidget>
  494. <class>QgsMapLayerComboBox</class>
  495. <extends>QComboBox</extends>
  496. <header>qgsmaplayercombobox.h</header>
  497. </customwidget>
  498. </customwidgets>
  499. <resources>
  500. <include location="../resources.qrc"/>
  501. </resources>
  502. <connections/>
  503. </ui>