newappvmdlg.ui 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NewAppVMDlg</class>
  4. <widget class="QDialog" name="NewAppVMDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>507</width>
  10. <height>209</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Create New AppVM</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset>
  18. <normaloff>:/qubes.png</normaloff>:/qubes.png</iconset>
  19. </property>
  20. <layout class="QGridLayout" name="gridLayout_3">
  21. <item row="2" column="0">
  22. <widget class="QTabWidget" name="tabWidget">
  23. <property name="currentIndex">
  24. <number>0</number>
  25. </property>
  26. <widget class="QWidget" name="tab">
  27. <attribute name="title">
  28. <string>Basic</string>
  29. </attribute>
  30. <layout class="QGridLayout" name="gridLayout_2">
  31. <item row="0" column="1" colspan="2">
  32. <widget class="QLineEdit" name="vmname">
  33. <property name="text">
  34. <string>myappvm</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item row="0" column="3">
  39. <widget class="QComboBox" name="vmlabel">
  40. <property name="frame">
  41. <bool>true</bool>
  42. </property>
  43. </widget>
  44. </item>
  45. <item row="0" column="0">
  46. <widget class="QLabel" name="label">
  47. <property name="text">
  48. <string>Name &amp; label:</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item row="1" column="1" colspan="2">
  53. <widget class="QComboBox" name="template_name"/>
  54. </item>
  55. <item row="1" column="0">
  56. <widget class="QLabel" name="label_2">
  57. <property name="text">
  58. <string>Use this template:</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="3" column="0">
  63. <spacer name="verticalSpacer">
  64. <property name="orientation">
  65. <enum>Qt::Vertical</enum>
  66. </property>
  67. <property name="sizeHint" stdset="0">
  68. <size>
  69. <width>20</width>
  70. <height>40</height>
  71. </size>
  72. </property>
  73. </spacer>
  74. </item>
  75. <item row="2" column="0" colspan="2">
  76. <widget class="QCheckBox" name="allow_networking">
  77. <property name="text">
  78. <string>Allow networking</string>
  79. </property>
  80. <property name="checked">
  81. <bool>true</bool>
  82. </property>
  83. </widget>
  84. </item>
  85. </layout>
  86. </widget>
  87. <widget class="QWidget" name="tab_2">
  88. <attribute name="title">
  89. <string>Advanced</string>
  90. </attribute>
  91. <layout class="QGridLayout" name="gridLayout_4">
  92. <item row="0" column="0">
  93. <widget class="QGroupBox" name="groupBox">
  94. <property name="title">
  95. <string>Disk storage</string>
  96. </property>
  97. <layout class="QGridLayout" name="gridLayout">
  98. <item row="0" column="1">
  99. <widget class="QSpinBox" name="priv_size">
  100. <property name="enabled">
  101. <bool>false</bool>
  102. </property>
  103. <property name="alignment">
  104. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  105. </property>
  106. <property name="maximum">
  107. <number>10000</number>
  108. </property>
  109. <property name="value">
  110. <number>2</number>
  111. </property>
  112. </widget>
  113. </item>
  114. <item row="2" column="0">
  115. <widget class="QCheckBox" name="priv_allow_to_grow">
  116. <property name="enabled">
  117. <bool>false</bool>
  118. </property>
  119. <property name="text">
  120. <string>Allow to grow</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item row="0" column="2">
  125. <widget class="QLabel" name="label_5">
  126. <property name="text">
  127. <string>GB</string>
  128. </property>
  129. </widget>
  130. </item>
  131. <item row="0" column="0">
  132. <widget class="QLabel" name="label_3">
  133. <property name="text">
  134. <string>Private storage max. size</string>
  135. </property>
  136. </widget>
  137. </item>
  138. <item row="3" column="0">
  139. <widget class="QCheckBox" name="checkBox">
  140. <property name="enabled">
  141. <bool>false</bool>
  142. </property>
  143. <property name="text">
  144. <string>Include in backups</string>
  145. </property>
  146. <property name="checked">
  147. <bool>true</bool>
  148. </property>
  149. </widget>
  150. </item>
  151. </layout>
  152. </widget>
  153. </item>
  154. <item row="0" column="1">
  155. <widget class="QGroupBox" name="groupBox_2">
  156. <property name="title">
  157. <string>Memory/CPU</string>
  158. </property>
  159. <layout class="QGridLayout" name="gridLayout_5">
  160. <item row="0" column="1">
  161. <widget class="QSpinBox" name="mem_size">
  162. <property name="enabled">
  163. <bool>false</bool>
  164. </property>
  165. <property name="alignment">
  166. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  167. </property>
  168. <property name="maximum">
  169. <number>10000</number>
  170. </property>
  171. <property name="singleStep">
  172. <number>100</number>
  173. </property>
  174. <property name="value">
  175. <number>400</number>
  176. </property>
  177. </widget>
  178. </item>
  179. <item row="0" column="2">
  180. <widget class="QLabel" name="label_6">
  181. <property name="text">
  182. <string>MB</string>
  183. </property>
  184. </widget>
  185. </item>
  186. <item row="1" column="1">
  187. <widget class="QSpinBox" name="spinBox">
  188. <property name="enabled">
  189. <bool>false</bool>
  190. </property>
  191. <property name="alignment">
  192. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  193. </property>
  194. <property name="value">
  195. <number>1</number>
  196. </property>
  197. </widget>
  198. </item>
  199. <item row="1" column="2">
  200. <widget class="QLabel" name="label_4">
  201. <property name="text">
  202. <string>VCPUs</string>
  203. </property>
  204. </widget>
  205. </item>
  206. </layout>
  207. </widget>
  208. </item>
  209. <item row="1" column="0">
  210. <spacer name="verticalSpacer_2">
  211. <property name="orientation">
  212. <enum>Qt::Vertical</enum>
  213. </property>
  214. <property name="sizeHint" stdset="0">
  215. <size>
  216. <width>20</width>
  217. <height>40</height>
  218. </size>
  219. </property>
  220. </spacer>
  221. </item>
  222. </layout>
  223. </widget>
  224. </widget>
  225. </item>
  226. <item row="3" column="0">
  227. <widget class="QDialogButtonBox" name="buttonBox">
  228. <property name="orientation">
  229. <enum>Qt::Horizontal</enum>
  230. </property>
  231. <property name="standardButtons">
  232. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  233. </property>
  234. </widget>
  235. </item>
  236. </layout>
  237. </widget>
  238. <resources/>
  239. <connections>
  240. <connection>
  241. <sender>buttonBox</sender>
  242. <signal>accepted()</signal>
  243. <receiver>NewAppVMDlg</receiver>
  244. <slot>accept()</slot>
  245. <hints>
  246. <hint type="sourcelabel">
  247. <x>248</x>
  248. <y>254</y>
  249. </hint>
  250. <hint type="destinationlabel">
  251. <x>157</x>
  252. <y>274</y>
  253. </hint>
  254. </hints>
  255. </connection>
  256. <connection>
  257. <sender>buttonBox</sender>
  258. <signal>rejected()</signal>
  259. <receiver>NewAppVMDlg</receiver>
  260. <slot>reject()</slot>
  261. <hints>
  262. <hint type="sourcelabel">
  263. <x>316</x>
  264. <y>260</y>
  265. </hint>
  266. <hint type="destinationlabel">
  267. <x>286</x>
  268. <y>274</y>
  269. </hint>
  270. </hints>
  271. </connection>
  272. </connections>
  273. </ui>