newappvmdlg.ui 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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>
  18. <normaloff>:/qubes.png</normaloff>:/qubes.png</iconset>
  19. </property>
  20. <layout class="QVBoxLayout" name="verticalLayout">
  21. <item>
  22. <layout class="QGridLayout" name="gridLayout">
  23. <item row="0" column="3">
  24. <widget class="QComboBox" name="vmlabel">
  25. <property name="frame">
  26. <bool>true</bool>
  27. </property>
  28. </widget>
  29. </item>
  30. <item row="1" column="1" colspan="2">
  31. <widget class="QComboBox" name="template_name"/>
  32. </item>
  33. <item row="1" column="0">
  34. <widget class="QLabel" name="label_2">
  35. <property name="text">
  36. <string>Use this template:</string>
  37. </property>
  38. <property name="buddy">
  39. <cstring>template_name</cstring>
  40. </property>
  41. </widget>
  42. </item>
  43. <item row="2" column="2">
  44. <widget class="QRadioButton" name="proxyvm_radio">
  45. <property name="text">
  46. <string>ProxyVM</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item row="2" column="1">
  51. <widget class="QRadioButton" name="netvm_radio">
  52. <property name="text">
  53. <string>NetVM</string>
  54. </property>
  55. </widget>
  56. </item>
  57. <item row="0" column="1" colspan="2">
  58. <widget class="QLineEdit" name="vmname">
  59. <property name="text">
  60. <string>my-new-vm</string>
  61. </property>
  62. </widget>
  63. </item>
  64. <item row="2" column="0">
  65. <widget class="QRadioButton" name="appvm_radio">
  66. <property name="text">
  67. <string>AppVM</string>
  68. </property>
  69. <property name="checked">
  70. <bool>true</bool>
  71. </property>
  72. </widget>
  73. </item>
  74. <item row="2" column="3">
  75. <widget class="QRadioButton" name="hvm_radio">
  76. <property name="enabled">
  77. <bool>false</bool>
  78. </property>
  79. <property name="text">
  80. <string>HVM</string>
  81. </property>
  82. </widget>
  83. </item>
  84. <item row="0" column="0">
  85. <widget class="QLabel" name="label">
  86. <property name="text">
  87. <string>Name &amp; label:</string>
  88. </property>
  89. <property name="buddy">
  90. <cstring>vmname</cstring>
  91. </property>
  92. </widget>
  93. </item>
  94. <item row="1" column="3">
  95. <widget class="QCheckBox" name="standalone">
  96. <property name="text">
  97. <string>Standalone</string>
  98. </property>
  99. </widget>
  100. </item>
  101. <item row="3" column="3">
  102. <widget class="QRadioButton" name="hvmtpl_radio">
  103. <property name="enabled">
  104. <bool>false</bool>
  105. </property>
  106. <property name="text">
  107. <string>HVM template</string>
  108. </property>
  109. </widget>
  110. </item>
  111. <item row="3" column="0">
  112. <widget class="QCheckBox" name="allow_networking">
  113. <property name="text">
  114. <string>Allow networking</string>
  115. </property>
  116. <property name="checked">
  117. <bool>true</bool>
  118. </property>
  119. </widget>
  120. </item>
  121. </layout>
  122. </item>
  123. <item>
  124. <widget class="QFrame" name="hvmtemplatewarningbox">
  125. <property name="frameShape">
  126. <enum>QFrame::NoFrame</enum>
  127. </property>
  128. <property name="frameShadow">
  129. <enum>QFrame::Raised</enum>
  130. </property>
  131. <widget class="QLabel" name="hvmtemplatewarning">
  132. <property name="enabled">
  133. <bool>true</bool>
  134. </property>
  135. <property name="geometry">
  136. <rect>
  137. <x>0</x>
  138. <y>0</y>
  139. <width>482</width>
  140. <height>51</height>
  141. </rect>
  142. </property>
  143. <property name="text">
  144. <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>
  145. </property>
  146. <property name="wordWrap">
  147. <bool>true</bool>
  148. </property>
  149. </widget>
  150. </widget>
  151. </item>
  152. <item>
  153. <widget class="QDialogButtonBox" name="buttonBox">
  154. <property name="orientation">
  155. <enum>Qt::Horizontal</enum>
  156. </property>
  157. <property name="standardButtons">
  158. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  159. </property>
  160. </widget>
  161. </item>
  162. </layout>
  163. </widget>
  164. <tabstops>
  165. <tabstop>vmname</tabstop>
  166. <tabstop>vmlabel</tabstop>
  167. <tabstop>template_name</tabstop>
  168. <tabstop>standalone</tabstop>
  169. <tabstop>appvm_radio</tabstop>
  170. <tabstop>netvm_radio</tabstop>
  171. <tabstop>proxyvm_radio</tabstop>
  172. <tabstop>hvm_radio</tabstop>
  173. <tabstop>hvmtpl_radio</tabstop>
  174. <tabstop>allow_networking</tabstop>
  175. <tabstop>buttonBox</tabstop>
  176. </tabstops>
  177. <resources/>
  178. <connections>
  179. <connection>
  180. <sender>buttonBox</sender>
  181. <signal>accepted()</signal>
  182. <receiver>NewVMDlg</receiver>
  183. <slot>accept()</slot>
  184. <hints>
  185. <hint type="sourcelabel">
  186. <x>257</x>
  187. <y>190</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>NewVMDlg</receiver>
  199. <slot>reject()</slot>
  200. <hints>
  201. <hint type="sourcelabel">
  202. <x>325</x>
  203. <y>190</y>
  204. </hint>
  205. <hint type="destinationlabel">
  206. <x>286</x>
  207. <y>274</y>
  208. </hint>
  209. </hints>
  210. </connection>
  211. </connections>
  212. </ui>