RestrictAngleLength.ui 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>RestrictAngleLength</class>
  4. <widget class="QWidget" name="RestrictAngleLength">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>539</width>
  10. <height>46</height>
  11. </rect>
  12. </property>
  13. <layout class="QHBoxLayout" name="horizontalLayout">
  14. <item>
  15. <widget class="QCheckBox" name="RestrictAngle">
  16. <property name="text">
  17. <string>Angle:</string>
  18. </property>
  19. </widget>
  20. </item>
  21. <item>
  22. <widget class="RMathLineEdit" name="Angle">
  23. <property name="text">
  24. <string notr="true">1</string>
  25. </property>
  26. <property name="angle" stdset="0">
  27. <bool>true</bool>
  28. </property>
  29. <property name="defaultValue" stdset="0">
  30. <double>1.000000000000000</double>
  31. </property>
  32. <property name="nomeasurements" stdset="0">
  33. <bool>true</bool>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <widget class="QLabel" name="label">
  39. <property name="text">
  40. <string>Base:</string>
  41. </property>
  42. </widget>
  43. </item>
  44. <item>
  45. <widget class="RMathLineEdit" name="BaseAngle">
  46. <property name="text">
  47. <string notr="true">0</string>
  48. </property>
  49. <property name="angle" stdset="0">
  50. <bool>true</bool>
  51. </property>
  52. <property name="defaultValue" stdset="0">
  53. <double>1.000000000000000</double>
  54. </property>
  55. <property name="nomeasurements" stdset="0">
  56. <bool>true</bool>
  57. </property>
  58. </widget>
  59. </item>
  60. <item>
  61. <widget class="Line" name="line">
  62. <property name="orientation">
  63. <enum>Qt::Vertical</enum>
  64. </property>
  65. </widget>
  66. </item>
  67. <item>
  68. <widget class="QCheckBox" name="RestrictLength">
  69. <property name="text">
  70. <string>Distance:</string>
  71. </property>
  72. </widget>
  73. </item>
  74. <item>
  75. <widget class="RMathLineEdit" name="Length">
  76. <property name="text">
  77. <string notr="true">1</string>
  78. </property>
  79. <property name="angle" stdset="0">
  80. <bool>false</bool>
  81. </property>
  82. <property name="defaultValue" stdset="0">
  83. <double>1.000000000000000</double>
  84. </property>
  85. <property name="nomeasurements" stdset="0">
  86. <bool>true</bool>
  87. </property>
  88. </widget>
  89. </item>
  90. <item>
  91. <widget class="QLabel" name="label_2">
  92. <property name="text">
  93. <string>Base:</string>
  94. </property>
  95. </widget>
  96. </item>
  97. <item>
  98. <widget class="RMathLineEdit" name="BaseLength">
  99. <property name="text">
  100. <string notr="true">0</string>
  101. </property>
  102. <property name="angle" stdset="0">
  103. <bool>false</bool>
  104. </property>
  105. <property name="defaultValue" stdset="0">
  106. <double>1.000000000000000</double>
  107. </property>
  108. <property name="nomeasurements" stdset="0">
  109. <bool>true</bool>
  110. </property>
  111. </widget>
  112. </item>
  113. </layout>
  114. </widget>
  115. <customwidgets>
  116. <customwidget>
  117. <class>RMathLineEdit</class>
  118. <extends>QLineEdit</extends>
  119. <header>RMathLineEdit.h</header>
  120. </customwidget>
  121. </customwidgets>
  122. <resources/>
  123. <connections>
  124. <connection>
  125. <sender>RestrictAngle</sender>
  126. <signal>toggled(bool)</signal>
  127. <receiver>Angle</receiver>
  128. <slot>setEnabled(bool)</slot>
  129. <hints>
  130. <hint type="sourcelabel">
  131. <x>57</x>
  132. <y>24</y>
  133. </hint>
  134. <hint type="destinationlabel">
  135. <x>95</x>
  136. <y>21</y>
  137. </hint>
  138. </hints>
  139. </connection>
  140. <connection>
  141. <sender>RestrictAngle</sender>
  142. <signal>toggled(bool)</signal>
  143. <receiver>label</receiver>
  144. <slot>setEnabled(bool)</slot>
  145. <hints>
  146. <hint type="sourcelabel">
  147. <x>46</x>
  148. <y>23</y>
  149. </hint>
  150. <hint type="destinationlabel">
  151. <x>157</x>
  152. <y>23</y>
  153. </hint>
  154. </hints>
  155. </connection>
  156. <connection>
  157. <sender>RestrictAngle</sender>
  158. <signal>toggled(bool)</signal>
  159. <receiver>BaseAngle</receiver>
  160. <slot>setEnabled(bool)</slot>
  161. <hints>
  162. <hint type="sourcelabel">
  163. <x>50</x>
  164. <y>26</y>
  165. </hint>
  166. <hint type="destinationlabel">
  167. <x>215</x>
  168. <y>29</y>
  169. </hint>
  170. </hints>
  171. </connection>
  172. <connection>
  173. <sender>RestrictLength</sender>
  174. <signal>toggled(bool)</signal>
  175. <receiver>Length</receiver>
  176. <slot>setEnabled(bool)</slot>
  177. <hints>
  178. <hint type="sourcelabel">
  179. <x>325</x>
  180. <y>24</y>
  181. </hint>
  182. <hint type="destinationlabel">
  183. <x>384</x>
  184. <y>31</y>
  185. </hint>
  186. </hints>
  187. </connection>
  188. <connection>
  189. <sender>RestrictLength</sender>
  190. <signal>toggled(bool)</signal>
  191. <receiver>label_2</receiver>
  192. <slot>setEnabled(bool)</slot>
  193. <hints>
  194. <hint type="sourcelabel">
  195. <x>331</x>
  196. <y>26</y>
  197. </hint>
  198. <hint type="destinationlabel">
  199. <x>444</x>
  200. <y>20</y>
  201. </hint>
  202. </hints>
  203. </connection>
  204. <connection>
  205. <sender>RestrictLength</sender>
  206. <signal>toggled(bool)</signal>
  207. <receiver>BaseLength</receiver>
  208. <slot>setEnabled(bool)</slot>
  209. <hints>
  210. <hint type="sourcelabel">
  211. <x>325</x>
  212. <y>26</y>
  213. </hint>
  214. <hint type="destinationlabel">
  215. <x>492</x>
  216. <y>23</y>
  217. </hint>
  218. </hints>
  219. </connection>
  220. </connections>
  221. </ui>