VBoxVMSerialPortSettings.ui revision f503eb77dfd7a1fd153f0ad602d78d783f7fe321
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>VBoxVMSerialPortSettings</class>
<comment>
:mode=html:tabSize=4:indentSize=4:noTabs=true:
:folding=explicit:collapseFolds=1:
Copyright (C) 2006-2007 innotek GmbH
This file is part of VirtualBox Open Source Edition (OSE), as
available from http://www.virtualbox.org. This file is free software;
General Public License as published by the Free Software Foundation,
in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
distribution. VirtualBox OSE is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY of any kind.
</comment>
<widget class="QWidget">
<property name="name">
<cstring>VBoxVMSerialPortSettings</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>493</width>
<height>279</height>
</rect>
</property>
<property name="caption">
<string>VBoxVMSerialPortSettings</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="spacing">
<number>10</number>
</property>
<widget class="QGroupBox" row="0" column="0">
<property name="name">
<cstring>mSerialPortBox</cstring>
</property>
<property name="title">
<string>&Enable Serial Port</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>When checked, enables the given serial port of the virtual machine.</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>mPortNumLabel</cstring>
</property>
<property name="text">
<string>Port &Number</string>
</property>
<property name="buddy" stdset="0">
<cstring>mPortNumCombo</cstring>
</property>
</widget>
<widget class="QLayoutWidget" row="0" column="1">
<property name="name">
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QComboBox">
<property name="name">
<cstring>mPortNumCombo</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the serial port number. You can choose one of the standard serial ports or select <b>User-defined</b> and specify port parameters manually.</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>mIROLabel</cstring>
</property>
<property name="text">
<string>&IRQ</string>
</property>
<property name="buddy" stdset="0">
<cstring>mIRQLine</cstring>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>mIRQLine</cstring>
</property>
<property name="frameShape">
<enum>LineEditPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the IRQ number of this serial port. Valid values are integer numbers in range from <tt>0</tt> to <tt>255</tt>. Values greater than <tt>15</tt> may be used only if the <b>IO APIC</b> is enabled for this virtual machine.</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>mIOPortLabel</cstring>
</property>
<property name="text">
<string>I/O Po&rt</string>
</property>
<property name="buddy" stdset="0">
<cstring>mIOPortLine</cstring>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>mIOPortLine</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the base I/O port address of this serial port. Valid values are integer numbers in range from <tt>0</tt> to <tt>0xFFFF</tt>.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>mHostModeLabel</cstring>
</property>
<property name="text">
<string>Port &Mode</string>
</property>
<property name="buddy" stdset="0">
<cstring>mHostModeCombo</cstring>
</property>
</widget>
<widget class="QLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QComboBox">
<property name="name">
<cstring>mHostModeCombo</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Controls the working mode of this serial port. If you select <b>Disconnected</b>, the guest OS will detect the serial port but will not be able to operate it.</string>
</property>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>mServerCheck</cstring>
</property>
<property name="text">
<string>&Create Pipe</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
<property name="whatsThis" stdset="0">
<string>If checked, the pipe specified in the <b>Port Path</b> field will be created by the virtual machine when it starts. Otherwise, the virtual machine will try to use the existing pipe.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>mPortPathLabel</cstring>
</property>
<property name="text">
<string>Port &Path</string>
</property>
<property name="buddy" stdset="0">
<cstring>mPortPathLine</cstring>
</property>
</widget>
<widget class="QLineEdit" row="2" column="1">
<property name="name">
<cstring>mPortPathLine</cstring>
</property>
<property name="frameShape">
<enum>LineEditPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Displays the path to the serial port's pipe on the host when the port works in <b>Host Pipe</b> mode, or the host serial device name when the port works in <b>Host Device</b> mode.</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>mPortNumCombo</sender>
<signal>activated(const QString&)</signal>
<receiver>VBoxVMSerialPortSettings</receiver>
<slot>mPortNumCombo_activated(const QString&)</slot>
</connection>
<connection>
<sender>mHostModeCombo</sender>
<signal>activated(const QString&)</signal>
<receiver>VBoxVMSerialPortSettings</receiver>
<slot>mHostModeCombo_activated(const QString&)</slot>
</connection>
<connection>
<sender>mSerialPortBox</sender>
<signal>toggled(bool)</signal>
<receiver>VBoxVMSerialPortSettings</receiver>
<slot>mSerialPortBox_toggled(bool)</slot>
</connection>
</connections>
<includes>
</includes>
<variables>
<variable access="private">CSerialPort mPort;</variable>
<variable access="private">QIWidgetValidator *mWalidator;</variable>
</variables>
<slots>
<slot>mSerialPortBox_toggled( bool )</slot>
<slot>mPortNumCombo_activated( const QString & aText )</slot>
<slot>mHostModeCombo_activated( const QString & aText )</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
<function>getFromPort( const CSerialPort & )</function>
<function>putBackToPort()</function>
<function returnType="bool">isUserDefined()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>