manager/ui/newappvmdlg.ui
Marek Marczykowski-Górecki d5e8bfe558
newvm: disable 'standalone' checkbox for now
It is currently broken - instead of setting template, it should clone
template's root volume.
2017-07-30 18:59:06 +02:00

168 lines
4.0 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>618</width>
<height>214</height>
</rect>
</property>
<property name="windowTitle">
<string>Create new qube</string>
</property>
<property name="windowIcon">
<iconset theme="qubes-manager">
<normaloff/>
</iconset>
</property>
<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="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>596</width>
<height>175</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="3">
<widget class="QComboBox" name="label">
<property name="frame">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="name">
<property name="text">
<string>my-new-vm</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="name_label">
<property name="text">
<string>Name and label:</string>
</property>
<property name="buddy">
<cstring>name</cstring>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3">
<widget class="QComboBox" name="netvm"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="template_label">
<property name="text">
<string>Use this template:</string>
</property>
<property name="buddy">
<cstring>template_vm</cstring>
</property>
</widget>
</item>
<item row="1" column="1" colspan="3">
<widget class="QComboBox" name="template_vm"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="netvm_label">
<property name="text">
<string>Network:</string>
</property>
<property name="buddy">
<cstring>template_vm</cstring>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QCheckBox" name="hvm">
<property name="text">
<string>HVM</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QCheckBox" name="provides_network">
<property name="text">
<string>Provides network</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QCheckBox" name="standalone">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Standalone</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>name</tabstop>
<tabstop>template_vm</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>