newappvmdlg.ui 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NewVMDlg</class>
  4. <widget class="QDialog" name="NewVMDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>616</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Create new 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="1" column="0">
  22. <widget class="QDialogButtonBox" name="buttonBox">
  23. <property name="orientation">
  24. <enum>Qt::Horizontal</enum>
  25. </property>
  26. <property name="standardButtons">
  27. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  28. </property>
  29. </widget>
  30. </item>
  31. <item row="0" column="0">
  32. <widget class="QTabWidget" name="tabWidget">
  33. <property name="sizePolicy">
  34. <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
  35. <horstretch>0</horstretch>
  36. <verstretch>0</verstretch>
  37. </sizepolicy>
  38. </property>
  39. <property name="currentIndex">
  40. <number>0</number>
  41. </property>
  42. <widget class="QWidget" name="tabWidgetPage1">
  43. <attribute name="title">
  44. <string>Basic</string>
  45. </attribute>
  46. <layout class="QGridLayout" name="gridLayout">
  47. <property name="leftMargin">
  48. <number>12</number>
  49. </property>
  50. <property name="topMargin">
  51. <number>12</number>
  52. </property>
  53. <property name="rightMargin">
  54. <number>12</number>
  55. </property>
  56. <property name="bottomMargin">
  57. <number>12</number>
  58. </property>
  59. <property name="horizontalSpacing">
  60. <number>12</number>
  61. </property>
  62. <property name="verticalSpacing">
  63. <number>9</number>
  64. </property>
  65. <item row="6" column="0">
  66. <widget class="QLabel" name="netvm_label">
  67. <property name="text">
  68. <string>Networking:</string>
  69. </property>
  70. </widget>
  71. </item>
  72. <item row="1" column="1" colspan="3">
  73. <widget class="QComboBox" name="vm_type"/>
  74. </item>
  75. <item row="2" column="1" colspan="3">
  76. <widget class="QComboBox" name="template_vm"/>
  77. </item>
  78. <item row="2" column="0">
  79. <widget class="QLabel" name="template_label">
  80. <property name="text">
  81. <string>Template:</string>
  82. </property>
  83. </widget>
  84. </item>
  85. <item row="0" column="0">
  86. <widget class="QLabel" name="name_label">
  87. <property name="text">
  88. <string>Name and label:</string>
  89. </property>
  90. </widget>
  91. </item>
  92. <item row="0" column="1" colspan="2">
  93. <widget class="QLineEdit" name="name">
  94. <property name="text">
  95. <string>my-new-qube</string>
  96. </property>
  97. </widget>
  98. </item>
  99. <item row="0" column="3">
  100. <widget class="QComboBox" name="label">
  101. <property name="frame">
  102. <bool>true</bool>
  103. </property>
  104. </widget>
  105. </item>
  106. <item row="7" column="1" colspan="3">
  107. <widget class="QCheckBox" name="launch_settings">
  108. <property name="text">
  109. <string>launch settings after creation</string>
  110. </property>
  111. </widget>
  112. </item>
  113. <item row="1" column="0">
  114. <widget class="QLabel" name="label_2">
  115. <property name="text">
  116. <string>Type:</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item row="6" column="1" colspan="3">
  121. <widget class="QComboBox" name="netvm"/>
  122. </item>
  123. <item row="8" column="1">
  124. <spacer name="verticalSpacer_2">
  125. <property name="orientation">
  126. <enum>Qt::Vertical</enum>
  127. </property>
  128. <property name="sizeHint" stdset="0">
  129. <size>
  130. <width>20</width>
  131. <height>40</height>
  132. </size>
  133. </property>
  134. </spacer>
  135. </item>
  136. </layout>
  137. </widget>
  138. <widget class="QWidget" name="tab">
  139. <attribute name="title">
  140. <string>Advanced</string>
  141. </attribute>
  142. <layout class="QGridLayout" name="gridLayout_4">
  143. <property name="leftMargin">
  144. <number>12</number>
  145. </property>
  146. <property name="topMargin">
  147. <number>12</number>
  148. </property>
  149. <property name="rightMargin">
  150. <number>12</number>
  151. </property>
  152. <property name="bottomMargin">
  153. <number>12</number>
  154. </property>
  155. <property name="horizontalSpacing">
  156. <number>12</number>
  157. </property>
  158. <property name="verticalSpacing">
  159. <number>9</number>
  160. </property>
  161. <item row="4" column="1">
  162. <widget class="QSpinBox" name="init_ram">
  163. <property name="specialValueText">
  164. <string>(default)</string>
  165. </property>
  166. <property name="suffix">
  167. <string> MB</string>
  168. </property>
  169. <property name="maximum">
  170. <number>90000000</number>
  171. </property>
  172. </widget>
  173. </item>
  174. <item row="0" column="0" colspan="2">
  175. <widget class="QLabel" name="label_5">
  176. <property name="sizePolicy">
  177. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  178. <horstretch>0</horstretch>
  179. <verstretch>0</verstretch>
  180. </sizepolicy>
  181. </property>
  182. <property name="text">
  183. <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>
  184. </property>
  185. <property name="wordWrap">
  186. <bool>true</bool>
  187. </property>
  188. </widget>
  189. </item>
  190. <item row="3" column="1">
  191. <widget class="QComboBox" name="storage_pool">
  192. <property name="currentText">
  193. <string/>
  194. </property>
  195. </widget>
  196. </item>
  197. <item row="3" column="0">
  198. <widget class="QLabel" name="label_3">
  199. <property name="text">
  200. <string>Storage pool</string>
  201. </property>
  202. </widget>
  203. </item>
  204. <item row="4" column="0">
  205. <widget class="QLabel" name="label_4">
  206. <property name="text">
  207. <string>Initial RAM (also available from settings)</string>
  208. </property>
  209. </widget>
  210. </item>
  211. <item row="2" column="0" colspan="2">
  212. <widget class="QCheckBox" name="install_system">
  213. <property name="enabled">
  214. <bool>false</bool>
  215. </property>
  216. <property name="text">
  217. <string>install system from device (also available from settings)</string>
  218. </property>
  219. </widget>
  220. </item>
  221. <item row="1" column="0" colspan="2">
  222. <widget class="QCheckBox" name="provides_network">
  223. <property name="text">
  224. <string>provides network to other qubes</string>
  225. </property>
  226. </widget>
  227. </item>
  228. <item row="5" column="0">
  229. <spacer name="verticalSpacer">
  230. <property name="orientation">
  231. <enum>Qt::Vertical</enum>
  232. </property>
  233. <property name="sizeHint" stdset="0">
  234. <size>
  235. <width>20</width>
  236. <height>40</height>
  237. </size>
  238. </property>
  239. </spacer>
  240. </item>
  241. </layout>
  242. </widget>
  243. </widget>
  244. </item>
  245. </layout>
  246. </widget>
  247. <tabstops>
  248. <tabstop>name</tabstop>
  249. <tabstop>label</tabstop>
  250. <tabstop>vm_type</tabstop>
  251. <tabstop>template_vm</tabstop>
  252. <tabstop>netvm</tabstop>
  253. <tabstop>launch_settings</tabstop>
  254. <tabstop>buttonBox</tabstop>
  255. </tabstops>
  256. <resources/>
  257. <connections>
  258. <connection>
  259. <sender>buttonBox</sender>
  260. <signal>accepted()</signal>
  261. <receiver>NewVMDlg</receiver>
  262. <slot>accept()</slot>
  263. <hints>
  264. <hint type="sourcelabel">
  265. <x>257</x>
  266. <y>190</y>
  267. </hint>
  268. <hint type="destinationlabel">
  269. <x>157</x>
  270. <y>274</y>
  271. </hint>
  272. </hints>
  273. </connection>
  274. <connection>
  275. <sender>buttonBox</sender>
  276. <signal>rejected()</signal>
  277. <receiver>NewVMDlg</receiver>
  278. <slot>reject()</slot>
  279. <hints>
  280. <hint type="sourcelabel">
  281. <x>325</x>
  282. <y>190</y>
  283. </hint>
  284. <hint type="destinationlabel">
  285. <x>286</x>
  286. <y>274</y>
  287. </hint>
  288. </hints>
  289. </connection>
  290. </connections>
  291. </ui>