TranslateRotateDialog.ui 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>TranslateRotateOptions</class>
  4. <widget class="QDialog" name="TranslateRotateOptions">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>466</width>
  10. <height>292</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Move and Rotate Options</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_4">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout_2">
  19. <item>
  20. <layout class="QVBoxLayout" name="verticalLayout_3">
  21. <item>
  22. <widget class="QGroupBox" name="Mode">
  23. <property name="title">
  24. <string>Number of Copies</string>
  25. </property>
  26. <layout class="QVBoxLayout" name="verticalLayout">
  27. <item>
  28. <widget class="QRadioButton" name="DeleteOriginal">
  29. <property name="text">
  30. <string>&amp;Delete original</string>
  31. </property>
  32. <property name="shortcut">
  33. <string notr="true">Ctrl+D</string>
  34. </property>
  35. <property name="checked">
  36. <bool>true</bool>
  37. </property>
  38. </widget>
  39. </item>
  40. <item>
  41. <widget class="QRadioButton" name="KeepOriginal">
  42. <property name="text">
  43. <string>&amp;Keep original</string>
  44. </property>
  45. <property name="shortcut">
  46. <string notr="true">Ctrl+K</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item>
  51. <widget class="QRadioButton" name="MultipleCopies">
  52. <property name="text">
  53. <string>&amp;Multiple copies</string>
  54. </property>
  55. <property name="shortcut">
  56. <string notr="true">Ctrl+M</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item>
  61. <widget class="RMathLineEdit" name="NumberOfCopies">
  62. <property name="enabled">
  63. <bool>false</bool>
  64. </property>
  65. <property name="text">
  66. <string notr="true">10</string>
  67. </property>
  68. <property name="angle" stdset="0">
  69. <bool>false</bool>
  70. </property>
  71. </widget>
  72. </item>
  73. </layout>
  74. </widget>
  75. </item>
  76. <item>
  77. <spacer name="verticalSpacer">
  78. <property name="orientation">
  79. <enum>Qt::Vertical</enum>
  80. </property>
  81. <property name="sizeHint" stdset="0">
  82. <size>
  83. <width>20</width>
  84. <height>20</height>
  85. </size>
  86. </property>
  87. </spacer>
  88. </item>
  89. </layout>
  90. </item>
  91. <item>
  92. <spacer name="horizontalSpacer">
  93. <property name="orientation">
  94. <enum>Qt::Horizontal</enum>
  95. </property>
  96. <property name="sizeType">
  97. <enum>QSizePolicy::Maximum</enum>
  98. </property>
  99. <property name="sizeHint" stdset="0">
  100. <size>
  101. <width>13</width>
  102. <height>20</height>
  103. </size>
  104. </property>
  105. </spacer>
  106. </item>
  107. <item>
  108. <layout class="QVBoxLayout" name="verticalLayout_2">
  109. <item>
  110. <widget class="QToolButton" name="toolButton">
  111. <property name="minimumSize">
  112. <size>
  113. <width>210</width>
  114. <height>155</height>
  115. </size>
  116. </property>
  117. <property name="styleSheet">
  118. <string notr="true">border: 1px inset; background-color: rgb(255, 255, 255);</string>
  119. </property>
  120. <property name="icon">
  121. <iconset>
  122. <normaloff>TranslateRotateDialog.svg</normaloff>TranslateRotateDialog.svg</iconset>
  123. </property>
  124. <property name="iconSize">
  125. <size>
  126. <width>210</width>
  127. <height>155</height>
  128. </size>
  129. </property>
  130. </widget>
  131. </item>
  132. <item>
  133. <spacer name="verticalSpacer_2">
  134. <property name="orientation">
  135. <enum>Qt::Vertical</enum>
  136. </property>
  137. <property name="sizeHint" stdset="0">
  138. <size>
  139. <width>20</width>
  140. <height>13</height>
  141. </size>
  142. </property>
  143. </spacer>
  144. </item>
  145. <item>
  146. <layout class="QHBoxLayout" name="horizontalLayout">
  147. <item>
  148. <widget class="QLabel" name="label_2">
  149. <property name="text">
  150. <string>&amp;Angle (a):</string>
  151. </property>
  152. <property name="buddy">
  153. <cstring>Angle</cstring>
  154. </property>
  155. </widget>
  156. </item>
  157. <item>
  158. <widget class="RMathLineEdit" name="Angle">
  159. <property name="text">
  160. <string notr="true">30.0</string>
  161. </property>
  162. <property name="angle" stdset="0">
  163. <bool>true</bool>
  164. </property>
  165. </widget>
  166. </item>
  167. </layout>
  168. </item>
  169. <item>
  170. <widget class="QCheckBox" name="UseCurrentAttributes">
  171. <property name="text">
  172. <string>Use current layer and &amp;attributes</string>
  173. </property>
  174. </widget>
  175. </item>
  176. </layout>
  177. </item>
  178. </layout>
  179. </item>
  180. <item>
  181. <widget class="QDialogButtonBox" name="buttonBox">
  182. <property name="orientation">
  183. <enum>Qt::Horizontal</enum>
  184. </property>
  185. <property name="standardButtons">
  186. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  187. </property>
  188. </widget>
  189. </item>
  190. </layout>
  191. </widget>
  192. <customwidgets>
  193. <customwidget>
  194. <class>RMathLineEdit</class>
  195. <extends>QLineEdit</extends>
  196. <header>RMathLineEdit.h</header>
  197. </customwidget>
  198. </customwidgets>
  199. <resources/>
  200. <connections>
  201. <connection>
  202. <sender>buttonBox</sender>
  203. <signal>accepted()</signal>
  204. <receiver>TranslateRotateOptions</receiver>
  205. <slot>accept()</slot>
  206. <hints>
  207. <hint type="sourcelabel">
  208. <x>248</x>
  209. <y>254</y>
  210. </hint>
  211. <hint type="destinationlabel">
  212. <x>157</x>
  213. <y>274</y>
  214. </hint>
  215. </hints>
  216. </connection>
  217. <connection>
  218. <sender>buttonBox</sender>
  219. <signal>rejected()</signal>
  220. <receiver>TranslateRotateOptions</receiver>
  221. <slot>reject()</slot>
  222. <hints>
  223. <hint type="sourcelabel">
  224. <x>316</x>
  225. <y>260</y>
  226. </hint>
  227. <hint type="destinationlabel">
  228. <x>286</x>
  229. <y>274</y>
  230. </hint>
  231. </hints>
  232. </connection>
  233. <connection>
  234. <sender>MultipleCopies</sender>
  235. <signal>toggled(bool)</signal>
  236. <receiver>NumberOfCopies</receiver>
  237. <slot>setEnabled(bool)</slot>
  238. <hints>
  239. <hint type="sourcelabel">
  240. <x>122</x>
  241. <y>86</y>
  242. </hint>
  243. <hint type="destinationlabel">
  244. <x>122</x>
  245. <y>113</y>
  246. </hint>
  247. </hints>
  248. </connection>
  249. </connections>
  250. </ui>