Rotate2Dialog.ui 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Rotate2Options</class>
  4. <widget class="QDialog" name="Rotate2Options">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>542</width>
  10. <height>323</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Rotate Two Options</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_4">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout">
  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>Rotate2Dialog.svg</normaloff>Rotate2Dialog.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="QFormLayout" name="formLayout">
  147. <item row="0" column="0">
  148. <widget class="QLabel" name="label_2">
  149. <property name="text">
  150. <string>Angle &amp;a:</string>
  151. </property>
  152. <property name="buddy">
  153. <cstring>PrimaryAngle</cstring>
  154. </property>
  155. </widget>
  156. </item>
  157. <item row="0" column="1">
  158. <widget class="RMathLineEdit" name="PrimaryAngle">
  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. <item row="1" column="0">
  168. <widget class="QLabel" name="label_3">
  169. <property name="text">
  170. <string>Angle &amp;b:</string>
  171. </property>
  172. <property name="buddy">
  173. <cstring>SecondaryAngle</cstring>
  174. </property>
  175. </widget>
  176. </item>
  177. <item row="1" column="1">
  178. <widget class="RMathLineEdit" name="SecondaryAngle">
  179. <property name="text">
  180. <string notr="true">-30.0</string>
  181. </property>
  182. <property name="angle" stdset="0">
  183. <bool>true</bool>
  184. </property>
  185. </widget>
  186. </item>
  187. </layout>
  188. </item>
  189. <item>
  190. <widget class="QCheckBox" name="UseCurrentAttributes">
  191. <property name="text">
  192. <string>Use current layer and &amp;attributes</string>
  193. </property>
  194. </widget>
  195. </item>
  196. </layout>
  197. </item>
  198. </layout>
  199. </item>
  200. <item>
  201. <widget class="QDialogButtonBox" name="buttonBox">
  202. <property name="orientation">
  203. <enum>Qt::Horizontal</enum>
  204. </property>
  205. <property name="standardButtons">
  206. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  207. </property>
  208. </widget>
  209. </item>
  210. </layout>
  211. </widget>
  212. <customwidgets>
  213. <customwidget>
  214. <class>RMathLineEdit</class>
  215. <extends>QLineEdit</extends>
  216. <header>RMathLineEdit.h</header>
  217. </customwidget>
  218. </customwidgets>
  219. <tabstops>
  220. <tabstop>DeleteOriginal</tabstop>
  221. <tabstop>KeepOriginal</tabstop>
  222. <tabstop>MultipleCopies</tabstop>
  223. <tabstop>NumberOfCopies</tabstop>
  224. <tabstop>PrimaryAngle</tabstop>
  225. <tabstop>SecondaryAngle</tabstop>
  226. <tabstop>UseCurrentAttributes</tabstop>
  227. <tabstop>buttonBox</tabstop>
  228. </tabstops>
  229. <resources/>
  230. <connections>
  231. <connection>
  232. <sender>buttonBox</sender>
  233. <signal>accepted()</signal>
  234. <receiver>Rotate2Options</receiver>
  235. <slot>accept()</slot>
  236. <hints>
  237. <hint type="sourcelabel">
  238. <x>248</x>
  239. <y>254</y>
  240. </hint>
  241. <hint type="destinationlabel">
  242. <x>157</x>
  243. <y>274</y>
  244. </hint>
  245. </hints>
  246. </connection>
  247. <connection>
  248. <sender>buttonBox</sender>
  249. <signal>rejected()</signal>
  250. <receiver>Rotate2Options</receiver>
  251. <slot>reject()</slot>
  252. <hints>
  253. <hint type="sourcelabel">
  254. <x>316</x>
  255. <y>260</y>
  256. </hint>
  257. <hint type="destinationlabel">
  258. <x>286</x>
  259. <y>274</y>
  260. </hint>
  261. </hints>
  262. </connection>
  263. <connection>
  264. <sender>MultipleCopies</sender>
  265. <signal>toggled(bool)</signal>
  266. <receiver>NumberOfCopies</receiver>
  267. <slot>setEnabled(bool)</slot>
  268. <hints>
  269. <hint type="sourcelabel">
  270. <x>122</x>
  271. <y>86</y>
  272. </hint>
  273. <hint type="destinationlabel">
  274. <x>122</x>
  275. <y>113</y>
  276. </hint>
  277. </hints>
  278. </connection>
  279. </connections>
  280. </ui>