ptsSamplingDlg.ui 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>PointsSamplingDialog</class>
  4. <widget class="QDialog" name="PointsSamplingDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>160</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Points Sampling on mesh</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QFrame" name="parametersFrame">
  19. <property name="sizePolicy">
  20. <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
  21. <horstretch>0</horstretch>
  22. <verstretch>0</verstretch>
  23. </sizepolicy>
  24. </property>
  25. <layout class="QGridLayout" name="gridLayout">
  26. <property name="margin">
  27. <number>0</number>
  28. </property>
  29. <item row="0" column="0">
  30. <widget class="QRadioButton" name="pnRadioButton">
  31. <property name="toolTip">
  32. <string>Total number of sampled points (approx.)</string>
  33. </property>
  34. <property name="text">
  35. <string>Points Number</string>
  36. </property>
  37. <property name="checked">
  38. <bool>true</bool>
  39. </property>
  40. </widget>
  41. </item>
  42. <item row="0" column="1">
  43. <widget class="QRadioButton" name="dRadioButton">
  44. <property name="toolTip">
  45. <string>Density: pts/square unit</string>
  46. </property>
  47. <property name="text">
  48. <string>Density</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item row="1" column="0">
  53. <widget class="QSpinBox" name="pnSpinBox">
  54. <property name="toolTip">
  55. <string>Total number of sampled points (approx.)</string>
  56. </property>
  57. <property name="minimum">
  58. <number>1</number>
  59. </property>
  60. <property name="maximum">
  61. <number>100000000</number>
  62. </property>
  63. <property name="singleStep">
  64. <number>10000</number>
  65. </property>
  66. <property name="value">
  67. <number>1000000</number>
  68. </property>
  69. </widget>
  70. </item>
  71. <item row="1" column="1">
  72. <widget class="QDoubleSpinBox" name="dDoubleSpinBox">
  73. <property name="enabled">
  74. <bool>false</bool>
  75. </property>
  76. <property name="toolTip">
  77. <string>Density: pts/square unit</string>
  78. </property>
  79. <property name="decimals">
  80. <number>6</number>
  81. </property>
  82. <property name="minimum">
  83. <double>0.000001000000000</double>
  84. </property>
  85. <property name="maximum">
  86. <double>100000000.000000000000000</double>
  87. </property>
  88. <property name="value">
  89. <double>10.000000000000000</double>
  90. </property>
  91. </widget>
  92. </item>
  93. </layout>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QFrame" name="optionsFrame">
  98. <property name="frameShape">
  99. <enum>QFrame::StyledPanel</enum>
  100. </property>
  101. <property name="frameShadow">
  102. <enum>QFrame::Raised</enum>
  103. </property>
  104. <layout class="QVBoxLayout" name="verticalLayout_2">
  105. <property name="margin">
  106. <number>0</number>
  107. </property>
  108. <item>
  109. <widget class="QCheckBox" name="normalsCheckBox">
  110. <property name="text">
  111. <string>generate normals</string>
  112. </property>
  113. <property name="checked">
  114. <bool>true</bool>
  115. </property>
  116. </widget>
  117. </item>
  118. <item>
  119. <layout class="QHBoxLayout" name="horizontalLayout">
  120. <item>
  121. <widget class="QLabel" name="label">
  122. <property name="text">
  123. <string>get colors</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item>
  128. <widget class="QCheckBox" name="colorsCheckBox">
  129. <property name="text">
  130. <string>from RGB</string>
  131. </property>
  132. <property name="checked">
  133. <bool>true</bool>
  134. </property>
  135. </widget>
  136. </item>
  137. <item>
  138. <widget class="QCheckBox" name="textureCheckBox">
  139. <property name="text">
  140. <string>or from material/texture if available</string>
  141. </property>
  142. <property name="checked">
  143. <bool>true</bool>
  144. </property>
  145. </widget>
  146. </item>
  147. <item>
  148. <spacer name="horizontalSpacer">
  149. <property name="orientation">
  150. <enum>Qt::Horizontal</enum>
  151. </property>
  152. <property name="sizeHint" stdset="0">
  153. <size>
  154. <width>40</width>
  155. <height>20</height>
  156. </size>
  157. </property>
  158. </spacer>
  159. </item>
  160. </layout>
  161. </item>
  162. </layout>
  163. </widget>
  164. </item>
  165. <item>
  166. <spacer name="verticalSpacer">
  167. <property name="orientation">
  168. <enum>Qt::Vertical</enum>
  169. </property>
  170. <property name="sizeHint" stdset="0">
  171. <size>
  172. <width>20</width>
  173. <height>40</height>
  174. </size>
  175. </property>
  176. </spacer>
  177. </item>
  178. <item>
  179. <widget class="QDialogButtonBox" name="buttonBox">
  180. <property name="orientation">
  181. <enum>Qt::Horizontal</enum>
  182. </property>
  183. <property name="standardButtons">
  184. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  185. </property>
  186. </widget>
  187. </item>
  188. </layout>
  189. </widget>
  190. <resources/>
  191. <connections>
  192. <connection>
  193. <sender>buttonBox</sender>
  194. <signal>accepted()</signal>
  195. <receiver>PointsSamplingDialog</receiver>
  196. <slot>accept()</slot>
  197. <hints>
  198. <hint type="sourcelabel">
  199. <x>248</x>
  200. <y>254</y>
  201. </hint>
  202. <hint type="destinationlabel">
  203. <x>157</x>
  204. <y>274</y>
  205. </hint>
  206. </hints>
  207. </connection>
  208. <connection>
  209. <sender>buttonBox</sender>
  210. <signal>rejected()</signal>
  211. <receiver>PointsSamplingDialog</receiver>
  212. <slot>reject()</slot>
  213. <hints>
  214. <hint type="sourcelabel">
  215. <x>316</x>
  216. <y>260</y>
  217. </hint>
  218. <hint type="destinationlabel">
  219. <x>286</x>
  220. <y>274</y>
  221. </hint>
  222. </hints>
  223. </connection>
  224. <connection>
  225. <sender>dRadioButton</sender>
  226. <signal>toggled(bool)</signal>
  227. <receiver>dDoubleSpinBox</receiver>
  228. <slot>setEnabled(bool)</slot>
  229. <hints>
  230. <hint type="sourcelabel">
  231. <x>296</x>
  232. <y>17</y>
  233. </hint>
  234. <hint type="destinationlabel">
  235. <x>296</x>
  236. <y>42</y>
  237. </hint>
  238. </hints>
  239. </connection>
  240. <connection>
  241. <sender>pnRadioButton</sender>
  242. <signal>toggled(bool)</signal>
  243. <receiver>pnSpinBox</receiver>
  244. <slot>setEnabled(bool)</slot>
  245. <hints>
  246. <hint type="sourcelabel">
  247. <x>102</x>
  248. <y>17</y>
  249. </hint>
  250. <hint type="destinationlabel">
  251. <x>102</x>
  252. <y>42</y>
  253. </hint>
  254. </hints>
  255. </connection>
  256. </connections>
  257. </ui>