<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>QemuSetting</class> <widget class="QWidget" name="QemuSetting"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>496</width> <height>300</height> </rect> </property> <property name="windowTitle"> <string>设置</string> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <layout class="QGridLayout" name="gridLayout"> <item row="9" column="1"> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="4" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string><h3>远程服务</h3></string> </property> </widget> </item> <item row="6" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>VNC服务端口:</string> </property> </widget> </item> <item row="5" column="1"> <widget class="QCheckBox" name="enableRdp"> <property name="text"> <string>开启 rdp 服务映射</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>内存大小(MB):</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="memoryNumber"> <property name="maximum"> <number>999999999</number> </property> </widget> </item> <item row="8" column="1"> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item row="6" column="1"> <widget class="QSpinBox" name="vncNumber"> <property name="maximum"> <number>9999</number> </property> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string><h3>基础设置</h3></string> </property> </widget> </item> <item row="5" column="0"> <widget class="QCheckBox" name="enableVnc"> <property name="text"> <string>开启VNC服务</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QCheckBox" name="enableKvm"> <property name="text"> <string>开启 kvm 加速</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>CPU核心数:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QSpinBox" name="cpuNumber"> <property name="maximum"> <number>999999999</number> </property> </widget> </item> <item row="3" column="1"> <widget class="QCheckBox" name="enableSound"> <property name="text"> <string>开启声音</string> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> <property name="sizeConstraint"> <enum>QLayout::SetDefaultConstraint</enum> </property> <item> <widget class="QPushButton" name="save"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>保存</string> </property> </widget> </item> <item> <widget class="QPushButton" name="cancel"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>取消</string> </property> </widget> </item> <item> <widget class="QPushButton" name="setDefault"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>重置 默认</string> </property> </widget> </item> <item> <widget class="QPushButton" name="getrunner"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>获取 Wine 运行器</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <resources/> <connections/> </ui>