TranslateDialog.ui 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>TranslateOptions</class>
  4. <widget class="QDialog" name="TranslateOptions">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>422</width>
  10. <height>264</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Move / Copy Options</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="_2">
  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>10</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="styleSheet">
  112. <string notr="true">border: 1px inset;background-color: rgb(255, 255, 255);</string>
  113. </property>
  114. <property name="icon">
  115. <iconset>
  116. <normaloff>TranslateDialog.svg</normaloff>TranslateDialog.svg</iconset>
  117. </property>
  118. <property name="iconSize">
  119. <size>
  120. <width>210</width>
  121. <height>155</height>
  122. </size>
  123. </property>
  124. </widget>
  125. </item>
  126. <item>
  127. <spacer name="verticalSpacer_2">
  128. <property name="orientation">
  129. <enum>Qt::Vertical</enum>
  130. </property>
  131. <property name="sizeHint" stdset="0">
  132. <size>
  133. <width>20</width>
  134. <height>10</height>
  135. </size>
  136. </property>
  137. </spacer>
  138. </item>
  139. <item>
  140. <widget class="QCheckBox" name="UseCurrentAttributes">
  141. <property name="text">
  142. <string>Use current layer and &amp;attributes</string>
  143. </property>
  144. </widget>
  145. </item>
  146. </layout>
  147. </item>
  148. </layout>
  149. </item>
  150. <item>
  151. <widget class="QDialogButtonBox" name="buttonBox">
  152. <property name="orientation">
  153. <enum>Qt::Horizontal</enum>
  154. </property>
  155. <property name="standardButtons">
  156. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  157. </property>
  158. </widget>
  159. </item>
  160. </layout>
  161. </widget>
  162. <customwidgets>
  163. <customwidget>
  164. <class>RMathLineEdit</class>
  165. <extends>QLineEdit</extends>
  166. <header>RMathLineEdit.h</header>
  167. </customwidget>
  168. </customwidgets>
  169. <tabstops>
  170. <tabstop>DeleteOriginal</tabstop>
  171. <tabstop>KeepOriginal</tabstop>
  172. <tabstop>MultipleCopies</tabstop>
  173. <tabstop>NumberOfCopies</tabstop>
  174. <tabstop>UseCurrentAttributes</tabstop>
  175. <tabstop>buttonBox</tabstop>
  176. </tabstops>
  177. <resources/>
  178. <connections>
  179. <connection>
  180. <sender>buttonBox</sender>
  181. <signal>accepted()</signal>
  182. <receiver>TranslateOptions</receiver>
  183. <slot>accept()</slot>
  184. <hints>
  185. <hint type="sourcelabel">
  186. <x>248</x>
  187. <y>254</y>
  188. </hint>
  189. <hint type="destinationlabel">
  190. <x>157</x>
  191. <y>274</y>
  192. </hint>
  193. </hints>
  194. </connection>
  195. <connection>
  196. <sender>buttonBox</sender>
  197. <signal>rejected()</signal>
  198. <receiver>TranslateOptions</receiver>
  199. <slot>reject()</slot>
  200. <hints>
  201. <hint type="sourcelabel">
  202. <x>316</x>
  203. <y>260</y>
  204. </hint>
  205. <hint type="destinationlabel">
  206. <x>286</x>
  207. <y>274</y>
  208. </hint>
  209. </hints>
  210. </connection>
  211. <connection>
  212. <sender>MultipleCopies</sender>
  213. <signal>toggled(bool)</signal>
  214. <receiver>NumberOfCopies</receiver>
  215. <slot>setEnabled(bool)</slot>
  216. <hints>
  217. <hint type="sourcelabel">
  218. <x>122</x>
  219. <y>86</y>
  220. </hint>
  221. <hint type="destinationlabel">
  222. <x>122</x>
  223. <y>113</y>
  224. </hint>
  225. </hints>
  226. </connection>
  227. </connections>
  228. </ui>