primitiveDistanceDlg.ui 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>primitiveDistanceDlg</class>
  4. <widget class="QDialog" name="primitiveDistanceDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>300</width>
  10. <height>200</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Distance to Primitive</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QLabel" name="label">
  19. <property name="text">
  20. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;[NOTE] This tool will measure the distance to the true primitive (plane, box, sphere, cylinder, or cone) instead of relying on the visual representation of the pritimive as a triangular mesh. &lt;span style=&quot; font-weight:600;&quot;&gt;This is faster and more accurate.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  21. </property>
  22. <property name="alignment">
  23. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  24. </property>
  25. <property name="wordWrap">
  26. <bool>true</bool>
  27. </property>
  28. </widget>
  29. </item>
  30. <item>
  31. <spacer name="verticalSpacer">
  32. <property name="orientation">
  33. <enum>Qt::Vertical</enum>
  34. </property>
  35. <property name="sizeHint" stdset="0">
  36. <size>
  37. <width>20</width>
  38. <height>17</height>
  39. </size>
  40. </property>
  41. </spacer>
  42. </item>
  43. <item>
  44. <widget class="QCheckBox" name="treatPlanesAsBoundedCheckBox">
  45. <property name="text">
  46. <string>treat planes as bounded</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item>
  51. <layout class="QHBoxLayout" name="horizontalLayout">
  52. <item>
  53. <widget class="QCheckBox" name="signedDistCheckBox">
  54. <property name="toolTip">
  55. <string>compute signed distances</string>
  56. </property>
  57. <property name="statusTip">
  58. <string>compute signed distances</string>
  59. </property>
  60. <property name="text">
  61. <string>signed distances</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item>
  66. <widget class="QCheckBox" name="flipNormalsCheckBox">
  67. <property name="enabled">
  68. <bool>false</bool>
  69. </property>
  70. <property name="sizePolicy">
  71. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  72. <horstretch>0</horstretch>
  73. <verstretch>0</verstretch>
  74. </sizepolicy>
  75. </property>
  76. <property name="text">
  77. <string>flip normals</string>
  78. </property>
  79. </widget>
  80. </item>
  81. </layout>
  82. </item>
  83. <item>
  84. <spacer name="verticalSpacer_2">
  85. <property name="orientation">
  86. <enum>Qt::Vertical</enum>
  87. </property>
  88. <property name="sizeHint" stdset="0">
  89. <size>
  90. <width>20</width>
  91. <height>18</height>
  92. </size>
  93. </property>
  94. </spacer>
  95. </item>
  96. <item>
  97. <widget class="QDialogButtonBox" name="buttonBox">
  98. <property name="orientation">
  99. <enum>Qt::Horizontal</enum>
  100. </property>
  101. <property name="standardButtons">
  102. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  103. </property>
  104. </widget>
  105. </item>
  106. </layout>
  107. </widget>
  108. <resources/>
  109. <connections>
  110. <connection>
  111. <sender>buttonBox</sender>
  112. <signal>accepted()</signal>
  113. <receiver>primitiveDistanceDlg</receiver>
  114. <slot>accept()</slot>
  115. <hints>
  116. <hint type="sourcelabel">
  117. <x>248</x>
  118. <y>254</y>
  119. </hint>
  120. <hint type="destinationlabel">
  121. <x>157</x>
  122. <y>274</y>
  123. </hint>
  124. </hints>
  125. </connection>
  126. <connection>
  127. <sender>buttonBox</sender>
  128. <signal>rejected()</signal>
  129. <receiver>primitiveDistanceDlg</receiver>
  130. <slot>reject()</slot>
  131. <hints>
  132. <hint type="sourcelabel">
  133. <x>316</x>
  134. <y>260</y>
  135. </hint>
  136. <hint type="destinationlabel">
  137. <x>286</x>
  138. <y>274</y>
  139. </hint>
  140. </hints>
  141. </connection>
  142. <connection>
  143. <sender>signedDistCheckBox</sender>
  144. <signal>toggled(bool)</signal>
  145. <receiver>flipNormalsCheckBox</receiver>
  146. <slot>setEnabled(bool)</slot>
  147. <hints>
  148. <hint type="sourcelabel">
  149. <x>60</x>
  150. <y>125</y>
  151. </hint>
  152. <hint type="destinationlabel">
  153. <x>203</x>
  154. <y>125</y>
  155. </hint>
  156. </hints>
  157. </connection>
  158. </connections>
  159. </ui>