subsamplingDlg.ui 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>SubsamplingDialog</class>
  4. <widget class="QDialog" name="SubsamplingDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>350</width>
  10. <height>310</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Cloud sub sampling</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_2">
  17. <item>
  18. <widget class="QGroupBox" name="mainParamGroupBox">
  19. <property name="title">
  20. <string>Sampling parameters</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <property name="leftMargin">
  24. <number>6</number>
  25. </property>
  26. <property name="topMargin">
  27. <number>6</number>
  28. </property>
  29. <property name="rightMargin">
  30. <number>6</number>
  31. </property>
  32. <property name="bottomMargin">
  33. <number>6</number>
  34. </property>
  35. <item>
  36. <layout class="QHBoxLayout">
  37. <item>
  38. <widget class="QLabel" name="label_4">
  39. <property name="text">
  40. <string>method</string>
  41. </property>
  42. </widget>
  43. </item>
  44. <item>
  45. <widget class="QComboBox" name="samplingMethodComboBox"/>
  46. </item>
  47. </layout>
  48. </item>
  49. <item>
  50. <layout class="QHBoxLayout" name="horizontalLayout">
  51. <item>
  52. <widget class="QLabel" name="labelSliderMin">
  53. <property name="text">
  54. <string>none</string>
  55. </property>
  56. <property name="alignment">
  57. <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
  58. </property>
  59. </widget>
  60. </item>
  61. <item>
  62. <spacer name="horizontalSpacer">
  63. <property name="orientation">
  64. <enum>Qt::Horizontal</enum>
  65. </property>
  66. <property name="sizeHint" stdset="0">
  67. <size>
  68. <width>40</width>
  69. <height>20</height>
  70. </size>
  71. </property>
  72. </spacer>
  73. </item>
  74. <item>
  75. <widget class="QLabel" name="labelSliderMax">
  76. <property name="text">
  77. <string>all</string>
  78. </property>
  79. <property name="alignment">
  80. <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>
  81. </property>
  82. </widget>
  83. </item>
  84. </layout>
  85. </item>
  86. <item>
  87. <widget class="QSlider" name="slider">
  88. <property name="toolTip">
  89. <string>The more on the left, the less points will be kept</string>
  90. </property>
  91. <property name="maximum">
  92. <number>10000000</number>
  93. </property>
  94. <property name="singleStep">
  95. <number>10000</number>
  96. </property>
  97. <property name="pageStep">
  98. <number>100000</number>
  99. </property>
  100. <property name="value">
  101. <number>10000000</number>
  102. </property>
  103. <property name="orientation">
  104. <enum>Qt::Horizontal</enum>
  105. </property>
  106. </widget>
  107. </item>
  108. <item>
  109. <layout class="QHBoxLayout" name="horizontalLayout_2">
  110. <item>
  111. <widget class="QLabel" name="valueLabel">
  112. <property name="text">
  113. <string>type of value:</string>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QDoubleSpinBox" name="valueDoubleSpinBox">
  119. <property name="alignment">
  120. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  121. </property>
  122. <property name="decimals">
  123. <number>4</number>
  124. </property>
  125. <property name="maximum">
  126. <double>100.000000000000000</double>
  127. </property>
  128. <property name="singleStep">
  129. <double>0.010000000000000</double>
  130. </property>
  131. <property name="value">
  132. <double>100.000000000000000</double>
  133. </property>
  134. </widget>
  135. </item>
  136. <item>
  137. <spacer name="horizontalSpacer_2">
  138. <property name="orientation">
  139. <enum>Qt::Horizontal</enum>
  140. </property>
  141. <property name="sizeHint" stdset="0">
  142. <size>
  143. <width>40</width>
  144. <height>20</height>
  145. </size>
  146. </property>
  147. </spacer>
  148. </item>
  149. </layout>
  150. </item>
  151. </layout>
  152. </widget>
  153. </item>
  154. <item>
  155. <widget class="QGroupBox" name="sfGroupBox">
  156. <property name="enabled">
  157. <bool>false</bool>
  158. </property>
  159. <property name="toolTip">
  160. <string>To modulate the sampling distance with a scalar field value</string>
  161. </property>
  162. <property name="title">
  163. <string>Use active SF</string>
  164. </property>
  165. <property name="flat">
  166. <bool>false</bool>
  167. </property>
  168. <property name="checkable">
  169. <bool>true</bool>
  170. </property>
  171. <property name="checked">
  172. <bool>false</bool>
  173. </property>
  174. <layout class="QGridLayout" name="gridLayout">
  175. <item row="0" column="1">
  176. <widget class="QLabel" name="label">
  177. <property name="text">
  178. <string>SF value</string>
  179. </property>
  180. </widget>
  181. </item>
  182. <item row="0" column="2">
  183. <widget class="QLabel" name="label_2">
  184. <property name="text">
  185. <string>Spacing value</string>
  186. </property>
  187. </widget>
  188. </item>
  189. <item row="1" column="0">
  190. <widget class="QLabel" name="label_3">
  191. <property name="text">
  192. <string>min</string>
  193. </property>
  194. </widget>
  195. </item>
  196. <item row="1" column="1">
  197. <widget class="QLabel" name="minSFlabel">
  198. <property name="sizePolicy">
  199. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  200. <horstretch>1</horstretch>
  201. <verstretch>0</verstretch>
  202. </sizepolicy>
  203. </property>
  204. <property name="text">
  205. <string notr="true">0</string>
  206. </property>
  207. </widget>
  208. </item>
  209. <item row="1" column="2">
  210. <widget class="QDoubleSpinBox" name="minSFSpacingDoubleSpinBox">
  211. <property name="sizePolicy">
  212. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  213. <horstretch>2</horstretch>
  214. <verstretch>0</verstretch>
  215. </sizepolicy>
  216. </property>
  217. <property name="decimals">
  218. <number>6</number>
  219. </property>
  220. <property name="maximum">
  221. <double>1000000000.000000000000000</double>
  222. </property>
  223. </widget>
  224. </item>
  225. <item row="2" column="0">
  226. <widget class="QLabel" name="label_5">
  227. <property name="text">
  228. <string>max</string>
  229. </property>
  230. </widget>
  231. </item>
  232. <item row="2" column="1">
  233. <widget class="QLabel" name="maxSFlabel">
  234. <property name="sizePolicy">
  235. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  236. <horstretch>1</horstretch>
  237. <verstretch>0</verstretch>
  238. </sizepolicy>
  239. </property>
  240. <property name="text">
  241. <string notr="true">100</string>
  242. </property>
  243. </widget>
  244. </item>
  245. <item row="2" column="2">
  246. <widget class="QDoubleSpinBox" name="maxSFSpacingDoubleSpinBox">
  247. <property name="sizePolicy">
  248. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  249. <horstretch>2</horstretch>
  250. <verstretch>0</verstretch>
  251. </sizepolicy>
  252. </property>
  253. <property name="decimals">
  254. <number>6</number>
  255. </property>
  256. <property name="maximum">
  257. <double>1000000000.000000000000000</double>
  258. </property>
  259. <property name="value">
  260. <double>1.000000000000000</double>
  261. </property>
  262. </widget>
  263. </item>
  264. </layout>
  265. </widget>
  266. </item>
  267. <item>
  268. <spacer name="verticalSpacer">
  269. <property name="orientation">
  270. <enum>Qt::Vertical</enum>
  271. </property>
  272. <property name="sizeHint" stdset="0">
  273. <size>
  274. <width>0</width>
  275. <height>0</height>
  276. </size>
  277. </property>
  278. </spacer>
  279. </item>
  280. <item>
  281. <layout class="QHBoxLayout" name="horizontalLayout_3">
  282. <item>
  283. <spacer name="horizontalSpacer_3">
  284. <property name="orientation">
  285. <enum>Qt::Horizontal</enum>
  286. </property>
  287. <property name="sizeHint" stdset="0">
  288. <size>
  289. <width>40</width>
  290. <height>20</height>
  291. </size>
  292. </property>
  293. </spacer>
  294. </item>
  295. <item>
  296. <widget class="QDialogButtonBox" name="buttonBox">
  297. <property name="orientation">
  298. <enum>Qt::Horizontal</enum>
  299. </property>
  300. <property name="standardButtons">
  301. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  302. </property>
  303. </widget>
  304. </item>
  305. </layout>
  306. </item>
  307. </layout>
  308. </widget>
  309. <tabstops>
  310. <tabstop>samplingMethodComboBox</tabstop>
  311. <tabstop>slider</tabstop>
  312. <tabstop>buttonBox</tabstop>
  313. </tabstops>
  314. <resources/>
  315. <connections>
  316. <connection>
  317. <sender>buttonBox</sender>
  318. <signal>accepted()</signal>
  319. <receiver>SubsamplingDialog</receiver>
  320. <slot>accept()</slot>
  321. <hints>
  322. <hint type="sourcelabel">
  323. <x>219</x>
  324. <y>548</y>
  325. </hint>
  326. <hint type="destinationlabel">
  327. <x>157</x>
  328. <y>274</y>
  329. </hint>
  330. </hints>
  331. </connection>
  332. <connection>
  333. <sender>buttonBox</sender>
  334. <signal>rejected()</signal>
  335. <receiver>SubsamplingDialog</receiver>
  336. <slot>reject()</slot>
  337. <hints>
  338. <hint type="sourcelabel">
  339. <x>219</x>
  340. <y>548</y>
  341. </hint>
  342. <hint type="destinationlabel">
  343. <x>286</x>
  344. <y>274</y>
  345. </hint>
  346. </hints>
  347. </connection>
  348. <connection>
  349. <sender>sfGroupBox</sender>
  350. <signal>toggled(bool)</signal>
  351. <receiver>valueDoubleSpinBox</receiver>
  352. <slot>setDisabled(bool)</slot>
  353. <hints>
  354. <hint type="sourcelabel">
  355. <x>199</x>
  356. <y>198</y>
  357. </hint>
  358. <hint type="destinationlabel">
  359. <x>84</x>
  360. <y>123</y>
  361. </hint>
  362. </hints>
  363. </connection>
  364. </connections>
  365. </ui>