Scale.ui 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Scale</class>
  4. <widget class="QWidget" name="Scale">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>810</width>
  10. <height>50</height>
  11. </rect>
  12. </property>
  13. <layout class="QHBoxLayout" name="horizontalLayout">
  14. <item>
  15. <widget class="QCheckBox" name="Copy">
  16. <property name="text">
  17. <string>Copy</string>
  18. </property>
  19. </widget>
  20. </item>
  21. <item>
  22. <widget class="Line" name="line">
  23. <property name="orientation">
  24. <enum>Qt::Vertical</enum>
  25. </property>
  26. </widget>
  27. </item>
  28. <item>
  29. <widget class="QLabel" name="LabelNumberOfCopies">
  30. <property name="text">
  31. <string>Number of Copies:</string>
  32. </property>
  33. </widget>
  34. </item>
  35. <item>
  36. <widget class="RMathLineEdit" name="NumberOfCopies">
  37. <property name="text">
  38. <string notr="true">1</string>
  39. </property>
  40. <property name="angle" stdset="0">
  41. <bool>false</bool>
  42. </property>
  43. <property name="integer" stdset="0">
  44. <bool>true</bool>
  45. </property>
  46. <property name="defaultUnit" stdset="0">
  47. <number>0</number>
  48. </property>
  49. </widget>
  50. </item>
  51. <item>
  52. <widget class="Line" name="line_2">
  53. <property name="orientation">
  54. <enum>Qt::Vertical</enum>
  55. </property>
  56. </widget>
  57. </item>
  58. <item>
  59. <widget class="QCheckBox" name="UseCurrentAttributes">
  60. <property name="text">
  61. <string>Use current layer and &amp;attributes</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item>
  66. <widget class="Line" name="line_3">
  67. <property name="orientation">
  68. <enum>Qt::Vertical</enum>
  69. </property>
  70. </widget>
  71. </item>
  72. <item>
  73. <widget class="QLabel" name="FactorX_Label">
  74. <property name="text">
  75. <string>Factor x:</string>
  76. </property>
  77. </widget>
  78. </item>
  79. <item>
  80. <widget class="RMathLineEdit" name="FactorX">
  81. <property name="text">
  82. <string>1</string>
  83. </property>
  84. </widget>
  85. </item>
  86. <item>
  87. <widget class="QLabel" name="FactorY_Label">
  88. <property name="text">
  89. <string>Factor y:</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <widget class="RMathLineEdit" name="FactorY">
  95. <property name="text">
  96. <string>1</string>
  97. </property>
  98. </widget>
  99. </item>
  100. <item>
  101. <widget class="QToolButton" name="KeepProportions">
  102. <property name="toolTip">
  103. <string>Proportional</string>
  104. </property>
  105. <property name="icon">
  106. <iconset>
  107. <normaloff>KeepProportionsOnSq.svg</normaloff>KeepProportionsOnSq.svg</iconset>
  108. </property>
  109. <property name="checkable">
  110. <bool>true</bool>
  111. </property>
  112. <property name="checked">
  113. <bool>true</bool>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QToolButton" name="FactorByMouse">
  119. <property name="toolTip">
  120. <string>Define factor using mouse cursor</string>
  121. </property>
  122. <property name="icon">
  123. <iconset>
  124. <normaloff>ByMouseSq.svg</normaloff>ByMouseSq.svg</iconset>
  125. </property>
  126. <property name="checkable">
  127. <bool>true</bool>
  128. </property>
  129. </widget>
  130. </item>
  131. </layout>
  132. </widget>
  133. <customwidgets>
  134. <customwidget>
  135. <class>RMathLineEdit</class>
  136. <extends>QLineEdit</extends>
  137. <header>RMathLineEdit.h</header>
  138. </customwidget>
  139. </customwidgets>
  140. <resources/>
  141. <connections>
  142. <connection>
  143. <sender>KeepProportions</sender>
  144. <signal>toggled(bool)</signal>
  145. <receiver>FactorY</receiver>
  146. <slot>setDisabled(bool)</slot>
  147. <hints>
  148. <hint type="sourcelabel">
  149. <x>754</x>
  150. <y>24</y>
  151. </hint>
  152. <hint type="destinationlabel">
  153. <x>709</x>
  154. <y>24</y>
  155. </hint>
  156. </hints>
  157. </connection>
  158. <connection>
  159. <sender>KeepProportions</sender>
  160. <signal>toggled(bool)</signal>
  161. <receiver>FactorY_Label</receiver>
  162. <slot>setDisabled(bool)</slot>
  163. <hints>
  164. <hint type="sourcelabel">
  165. <x>754</x>
  166. <y>24</y>
  167. </hint>
  168. <hint type="destinationlabel">
  169. <x>652</x>
  170. <y>24</y>
  171. </hint>
  172. </hints>
  173. </connection>
  174. <connection>
  175. <sender>FactorByMouse</sender>
  176. <signal>toggled(bool)</signal>
  177. <receiver>FactorX</receiver>
  178. <slot>setDisabled(bool)</slot>
  179. <hints>
  180. <hint type="sourcelabel">
  181. <x>788</x>
  182. <y>24</y>
  183. </hint>
  184. <hint type="destinationlabel">
  185. <x>593</x>
  186. <y>24</y>
  187. </hint>
  188. </hints>
  189. </connection>
  190. <connection>
  191. <sender>FactorByMouse</sender>
  192. <signal>toggled(bool)</signal>
  193. <receiver>FactorX_Label</receiver>
  194. <slot>setDisabled(bool)</slot>
  195. <hints>
  196. <hint type="sourcelabel">
  197. <x>788</x>
  198. <y>24</y>
  199. </hint>
  200. <hint type="destinationlabel">
  201. <x>535</x>
  202. <y>24</y>
  203. </hint>
  204. </hints>
  205. </connection>
  206. <connection>
  207. <sender>FactorByMouse</sender>
  208. <signal>toggled(bool)</signal>
  209. <receiver>FactorY</receiver>
  210. <slot>setDisabled(bool)</slot>
  211. <hints>
  212. <hint type="sourcelabel">
  213. <x>788</x>
  214. <y>24</y>
  215. </hint>
  216. <hint type="destinationlabel">
  217. <x>709</x>
  218. <y>24</y>
  219. </hint>
  220. </hints>
  221. </connection>
  222. <connection>
  223. <sender>FactorByMouse</sender>
  224. <signal>toggled(bool)</signal>
  225. <receiver>FactorY_Label</receiver>
  226. <slot>setDisabled(bool)</slot>
  227. <hints>
  228. <hint type="sourcelabel">
  229. <x>788</x>
  230. <y>24</y>
  231. </hint>
  232. <hint type="destinationlabel">
  233. <x>652</x>
  234. <y>24</y>
  235. </hint>
  236. </hints>
  237. </connection>
  238. <connection>
  239. <sender>FactorByMouse</sender>
  240. <signal>toggled(bool)</signal>
  241. <receiver>KeepProportions</receiver>
  242. <slot>setDisabled(bool)</slot>
  243. <hints>
  244. <hint type="sourcelabel">
  245. <x>788</x>
  246. <y>24</y>
  247. </hint>
  248. <hint type="destinationlabel">
  249. <x>754</x>
  250. <y>24</y>
  251. </hint>
  252. </hints>
  253. </connection>
  254. </connections>
  255. </ui>