newappvmdlg.ui 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. </layout>
  89. </item>
  90. <item>
  91. <widget class="QCheckBox" name="allow_networking">
  92. <property name="text">
  93. <string>Allow networking</string>
  94. </property>
  95. <property name="checked">
  96. <bool>true</bool>
  97. </property>
  98. </widget>
  99. </item>
  100. <item>
  101. <spacer name="verticalSpacer">
  102. <property name="orientation">
  103. <enum>Qt::Vertical</enum>
  104. </property>
  105. <property name="sizeHint" stdset="0">
  106. <size>
  107. <width>20</width>
  108. <height>40</height>
  109. </size>
  110. </property>
  111. </spacer>
  112. </item>
  113. <item>
  114. <widget class="QDialogButtonBox" name="buttonBox">
  115. <property name="orientation">
  116. <enum>Qt::Horizontal</enum>
  117. </property>
  118. <property name="standardButtons">
  119. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  120. </property>
  121. </widget>
  122. </item>
  123. </layout>
  124. </widget>
  125. <resources/>
  126. <connections>
  127. <connection>
  128. <sender>buttonBox</sender>
  129. <signal>accepted()</signal>
  130. <receiver>NewVMDlg</receiver>
  131. <slot>accept()</slot>
  132. <hints>
  133. <hint type="sourcelabel">
  134. <x>248</x>
  135. <y>254</y>
  136. </hint>
  137. <hint type="destinationlabel">
  138. <x>157</x>
  139. <y>274</y>
  140. </hint>
  141. </hints>
  142. </connection>
  143. <connection>
  144. <sender>buttonBox</sender>
  145. <signal>rejected()</signal>
  146. <receiver>NewVMDlg</receiver>
  147. <slot>reject()</slot>
  148. <hints>
  149. <hint type="sourcelabel">
  150. <x>316</x>
  151. <y>260</y>
  152. </hint>
  153. <hint type="destinationlabel">
  154. <x>286</x>
  155. <y>274</y>
  156. </hint>
  157. </hints>
  158. </connection>
  159. </connections>
  160. </ui>