DrawPolyline.ui 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DrawPolyline</class>
  4. <widget class="QWidget" name="DrawPolyline">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>541</width>
  10. <height>50</height>
  11. </rect>
  12. </property>
  13. <layout class="QHBoxLayout" name="horizontalLayout">
  14. <item>
  15. <widget class="QToolButton" name="Close">
  16. <property name="sizePolicy">
  17. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  18. <horstretch>0</horstretch>
  19. <verstretch>0</verstretch>
  20. </sizepolicy>
  21. </property>
  22. <property name="toolTip">
  23. <string>Close polyline</string>
  24. </property>
  25. <property name="text">
  26. <string/>
  27. </property>
  28. <property name="icon">
  29. <iconset>
  30. <normaloff>Close.svg</normaloff>Close.svg</iconset>
  31. </property>
  32. <property name="shortcut">
  33. <string>,, C</string>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <widget class="Line" name="SeparatorClose">
  39. <property name="orientation">
  40. <enum>Qt::Vertical</enum>
  41. </property>
  42. </widget>
  43. </item>
  44. <item>
  45. <widget class="QToolButton" name="Undo">
  46. <property name="sizePolicy">
  47. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  48. <horstretch>0</horstretch>
  49. <verstretch>0</verstretch>
  50. </sizepolicy>
  51. </property>
  52. <property name="toolTip">
  53. <string>Undo Previous Segment</string>
  54. </property>
  55. <property name="icon">
  56. <iconset>
  57. <normaloff>Undo.svg</normaloff>Undo.svg</iconset>
  58. </property>
  59. <property name="shortcut">
  60. <string>,, U</string>
  61. </property>
  62. </widget>
  63. </item>
  64. <item>
  65. <widget class="QToolButton" name="Redo">
  66. <property name="sizePolicy">
  67. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  68. <horstretch>0</horstretch>
  69. <verstretch>0</verstretch>
  70. </sizepolicy>
  71. </property>
  72. <property name="toolTip">
  73. <string>Redo Segment</string>
  74. </property>
  75. <property name="icon">
  76. <iconset>
  77. <normaloff>Redo.svg</normaloff>Redo.svg</iconset>
  78. </property>
  79. <property name="shortcut">
  80. <string>,, R</string>
  81. </property>
  82. </widget>
  83. </item>
  84. <item>
  85. <widget class="Line" name="SeparatorRedo">
  86. <property name="orientation">
  87. <enum>Qt::Vertical</enum>
  88. </property>
  89. </widget>
  90. </item>
  91. <item>
  92. <widget class="QCheckBox" name="ArcSegment">
  93. <property name="text">
  94. <string>Arc with radius:</string>
  95. </property>
  96. <property name="shortcut">
  97. <string>,, A</string>
  98. </property>
  99. </widget>
  100. </item>
  101. <item>
  102. <widget class="RMathLineEdit" name="Radius">
  103. <property name="enabled">
  104. <bool>false</bool>
  105. </property>
  106. <property name="text">
  107. <string notr="true">1.0</string>
  108. </property>
  109. <property name="angle" stdset="0">
  110. <bool>false</bool>
  111. </property>
  112. <property name="defaultUnit" stdset="0">
  113. <number>0</number>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QLabel" name="sweepLabel">
  119. <property name="enabled">
  120. <bool>false</bool>
  121. </property>
  122. <property name="text">
  123. <string>Sweep</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item>
  128. <widget class="RMathLineEdit" name="Sweep">
  129. <property name="enabled">
  130. <bool>false</bool>
  131. </property>
  132. <property name="text">
  133. <string notr="true">0.0</string>
  134. </property>
  135. <property name="angle" stdset="0">
  136. <bool>false</bool>
  137. </property>
  138. <property name="defaultUnit" stdset="0">
  139. <number>0</number>
  140. </property>
  141. </widget>
  142. </item>
  143. <item>
  144. <widget class="Line" name="line_3">
  145. <property name="orientation">
  146. <enum>Qt::Vertical</enum>
  147. </property>
  148. </widget>
  149. </item>
  150. <item>
  151. <widget class="QToolButton" name="Restrict">
  152. <property name="sizePolicy">
  153. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  154. <horstretch>0</horstretch>
  155. <verstretch>0</verstretch>
  156. </sizepolicy>
  157. </property>
  158. <property name="toolTip">
  159. <string>Restrict length or angle</string>
  160. </property>
  161. <property name="icon">
  162. <iconset>
  163. <normaloff>../../../Snap/RestrictAngleLength/RestrictAngleLength.svg</normaloff>../../../Snap/RestrictAngleLength/RestrictAngleLength.svg</iconset>
  164. </property>
  165. <property name="checkable">
  166. <bool>true</bool>
  167. </property>
  168. <property name="checked">
  169. <bool>false</bool>
  170. </property>
  171. </widget>
  172. </item>
  173. </layout>
  174. </widget>
  175. <customwidgets>
  176. <customwidget>
  177. <class>RMathLineEdit</class>
  178. <extends>QLineEdit</extends>
  179. <header>RMathLineEdit.h</header>
  180. </customwidget>
  181. </customwidgets>
  182. <resources/>
  183. <connections>
  184. <connection>
  185. <sender>ArcSegment</sender>
  186. <signal>toggled(bool)</signal>
  187. <receiver>Radius</receiver>
  188. <slot>setEnabled(bool)</slot>
  189. <hints>
  190. <hint type="sourcelabel">
  191. <x>119</x>
  192. <y>23</y>
  193. </hint>
  194. <hint type="destinationlabel">
  195. <x>158</x>
  196. <y>26</y>
  197. </hint>
  198. </hints>
  199. </connection>
  200. <connection>
  201. <sender>ArcSegment</sender>
  202. <signal>toggled(bool)</signal>
  203. <receiver>sweepLabel</receiver>
  204. <slot>setEnabled(bool)</slot>
  205. <hints>
  206. <hint type="sourcelabel">
  207. <x>168</x>
  208. <y>16</y>
  209. </hint>
  210. <hint type="destinationlabel">
  211. <x>366</x>
  212. <y>16</y>
  213. </hint>
  214. </hints>
  215. </connection>
  216. <connection>
  217. <sender>ArcSegment</sender>
  218. <signal>toggled(bool)</signal>
  219. <receiver>Sweep</receiver>
  220. <slot>setEnabled(bool)</slot>
  221. <hints>
  222. <hint type="sourcelabel">
  223. <x>168</x>
  224. <y>16</y>
  225. </hint>
  226. <hint type="destinationlabel">
  227. <x>445</x>
  228. <y>16</y>
  229. </hint>
  230. </hints>
  231. </connection>
  232. </connections>
  233. </ui>