newappvmdlg.ui 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>500</width>
  10. <height>200</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. </widget>
  39. </item>
  40. <item row="2" column="2">
  41. <widget class="QRadioButton" name="proxyvm_radio">
  42. <property name="text">
  43. <string>ProxyVM</string>
  44. </property>
  45. </widget>
  46. </item>
  47. <item row="2" column="1">
  48. <widget class="QRadioButton" name="netvm_radio">
  49. <property name="text">
  50. <string>NetVM</string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item row="0" column="1" colspan="2">
  55. <widget class="QLineEdit" name="vmname">
  56. <property name="text">
  57. <string>my-new-vm</string>
  58. </property>
  59. </widget>
  60. </item>
  61. <item row="2" column="0">
  62. <widget class="QRadioButton" name="appvm_radio">
  63. <property name="text">
  64. <string>AppVM</string>
  65. </property>
  66. <property name="checked">
  67. <bool>true</bool>
  68. </property>
  69. </widget>
  70. </item>
  71. <item row="2" column="3">
  72. <widget class="QRadioButton" name="hvm_radio">
  73. <property name="enabled">
  74. <bool>false</bool>
  75. </property>
  76. <property name="text">
  77. <string>HVM</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="0" column="0">
  82. <widget class="QLabel" name="label">
  83. <property name="text">
  84. <string>Name &amp; label:</string>
  85. </property>
  86. </widget>
  87. </item>
  88. <item row="1" column="3">
  89. <widget class="QCheckBox" name="standalone">
  90. <property name="text">
  91. <string>Standalone</string>
  92. </property>
  93. </widget>
  94. </item>
  95. </layout>
  96. </item>
  97. <item>
  98. <widget class="QCheckBox" name="allow_networking">
  99. <property name="text">
  100. <string>Allow networking</string>
  101. </property>
  102. <property name="checked">
  103. <bool>true</bool>
  104. </property>
  105. </widget>
  106. </item>
  107. <item>
  108. <spacer name="verticalSpacer">
  109. <property name="orientation">
  110. <enum>Qt::Vertical</enum>
  111. </property>
  112. <property name="sizeHint" stdset="0">
  113. <size>
  114. <width>20</width>
  115. <height>40</height>
  116. </size>
  117. </property>
  118. </spacer>
  119. </item>
  120. <item>
  121. <widget class="QDialogButtonBox" name="buttonBox">
  122. <property name="orientation">
  123. <enum>Qt::Horizontal</enum>
  124. </property>
  125. <property name="standardButtons">
  126. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  127. </property>
  128. </widget>
  129. </item>
  130. </layout>
  131. </widget>
  132. <resources/>
  133. <connections>
  134. <connection>
  135. <sender>buttonBox</sender>
  136. <signal>accepted()</signal>
  137. <receiver>NewVMDlg</receiver>
  138. <slot>accept()</slot>
  139. <hints>
  140. <hint type="sourcelabel">
  141. <x>248</x>
  142. <y>254</y>
  143. </hint>
  144. <hint type="destinationlabel">
  145. <x>157</x>
  146. <y>274</y>
  147. </hint>
  148. </hints>
  149. </connection>
  150. <connection>
  151. <sender>buttonBox</sender>
  152. <signal>rejected()</signal>
  153. <receiver>NewVMDlg</receiver>
  154. <slot>reject()</slot>
  155. <hints>
  156. <hint type="sourcelabel">
  157. <x>316</x>
  158. <y>260</y>
  159. </hint>
  160. <hint type="destinationlabel">
  161. <x>286</x>
  162. <y>274</y>
  163. </hint>
  164. </hints>
  165. </connection>
  166. </connections>
  167. </ui>