newappvmdlg.ui 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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>496</width>
  10. <height>215</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Create New VM</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset theme="qubes-manager"/>
  18. </property>
  19. <widget class="QFrame" name="hvmtemplatewarningbox">
  20. <property name="geometry">
  21. <rect>
  22. <x>9</x>
  23. <y>117</y>
  24. <width>481</width>
  25. <height>56</height>
  26. </rect>
  27. </property>
  28. <property name="frameShape">
  29. <enum>QFrame::NoFrame</enum>
  30. </property>
  31. <property name="frameShadow">
  32. <enum>QFrame::Raised</enum>
  33. </property>
  34. <widget class="QLabel" name="hvmtemplatewarning">
  35. <property name="enabled">
  36. <bool>true</bool>
  37. </property>
  38. <property name="geometry">
  39. <rect>
  40. <x>0</x>
  41. <y>0</y>
  42. <width>471</width>
  43. <height>61</height>
  44. </rect>
  45. </property>
  46. <property name="text">
  47. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; color:#ff0000;&quot;&gt;Make sure that the license of the OS installed in a template VM grants you permission to run multiple instances of an installed system.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  48. </property>
  49. <property name="alignment">
  50. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  51. </property>
  52. <property name="wordWrap">
  53. <bool>true</bool>
  54. </property>
  55. </widget>
  56. </widget>
  57. <widget class="QDialogButtonBox" name="buttonBox">
  58. <property name="geometry">
  59. <rect>
  60. <x>330</x>
  61. <y>180</y>
  62. <width>160</width>
  63. <height>27</height>
  64. </rect>
  65. </property>
  66. <property name="orientation">
  67. <enum>Qt::Horizontal</enum>
  68. </property>
  69. <property name="standardButtons">
  70. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  71. </property>
  72. </widget>
  73. <widget class="QWidget" name="">
  74. <property name="geometry">
  75. <rect>
  76. <x>14</x>
  77. <y>14</y>
  78. <width>471</width>
  79. <height>103</height>
  80. </rect>
  81. </property>
  82. <layout class="QGridLayout" name="gridLayout">
  83. <item row="0" column="0" colspan="2">
  84. <widget class="QLabel" name="label">
  85. <property name="text">
  86. <string>Name and label:</string>
  87. </property>
  88. <property name="buddy">
  89. <cstring>vmname</cstring>
  90. </property>
  91. </widget>
  92. </item>
  93. <item row="0" column="2" colspan="3">
  94. <widget class="QLineEdit" name="vmname">
  95. <property name="text">
  96. <string>my-new-vm</string>
  97. </property>
  98. </widget>
  99. </item>
  100. <item row="0" column="5">
  101. <widget class="QComboBox" name="vmlabel">
  102. <property name="frame">
  103. <bool>true</bool>
  104. </property>
  105. </widget>
  106. </item>
  107. <item row="1" column="0" colspan="2">
  108. <widget class="QLabel" name="label_2">
  109. <property name="text">
  110. <string>Use this template:</string>
  111. </property>
  112. <property name="buddy">
  113. <cstring>template_name</cstring>
  114. </property>
  115. </widget>
  116. </item>
  117. <item row="1" column="2" colspan="3">
  118. <widget class="QComboBox" name="template_name"/>
  119. </item>
  120. <item row="1" column="5">
  121. <widget class="QCheckBox" name="standalone">
  122. <property name="text">
  123. <string>Standalone</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item row="2" column="0">
  128. <widget class="QRadioButton" name="appvm_radio">
  129. <property name="text">
  130. <string>AppVM</string>
  131. </property>
  132. <property name="checked">
  133. <bool>true</bool>
  134. </property>
  135. </widget>
  136. </item>
  137. <item row="2" column="1" colspan="2">
  138. <widget class="QRadioButton" name="netvm_radio">
  139. <property name="text">
  140. <string>NetVM</string>
  141. </property>
  142. </widget>
  143. </item>
  144. <item row="2" column="3">
  145. <widget class="QRadioButton" name="proxyvm_radio">
  146. <property name="text">
  147. <string>ProxyVM</string>
  148. </property>
  149. </widget>
  150. </item>
  151. <item row="2" column="4">
  152. <widget class="QRadioButton" name="hvm_radio">
  153. <property name="enabled">
  154. <bool>false</bool>
  155. </property>
  156. <property name="text">
  157. <string>HVM</string>
  158. </property>
  159. </widget>
  160. </item>
  161. <item row="2" column="5">
  162. <widget class="QRadioButton" name="hvmtpl_radio">
  163. <property name="enabled">
  164. <bool>false</bool>
  165. </property>
  166. <property name="text">
  167. <string>HVM template</string>
  168. </property>
  169. </widget>
  170. </item>
  171. <item row="3" column="0" colspan="2">
  172. <widget class="QCheckBox" name="allow_networking">
  173. <property name="text">
  174. <string>Allow networking:</string>
  175. </property>
  176. <property name="checked">
  177. <bool>true</bool>
  178. </property>
  179. </widget>
  180. </item>
  181. <item row="3" column="2" colspan="3">
  182. <widget class="QComboBox" name="netvm_name"/>
  183. </item>
  184. </layout>
  185. </widget>
  186. </widget>
  187. <tabstops>
  188. <tabstop>vmname</tabstop>
  189. <tabstop>vmlabel</tabstop>
  190. <tabstop>template_name</tabstop>
  191. <tabstop>standalone</tabstop>
  192. <tabstop>appvm_radio</tabstop>
  193. <tabstop>netvm_radio</tabstop>
  194. <tabstop>proxyvm_radio</tabstop>
  195. <tabstop>hvm_radio</tabstop>
  196. <tabstop>hvmtpl_radio</tabstop>
  197. <tabstop>allow_networking</tabstop>
  198. <tabstop>buttonBox</tabstop>
  199. </tabstops>
  200. <resources/>
  201. <connections>
  202. <connection>
  203. <sender>buttonBox</sender>
  204. <signal>accepted()</signal>
  205. <receiver>NewVMDlg</receiver>
  206. <slot>accept()</slot>
  207. <hints>
  208. <hint type="sourcelabel">
  209. <x>257</x>
  210. <y>190</y>
  211. </hint>
  212. <hint type="destinationlabel">
  213. <x>157</x>
  214. <y>274</y>
  215. </hint>
  216. </hints>
  217. </connection>
  218. <connection>
  219. <sender>buttonBox</sender>
  220. <signal>rejected()</signal>
  221. <receiver>NewVMDlg</receiver>
  222. <slot>reject()</slot>
  223. <hints>
  224. <hint type="sourcelabel">
  225. <x>325</x>
  226. <y>190</y>
  227. </hint>
  228. <hint type="destinationlabel">
  229. <x>286</x>
  230. <y>274</y>
  231. </hint>
  232. </hints>
  233. </connection>
  234. </connections>
  235. </ui>