clonevmdlg.ui 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CloneVMDlg</class>
  4. <widget class="QDialog" name="CloneVMDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>616</width>
  10. <height>238</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Clone qube</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset theme="qubes-manager">
  18. <normaloff>.</normaloff>.</iconset>
  19. </property>
  20. <layout class="QGridLayout" name="gridLayout_2">
  21. <item row="0" column="0">
  22. <widget class="QTabWidget" name="tabWidget">
  23. <property name="sizePolicy">
  24. <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
  25. <horstretch>0</horstretch>
  26. <verstretch>0</verstretch>
  27. </sizepolicy>
  28. </property>
  29. <property name="currentIndex">
  30. <number>0</number>
  31. </property>
  32. <widget class="QWidget" name="tabWidgetPage1">
  33. <attribute name="title">
  34. <string>Basic</string>
  35. </attribute>
  36. <layout class="QGridLayout" name="gridLayout">
  37. <property name="leftMargin">
  38. <number>12</number>
  39. </property>
  40. <property name="topMargin">
  41. <number>12</number>
  42. </property>
  43. <property name="rightMargin">
  44. <number>12</number>
  45. </property>
  46. <property name="bottomMargin">
  47. <number>12</number>
  48. </property>
  49. <property name="horizontalSpacing">
  50. <number>12</number>
  51. </property>
  52. <property name="verticalSpacing">
  53. <number>9</number>
  54. </property>
  55. <item row="0" column="0">
  56. <widget class="QLabel" name="label_2">
  57. <property name="text">
  58. <string>Source qube:</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="1" column="3">
  63. <widget class="QComboBox" name="label">
  64. <property name="frame">
  65. <bool>true</bool>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="1" column="1" colspan="2">
  70. <widget class="QLineEdit" name="name">
  71. <property name="text">
  72. <string>my-cloned-qube</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item row="0" column="1" colspan="2">
  77. <widget class="QComboBox" name="src_vm"/>
  78. </item>
  79. <item row="1" column="0">
  80. <widget class="QLabel" name="name_label">
  81. <property name="text">
  82. <string>Clone name:</string>
  83. </property>
  84. </widget>
  85. </item>
  86. <item row="5" column="1" colspan="3">
  87. <widget class="QCheckBox" name="launch_settings">
  88. <property name="text">
  89. <string>launch settings after cloning</string>
  90. </property>
  91. </widget>
  92. </item>
  93. </layout>
  94. </widget>
  95. <widget class="QWidget" name="tab">
  96. <attribute name="title">
  97. <string>Advanced</string>
  98. </attribute>
  99. <layout class="QGridLayout" name="gridLayout_4">
  100. <property name="leftMargin">
  101. <number>12</number>
  102. </property>
  103. <property name="topMargin">
  104. <number>12</number>
  105. </property>
  106. <property name="rightMargin">
  107. <number>12</number>
  108. </property>
  109. <property name="bottomMargin">
  110. <number>12</number>
  111. </property>
  112. <property name="horizontalSpacing">
  113. <number>12</number>
  114. </property>
  115. <property name="verticalSpacing">
  116. <number>9</number>
  117. </property>
  118. <item row="1" column="1">
  119. <widget class="QComboBox" name="storage_pool">
  120. <property name="currentText">
  121. <string/>
  122. </property>
  123. </widget>
  124. </item>
  125. <item row="0" column="0" colspan="2">
  126. <widget class="QLabel" name="label_5">
  127. <property name="sizePolicy">
  128. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  129. <horstretch>0</horstretch>
  130. <verstretch>0</verstretch>
  131. </sizepolicy>
  132. </property>
  133. <property name="text">
  134. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Caution&lt;/span&gt;: changing these settings can compromise your system or make the qube unable to boot. Use only if you know what you are doing.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  135. </property>
  136. <property name="wordWrap">
  137. <bool>true</bool>
  138. </property>
  139. </widget>
  140. </item>
  141. <item row="1" column="0">
  142. <widget class="QLabel" name="label_3">
  143. <property name="text">
  144. <string>Storage pool</string>
  145. </property>
  146. </widget>
  147. </item>
  148. <item row="2" column="0">
  149. <spacer name="verticalSpacer">
  150. <property name="orientation">
  151. <enum>Qt::Vertical</enum>
  152. </property>
  153. <property name="sizeHint" stdset="0">
  154. <size>
  155. <width>20</width>
  156. <height>10</height>
  157. </size>
  158. </property>
  159. </spacer>
  160. </item>
  161. </layout>
  162. </widget>
  163. </widget>
  164. </item>
  165. <item row="1" column="0">
  166. <widget class="QDialogButtonBox" name="buttonBox">
  167. <property name="orientation">
  168. <enum>Qt::Horizontal</enum>
  169. </property>
  170. <property name="standardButtons">
  171. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  172. </property>
  173. </widget>
  174. </item>
  175. </layout>
  176. </widget>
  177. <tabstops>
  178. <tabstop>name</tabstop>
  179. <tabstop>label</tabstop>
  180. <tabstop>launch_settings</tabstop>
  181. <tabstop>src_vm</tabstop>
  182. <tabstop>tabWidget</tabstop>
  183. <tabstop>storage_pool</tabstop>
  184. </tabstops>
  185. <resources/>
  186. <connections>
  187. <connection>
  188. <sender>buttonBox</sender>
  189. <signal>accepted()</signal>
  190. <receiver>CloneVMDlg</receiver>
  191. <slot>accept()</slot>
  192. <hints>
  193. <hint type="sourcelabel">
  194. <x>257</x>
  195. <y>190</y>
  196. </hint>
  197. <hint type="destinationlabel">
  198. <x>157</x>
  199. <y>274</y>
  200. </hint>
  201. </hints>
  202. </connection>
  203. <connection>
  204. <sender>buttonBox</sender>
  205. <signal>rejected()</signal>
  206. <receiver>CloneVMDlg</receiver>
  207. <slot>reject()</slot>
  208. <hints>
  209. <hint type="sourcelabel">
  210. <x>325</x>
  211. <y>190</y>
  212. </hint>
  213. <hint type="destinationlabel">
  214. <x>286</x>
  215. <y>274</y>
  216. </hint>
  217. </hints>
  218. </connection>
  219. </connections>
  220. </ui>