noiseFilterDlg.ui 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NoiseFilterDialog</class>
  4. <widget class="QDialog" name="NoiseFilterDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>302</width>
  10. <height>228</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Filter noise</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QGroupBox" name="groupBox">
  19. <property name="title">
  20. <string>Neighbors</string>
  21. </property>
  22. <layout class="QFormLayout" name="formLayout_2">
  23. <item row="0" column="0">
  24. <widget class="QRadioButton" name="knnRadioButton">
  25. <property name="text">
  26. <string>Points (kNN)</string>
  27. </property>
  28. </widget>
  29. </item>
  30. <item row="0" column="1">
  31. <widget class="QRadioButton" name="radiusRadioButton">
  32. <property name="text">
  33. <string>Radius (Sphere)</string>
  34. </property>
  35. <property name="checked">
  36. <bool>true</bool>
  37. </property>
  38. </widget>
  39. </item>
  40. <item row="1" column="0">
  41. <widget class="QSpinBox" name="knnSpinBox">
  42. <property name="enabled">
  43. <bool>false</bool>
  44. </property>
  45. <property name="minimum">
  46. <number>3</number>
  47. </property>
  48. <property name="maximum">
  49. <number>1000000000</number>
  50. </property>
  51. <property name="value">
  52. <number>8</number>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="1" column="1">
  57. <widget class="QDoubleSpinBox" name="radiusDoubleSpinBox">
  58. <property name="decimals">
  59. <number>6</number>
  60. </property>
  61. <property name="maximum">
  62. <double>1000000000.000000000000000</double>
  63. </property>
  64. </widget>
  65. </item>
  66. </layout>
  67. </widget>
  68. </item>
  69. <item>
  70. <widget class="QGroupBox" name="groupBox_2">
  71. <property name="title">
  72. <string>Max error</string>
  73. </property>
  74. <layout class="QFormLayout" name="formLayout">
  75. <item row="0" column="0">
  76. <widget class="QRadioButton" name="relativeRadioButton">
  77. <property name="text">
  78. <string>Relative</string>
  79. </property>
  80. <property name="checked">
  81. <bool>true</bool>
  82. </property>
  83. </widget>
  84. </item>
  85. <item row="0" column="1">
  86. <widget class="QRadioButton" name="absErrorRadioButton">
  87. <property name="text">
  88. <string>Absolute</string>
  89. </property>
  90. </widget>
  91. </item>
  92. <item row="1" column="0">
  93. <widget class="QDoubleSpinBox" name="nSigmaDoubleSpinBox">
  94. <property name="value">
  95. <double>1.000000000000000</double>
  96. </property>
  97. </widget>
  98. </item>
  99. <item row="1" column="1">
  100. <widget class="QDoubleSpinBox" name="absErrorDoubleSpinBox">
  101. <property name="enabled">
  102. <bool>false</bool>
  103. </property>
  104. <property name="decimals">
  105. <number>6</number>
  106. </property>
  107. <property name="maximum">
  108. <double>1000000000.000000000000000</double>
  109. </property>
  110. <property name="value">
  111. <double>1.000000000000000</double>
  112. </property>
  113. </widget>
  114. </item>
  115. </layout>
  116. </widget>
  117. </item>
  118. <item>
  119. <widget class="QCheckBox" name="removeIsolatedPointsCheckBox">
  120. <property name="text">
  121. <string>Remove isolated points</string>
  122. </property>
  123. </widget>
  124. </item>
  125. <item>
  126. <widget class="QDialogButtonBox" name="buttonBox">
  127. <property name="orientation">
  128. <enum>Qt::Horizontal</enum>
  129. </property>
  130. <property name="standardButtons">
  131. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  132. </property>
  133. </widget>
  134. </item>
  135. </layout>
  136. </widget>
  137. <resources/>
  138. <connections>
  139. <connection>
  140. <sender>buttonBox</sender>
  141. <signal>accepted()</signal>
  142. <receiver>NoiseFilterDialog</receiver>
  143. <slot>accept()</slot>
  144. <hints>
  145. <hint type="sourcelabel">
  146. <x>248</x>
  147. <y>254</y>
  148. </hint>
  149. <hint type="destinationlabel">
  150. <x>157</x>
  151. <y>274</y>
  152. </hint>
  153. </hints>
  154. </connection>
  155. <connection>
  156. <sender>buttonBox</sender>
  157. <signal>rejected()</signal>
  158. <receiver>NoiseFilterDialog</receiver>
  159. <slot>reject()</slot>
  160. <hints>
  161. <hint type="sourcelabel">
  162. <x>316</x>
  163. <y>260</y>
  164. </hint>
  165. <hint type="destinationlabel">
  166. <x>286</x>
  167. <y>274</y>
  168. </hint>
  169. </hints>
  170. </connection>
  171. <connection>
  172. <sender>knnRadioButton</sender>
  173. <signal>toggled(bool)</signal>
  174. <receiver>knnSpinBox</receiver>
  175. <slot>setEnabled(bool)</slot>
  176. <hints>
  177. <hint type="sourcelabel">
  178. <x>59</x>
  179. <y>40</y>
  180. </hint>
  181. <hint type="destinationlabel">
  182. <x>37</x>
  183. <y>64</y>
  184. </hint>
  185. </hints>
  186. </connection>
  187. <connection>
  188. <sender>radiusRadioButton</sender>
  189. <signal>toggled(bool)</signal>
  190. <receiver>radiusDoubleSpinBox</receiver>
  191. <slot>setEnabled(bool)</slot>
  192. <hints>
  193. <hint type="sourcelabel">
  194. <x>194</x>
  195. <y>40</y>
  196. </hint>
  197. <hint type="destinationlabel">
  198. <x>194</x>
  199. <y>64</y>
  200. </hint>
  201. </hints>
  202. </connection>
  203. <connection>
  204. <sender>relativeRadioButton</sender>
  205. <signal>toggled(bool)</signal>
  206. <receiver>nSigmaDoubleSpinBox</receiver>
  207. <slot>setEnabled(bool)</slot>
  208. <hints>
  209. <hint type="sourcelabel">
  210. <x>49</x>
  211. <y>122</y>
  212. </hint>
  213. <hint type="destinationlabel">
  214. <x>45</x>
  215. <y>146</y>
  216. </hint>
  217. </hints>
  218. </connection>
  219. <connection>
  220. <sender>absErrorRadioButton</sender>
  221. <signal>toggled(bool)</signal>
  222. <receiver>absErrorDoubleSpinBox</receiver>
  223. <slot>setEnabled(bool)</slot>
  224. <hints>
  225. <hint type="sourcelabel">
  226. <x>184</x>
  227. <y>122</y>
  228. </hint>
  229. <hint type="destinationlabel">
  230. <x>184</x>
  231. <y>146</y>
  232. </hint>
  233. </hints>
  234. </connection>
  235. </connections>
  236. </ui>