236 lines
6.1 KiB
XML
236 lines
6.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>NewVMDlg</class>
|
|
<widget class="QDialog" name="NewVMDlg">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>496</width>
|
|
<height>215</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Create New VM</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset theme="qubes-manager"/>
|
|
</property>
|
|
<widget class="QFrame" name="hvmtemplatewarningbox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>9</x>
|
|
<y>117</y>
|
|
<width>481</width>
|
|
<height>56</height>
|
|
</rect>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<widget class="QLabel" name="hvmtemplatewarning">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>471</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-weight:600; color:#ff0000;">Make sure that the license of the OS installed in a template VM grants you permission to run multiple instances of an installed system.</span></p></body></html></string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>330</x>
|
|
<y>180</y>
|
|
<width>160</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>14</x>
|
|
<y>14</y>
|
|
<width>471</width>
|
|
<height>103</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Name and label:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>vmname</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" colspan="3">
|
|
<widget class="QLineEdit" name="vmname">
|
|
<property name="text">
|
|
<string>my-new-vm</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<widget class="QComboBox" name="vmlabel">
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Use this template:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>template_name</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" colspan="3">
|
|
<widget class="QComboBox" name="template_name"/>
|
|
</item>
|
|
<item row="1" column="5">
|
|
<widget class="QCheckBox" name="standalone">
|
|
<property name="text">
|
|
<string>Standalone</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QRadioButton" name="appvm_radio">
|
|
<property name="text">
|
|
<string>AppVM</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2">
|
|
<widget class="QRadioButton" name="netvm_radio">
|
|
<property name="text">
|
|
<string>NetVM</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3">
|
|
<widget class="QRadioButton" name="proxyvm_radio">
|
|
<property name="text">
|
|
<string>ProxyVM</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="4">
|
|
<widget class="QRadioButton" name="hvm_radio">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>HVM</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="5">
|
|
<widget class="QRadioButton" name="hvmtpl_radio">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>HVM template</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="allow_networking">
|
|
<property name="text">
|
|
<string>Allow networking:</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2" colspan="3">
|
|
<widget class="QComboBox" name="netvm_name"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>vmname</tabstop>
|
|
<tabstop>vmlabel</tabstop>
|
|
<tabstop>template_name</tabstop>
|
|
<tabstop>standalone</tabstop>
|
|
<tabstop>appvm_radio</tabstop>
|
|
<tabstop>netvm_radio</tabstop>
|
|
<tabstop>proxyvm_radio</tabstop>
|
|
<tabstop>hvm_radio</tabstop>
|
|
<tabstop>hvmtpl_radio</tabstop>
|
|
<tabstop>allow_networking</tabstop>
|
|
<tabstop>buttonBox</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>NewVMDlg</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>257</x>
|
|
<y>190</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>NewVMDlg</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>325</x>
|
|
<y>190</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|