Changeset 9178 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- May 27, 2008 4:29:34 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 deleted
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r9127 r9178 85 85 # Warn about all what you know about porting qt3->qt4. 86 86 # Disable this if you like to see something on your screen. 87 #VBOX_DEFS_QT4 += QT3_SUPPORT_WARNINGS87 VBOX_DEFS_QT4 += QT3_SUPPORT_WARNINGS 88 88 # Some default defs 89 89 VBOX_DEFS_QT4 += QT3_SUPPORT QT_SHARED HAVE_CONFIG_H QT_NO_DEBUG … … 291 291 VirtualBox_QT_UISRCS4 += ui/VBoxVMLogViewer.ui 292 292 293 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsGeneral.ui,$(VirtualBox_QT_UISRCS3)) 294 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsGeneral.ui 295 293 296 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsCD.ui,$(VirtualBox_QT_UISRCS3)) 294 297 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsCD.ui … … 300 303 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsAudio.ui 301 304 302 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsGeneral.ui,$(VirtualBox_QT_UISRCS3)) 303 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsGeneral.ui 305 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsSerial.ui,$(VirtualBox_QT_UISRCS3)) 306 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsSerial.ui 307 308 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsParallel.ui,$(VirtualBox_QT_UISRCS3)) 309 VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsParallel.ui 304 310 305 311 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsDlg.ui,$(VirtualBox_QT_UISRCS3)) … … 456 462 include/VBoxVMSettingsFD.h \ 457 463 include/VBoxVMSettingsAudio.h \ 464 include/VBoxVMSettingsSerial.h \ 465 include/VBoxVMSettingsParallel.h \ 458 466 include/VBoxVMSettingsDlg.h 459 467 … … 536 544 src/VBoxVMSettingsFD.cpp \ 537 545 src/VBoxVMSettingsAudio.cpp \ 546 src/VBoxVMSettingsSerial.cpp \ 547 src/VBoxVMSettingsParallel.cpp \ 538 548 src/VBoxVMSettingsDlg.cpp 539 549 -
trunk/src/VBox/Frontends/VirtualBox4/VBoxUI.pro
r8167 r9178 27 27 FORMS = ui/VBoxDiskImageManagerDlg.ui \ 28 28 ui/VBoxVMNetworkSettings.ui \ 29 ui/VBoxVMSe rialPortSettings.ui \30 ui/VBoxVM ParallelPortSettings.ui \29 ui/VBoxVMSettingsSerial.ui \ 30 ui/VBoxVMSettingsParallel.ui \ 31 31 ui/VBoxUSBFilterSettings.ui \ 32 32 ui/VBoxSharedFoldersSettings.ui \ -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp
r9127 r9178 361 361 void VBoxVMDescriptionPage::goToSettings() 362 362 { 363 mParent->vmSettings ("#general", " teDescription");363 mParent->vmSettings ("#general", "mTeDescription"); 364 364 } 365 365 -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsParallel.ui
r9152 r9178 1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>VBoxVMParallelPortSettings</class> 3 <comment> 4 :mode=html:tabSize=4:indentSize=4:noTabs=true: 5 :folding=explicit:collapseFolds=1: 6 7 Copyright (C) 2006-2007 Sun Microsystems, Inc. 8 9 This file is part of VirtualBox Open Source Edition (OSE), as 10 available from http://www.virtualbox.org. This file is free software; 11 you can redistribute it and/or modify it under the terms of the GNU 12 General Public License (GPL) as published by the Free Software 13 Foundation, in version 2 as it comes in the "COPYING" file of the 14 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 17 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 18 Clara, CA 95054 USA or visit http://www.sun.com if you need 19 additional information or have any questions. 20 </comment> 21 <widget class="QWidget"> 22 <property name="name"> 23 <cstring>VBoxVMParallelPortSettings</cstring> 24 </property> 25 <property name="geometry"> 26 <rect> 27 <x>0</x> 28 <y>0</y> 29 <width>493</width> 30 <height>279</height> 31 </rect> 32 </property> 33 <property name="caption"> 34 <string>VBoxVMParallelPortSettings</string> 35 </property> 36 <grid> 37 <property name="name"> 38 <cstring>unnamed</cstring> 1 <ui version="4.0" > 2 <class>VBoxVMSettingsParallel</class> 3 <widget class="QWidget" name="VBoxVMSettingsParallel" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>353</width> 9 <height>163</height> 10 </rect> 11 </property> 12 <layout class="QVBoxLayout" > 13 <item> 14 <widget class="QGroupBox" name="mGbParallel" > 15 <property name="whatsThis" > 16 <string>When checked, enables the given parallel port of the virtual machine.</string> 17 </property> 18 <property name="title" > 19 <string>&Enable Parallel Port</string> 20 </property> 21 <property name="checkable" > 22 <bool>true</bool> 23 </property> 24 <layout class="QGridLayout" > 25 <item row="0" column="0" > 26 <widget class="QLabel" name="mLbNumber" > 27 <property name="text" > 28 <string>Port &Number</string> 39 29 </property> 40 <property name=" spacing">41 <number>10</number>30 <property name="buddy" > 31 <cstring>mCbNumber</cstring> 42 32 </property> 43 <widget class="QGroupBox" row="0" column="0"> 44 <property name="name"> 45 <cstring>mParallelPortBox</cstring> 46 </property> 47 <property name="title"> 48 <string>&Enable Parallel Port</string> 49 </property> 50 <property name="checkable"> 51 <bool>true</bool> 52 </property> 53 <property name="whatsThis" stdset="0"> 54 <string>When checked, enables the given parallel port of the virtual machine.</string> 55 </property> 56 <grid> 57 <property name="name"> 58 <cstring>unnamed</cstring> 59 </property> 60 <widget class="QLabel" row="0" column="0"> 61 <property name="name"> 62 <cstring>mPortNumLabel</cstring> 63 </property> 64 <property name="text"> 65 <string>Port &Number</string> 66 </property> 67 <property name="buddy" stdset="0"> 68 <cstring>mPortNumCombo</cstring> 69 </property> 70 </widget> 71 <widget class="QLayoutWidget" row="0" column="1"> 72 <property name="name"> 73 <cstring>layout9</cstring> 74 </property> 75 <hbox> 76 <property name="name"> 77 <cstring>unnamed</cstring> 78 </property> 79 <widget class="QComboBox"> 80 <property name="name"> 81 <cstring>mPortNumCombo</cstring> 82 </property> 83 <property name="sizePolicy"> 84 <sizepolicy> 85 <hsizetype>3</hsizetype> 86 <vsizetype>0</vsizetype> 87 <horstretch>0</horstretch> 88 <verstretch>0</verstretch> 89 </sizepolicy> 90 </property> 91 <property name="whatsThis" stdset="0"> 92 <string>Displays the parallel port number. You can choose one of the standard parallel ports or select <b>User-defined</b> and specify port parameters manually.</string> 93 </property> 94 </widget> 95 <widget class="QLabel"> 96 <property name="name"> 97 <cstring>mIROLabel</cstring> 98 </property> 99 <property name="text"> 100 <string>&IRQ</string> 101 </property> 102 <property name="buddy" stdset="0"> 103 <cstring>mIRQLine</cstring> 104 </property> 105 </widget> 106 <widget class="QLineEdit"> 107 <property name="name"> 108 <cstring>mIRQLine</cstring> 109 </property> 110 <property name="frameShape"> 111 <enum>LineEditPanel</enum> 112 </property> 113 <property name="frameShadow"> 114 <enum>Sunken</enum> 115 </property> 116 <property name="whatsThis" stdset="0"> 117 <string>Displays the IRQ number of this parallel 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> 118 </property> 119 </widget> 120 <widget class="QLabel"> 121 <property name="name"> 122 <cstring>mIOPortLabel</cstring> 123 </property> 124 <property name="text"> 125 <string>I/O Po&rt</string> 126 </property> 127 <property name="buddy" stdset="0"> 128 <cstring>mIOPortLine</cstring> 129 </property> 130 </widget> 131 <widget class="QLineEdit"> 132 <property name="name"> 133 <cstring>mIOPortLine</cstring> 134 </property> 135 <property name="whatsThis" stdset="0"> 136 <string>Displays the base I/O port address of this parallel port. Valid values are integer numbers in range from <tt>0</tt> to <tt>0xFFFF</tt>.</string> 137 </property> 138 </widget> 139 </hbox> 140 </widget> 141 <widget class="QLabel" row="2" column="0"> 142 <property name="name"> 143 <cstring>mPortPathLabel</cstring> 144 </property> 145 <property name="text"> 146 <string>Port &Path</string> 147 </property> 148 <property name="buddy" stdset="0"> 149 <cstring>mPortPathLine</cstring> 150 </property> 151 </widget> 152 <widget class="QLineEdit" row="2" column="1"> 153 <property name="name"> 154 <cstring>mPortPathLine</cstring> 155 </property> 156 <property name="frameShape"> 157 <enum>LineEditPanel</enum> 158 </property> 159 <property name="frameShadow"> 160 <enum>Sunken</enum> 161 </property> 162 <property name="whatsThis" stdset="0"> 163 <string>Displays the host parallel device name.</string> 164 </property> 165 </widget> 166 </grid> 167 </widget> 168 </grid> 169 </widget> 170 <connections> 171 <connection> 172 <sender>mPortNumCombo</sender> 173 <signal>activated(const QString&)</signal> 174 <receiver>VBoxVMParallelPortSettings</receiver> 175 <slot>mPortNumCombo_activated(const QString&)</slot> 176 </connection> 177 <connection> 178 <sender>mParallelPortBox</sender> 179 <signal>toggled(bool)</signal> 180 <receiver>VBoxVMParallelPortSettings</receiver> 181 <slot>mParallelPortBox_toggled(bool)</slot> 182 </connection> 183 </connections> 184 <includes> 185 <include location="local" impldecl="in declaration">COMDefs.h</include> 186 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include> 187 <include location="global" impldecl="in implementation">qdir.h</include> 188 <include location="global" impldecl="in implementation">qvalidator.h</include> 189 <include location="local" impldecl="in implementation">VBoxGlobal.h</include> 190 <include location="local" impldecl="in implementation">VBoxVMParallelPortSettings.ui.h</include> 191 </includes> 192 <variables> 193 <variable access="private">CParallelPort mPort;</variable> 194 <variable access="private">QIWidgetValidator *mWalidator;</variable> 195 </variables> 196 <slots> 197 <slot>mParallelPortBox_toggled( bool )</slot> 198 <slot>mPortNumCombo_activated( const QString & aText )</slot> 199 </slots> 200 <functions> 201 <function access="private" specifier="non virtual">init()</function> 202 <function>getFromPort( const CParallelPort & )</function> 203 <function>putBackToPort()</function> 204 <function returnType="bool">isUserDefined()</function> 205 </functions> 206 <pixmapinproject/> 207 <layoutdefaults spacing="6" margin="11"/> 208 </UI> 33 </widget> 34 </item> 35 <item row="0" column="1" > 36 <widget class="QComboBox" name="mCbNumber" > 37 <property name="whatsThis" > 38 <string>Displays the parallel port number. You can choose one of the standard parallel ports or select <b>User-defined</b> and specify port parameters manually.</string> 39 </property> 40 </widget> 41 </item> 42 <item row="0" column="2" > 43 <layout class="QHBoxLayout" > 44 <item> 45 <widget class="QLabel" name="mLbIRQ" > 46 <property name="text" > 47 <string>&IRQ</string> 48 </property> 49 <property name="buddy" > 50 <cstring>mLeIRQ</cstring> 51 </property> 52 </widget> 53 </item> 54 <item> 55 <widget class="QLineEdit" name="mLeIRQ" > 56 <property name="sizePolicy" > 57 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 58 <horstretch>0</horstretch> 59 <verstretch>0</verstretch> 60 </sizepolicy> 61 </property> 62 <property name="whatsThis" > 63 <string>Displays the IRQ number of this parallel 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> 64 </property> 65 </widget> 66 </item> 67 </layout> 68 </item> 69 <item row="0" column="3" > 70 <layout class="QHBoxLayout" > 71 <item> 72 <widget class="QLabel" name="mLbIOPort" > 73 <property name="text" > 74 <string>I/O Po&rt</string> 75 </property> 76 <property name="buddy" > 77 <cstring>mLbIOPort</cstring> 78 </property> 79 </widget> 80 </item> 81 <item> 82 <widget class="QLineEdit" name="mLeIOPort" > 83 <property name="sizePolicy" > 84 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 85 <horstretch>0</horstretch> 86 <verstretch>0</verstretch> 87 </sizepolicy> 88 </property> 89 <property name="whatsThis" > 90 <string>Displays the base I/O port address of this parallel port. Valid values are integer numbers in range from <tt>0</tt> to <tt>0xFFFF</tt>.</string> 91 </property> 92 </widget> 93 </item> 94 </layout> 95 </item> 96 <item row="0" column="4" > 97 <spacer> 98 <property name="orientation" > 99 <enum>Qt::Horizontal</enum> 100 </property> 101 <property name="sizeHint" > 102 <size> 103 <width>0</width> 104 <height>20</height> 105 </size> 106 </property> 107 </spacer> 108 </item> 109 <item rowspan="2" row="1" column="0" > 110 <widget class="QLabel" name="mLbPath" > 111 <property name="text" > 112 <string>Port &Path</string> 113 </property> 114 <property name="buddy" > 115 <cstring>mLePath</cstring> 116 </property> 117 </widget> 118 </item> 119 <item rowspan="2" row="1" column="1" colspan="4" > 120 <widget class="QLineEdit" name="mLePath" > 121 <property name="whatsThis" > 122 <string>Displays the host parallel device name.</string> 123 </property> 124 </widget> 125 </item> 126 <item row="3" column="2" > 127 <spacer> 128 <property name="orientation" > 129 <enum>Qt::Vertical</enum> 130 </property> 131 <property name="sizeHint" > 132 <size> 133 <width>20</width> 134 <height>0</height> 135 </size> 136 </property> 137 </spacer> 138 </item> 139 </layout> 140 </widget> 141 </item> 142 </layout> 143 </widget> 144 <resources/> 145 <connections/> 146 </ui> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMSettingsSerial.ui
r9127 r9178 1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>VBoxVMSerialPortSettings</class> 3 <comment> 4 :mode=html:tabSize=4:indentSize=4:noTabs=true: 5 :folding=explicit:collapseFolds=1: 6 7 Copyright (C) 2006-2007 Sun Microsystems, Inc. 8 9 This file is part of VirtualBox Open Source Edition (OSE), as 10 available from http://www.virtualbox.org. This file is free software; 11 you can redistribute it and/or modify it under the terms of the GNU 12 General Public License (GPL) as published by the Free Software 13 Foundation, in version 2 as it comes in the "COPYING" file of the 14 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 17 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa 18 Clara, CA 95054 USA or visit http://www.sun.com if you need 19 additional information or have any questions. 20 </comment> 21 <widget class="QWidget"> 22 <property name="name"> 23 <cstring>VBoxVMSerialPortSettings</cstring> 24 </property> 25 <property name="geometry"> 26 <rect> 27 <x>0</x> 28 <y>0</y> 29 <width>493</width> 30 <height>279</height> 31 </rect> 32 </property> 33 <property name="caption"> 34 <string>VBoxVMSerialPortSettings</string> 35 </property> 36 <grid> 37 <property name="name"> 38 <cstring>unnamed</cstring> 1 <ui version="4.0" > 2 <class>VBoxVMSettingsSerial</class> 3 <widget class="QWidget" name="VBoxVMSettingsSerial" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>352</width> 9 <height>163</height> 10 </rect> 11 </property> 12 <layout class="QVBoxLayout" > 13 <item> 14 <widget class="QGroupBox" name="mGbSerial" > 15 <property name="whatsThis" > 16 <string>When checked, enables the given serial port of the virtual machine.</string> 17 </property> 18 <property name="title" > 19 <string>&Enable Serial Port</string> 20 </property> 21 <property name="checkable" > 22 <bool>true</bool> 23 </property> 24 <layout class="QGridLayout" > 25 <item row="0" column="0" > 26 <widget class="QLabel" name="mLbNumber" > 27 <property name="text" > 28 <string>Port &Number</string> 39 29 </property> 40 <property name=" spacing">41 <number>10</number>30 <property name="buddy" > 31 <cstring>mCbNumber</cstring> 42 32 </property> 43 <widget class="QGroupBox" row="0" column="0"> 44 <property name="name"> 45 <cstring>mSerialPortBox</cstring> 46 </property> 47 <property name="title"> 48 <string>&Enable Serial Port</string> 49 </property> 50 <property name="checkable"> 51 <bool>true</bool> 52 </property> 53 <property name="whatsThis" stdset="0"> 54 <string>When checked, enables the given serial port of the virtual machine.</string> 55 </property> 56 <grid> 57 <property name="name"> 58 <cstring>unnamed</cstring> 59 </property> 60 <widget class="QLabel" row="0" column="0"> 61 <property name="name"> 62 <cstring>mPortNumLabel</cstring> 63 </property> 64 <property name="text"> 65 <string>Port &Number</string> 66 </property> 67 <property name="buddy" stdset="0"> 68 <cstring>mPortNumCombo</cstring> 69 </property> 70 </widget> 71 <widget class="QLayoutWidget" row="0" column="1"> 72 <property name="name"> 73 <cstring>layout9</cstring> 74 </property> 75 <hbox> 76 <property name="name"> 77 <cstring>unnamed</cstring> 78 </property> 79 <widget class="QComboBox"> 80 <property name="name"> 81 <cstring>mPortNumCombo</cstring> 82 </property> 83 <property name="sizePolicy"> 84 <sizepolicy> 85 <hsizetype>3</hsizetype> 86 <vsizetype>0</vsizetype> 87 <horstretch>0</horstretch> 88 <verstretch>0</verstretch> 89 </sizepolicy> 90 </property> 91 <property name="whatsThis" stdset="0"> 92 <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> 93 </property> 94 </widget> 95 <widget class="QLabel"> 96 <property name="name"> 97 <cstring>mIROLabel</cstring> 98 </property> 99 <property name="text"> 100 <string>&IRQ</string> 101 </property> 102 <property name="buddy" stdset="0"> 103 <cstring>mIRQLine</cstring> 104 </property> 105 </widget> 106 <widget class="QLineEdit"> 107 <property name="name"> 108 <cstring>mIRQLine</cstring> 109 </property> 110 <property name="frameShape"> 111 <enum>LineEditPanel</enum> 112 </property> 113 <property name="frameShadow"> 114 <enum>Sunken</enum> 115 </property> 116 <property name="whatsThis" stdset="0"> 117 <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> 118 </property> 119 </widget> 120 <widget class="QLabel"> 121 <property name="name"> 122 <cstring>mIOPortLabel</cstring> 123 </property> 124 <property name="text"> 125 <string>I/O Po&rt</string> 126 </property> 127 <property name="buddy" stdset="0"> 128 <cstring>mIOPortLine</cstring> 129 </property> 130 </widget> 131 <widget class="QLineEdit"> 132 <property name="name"> 133 <cstring>mIOPortLine</cstring> 134 </property> 135 <property name="whatsThis" stdset="0"> 136 <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> 137 </property> 138 </widget> 139 </hbox> 140 </widget> 141 <widget class="QLabel" row="1" column="0"> 142 <property name="name"> 143 <cstring>mHostModeLabel</cstring> 144 </property> 145 <property name="text"> 146 <string>Port &Mode</string> 147 </property> 148 <property name="buddy" stdset="0"> 149 <cstring>mHostModeCombo</cstring> 150 </property> 151 </widget> 152 <widget class="QLayoutWidget" row="1" column="1"> 153 <property name="name"> 154 <cstring>layout12</cstring> 155 </property> 156 <hbox> 157 <property name="name"> 158 <cstring>unnamed</cstring> 159 </property> 160 <widget class="QComboBox"> 161 <property name="name"> 162 <cstring>mHostModeCombo</cstring> 163 </property> 164 <property name="whatsThis" stdset="0"> 165 <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> 166 </property> 167 </widget> 168 <widget class="QCheckBox"> 169 <property name="name"> 170 <cstring>mServerCheck</cstring> 171 </property> 172 <property name="text"> 173 <string>&Create Pipe</string> 174 </property> 175 <property name="whatsThis" stdset="0"> 176 <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> 177 </property> 178 </widget> 179 </hbox> 180 </widget> 181 <widget class="QLabel" row="2" column="0"> 182 <property name="name"> 183 <cstring>mPortPathLabel</cstring> 184 </property> 185 <property name="text"> 186 <string>Port &Path</string> 187 </property> 188 <property name="buddy" stdset="0"> 189 <cstring>mPortPathLine</cstring> 190 </property> 191 </widget> 192 <widget class="QLineEdit" row="2" column="1"> 193 <property name="name"> 194 <cstring>mPortPathLine</cstring> 195 </property> 196 <property name="frameShape"> 197 <enum>LineEditPanel</enum> 198 </property> 199 <property name="frameShadow"> 200 <enum>Sunken</enum> 201 </property> 202 <property name="whatsThis" stdset="0"> 203 <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> 204 </property> 205 </widget> 206 </grid> 207 </widget> 208 </grid> 209 </widget> 210 <connections> 211 <connection> 212 <sender>mPortNumCombo</sender> 213 <signal>activated(const QString&)</signal> 214 <receiver>VBoxVMSerialPortSettings</receiver> 215 <slot>mPortNumCombo_activated(const QString&)</slot> 216 </connection> 217 <connection> 218 <sender>mHostModeCombo</sender> 219 <signal>activated(const QString&)</signal> 220 <receiver>VBoxVMSerialPortSettings</receiver> 221 <slot>mHostModeCombo_activated(const QString&)</slot> 222 </connection> 223 <connection> 224 <sender>mSerialPortBox</sender> 225 <signal>toggled(bool)</signal> 226 <receiver>VBoxVMSerialPortSettings</receiver> 227 <slot>mSerialPortBox_toggled(bool)</slot> 228 </connection> 229 </connections> 230 <includes> 231 <include location="local" impldecl="in declaration">COMDefs.h</include> 232 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include> 233 <include location="global" impldecl="in implementation">qdir.h</include> 234 <include location="global" impldecl="in implementation">qvalidator.h</include> 235 <include location="local" impldecl="in implementation">VBoxGlobal.h</include> 236 <include location="local" impldecl="in implementation">VBoxVMSerialPortSettings.ui.h</include> 237 </includes> 238 <variables> 239 <variable access="private">CSerialPort mPort;</variable> 240 <variable access="private">QIWidgetValidator *mWalidator;</variable> 241 </variables> 242 <slots> 243 <slot>mSerialPortBox_toggled( bool )</slot> 244 <slot>mPortNumCombo_activated( const QString & aText )</slot> 245 <slot>mHostModeCombo_activated( const QString & aText )</slot> 246 </slots> 247 <functions> 248 <function access="private" specifier="non virtual">init()</function> 249 <function>getFromPort( const CSerialPort & )</function> 250 <function>putBackToPort()</function> 251 <function returnType="bool">isUserDefined()</function> 252 </functions> 253 <pixmapinproject/> 254 <layoutdefaults spacing="6" margin="11"/> 255 </UI> 33 </widget> 34 </item> 35 <item row="0" column="1" > 36 <widget class="QComboBox" name="mCbNumber" > 37 <property name="whatsThis" > 38 <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> 39 </property> 40 </widget> 41 </item> 42 <item row="0" column="2" > 43 <layout class="QHBoxLayout" > 44 <item> 45 <widget class="QLabel" name="mLbIRQ" > 46 <property name="text" > 47 <string>&IRQ</string> 48 </property> 49 <property name="buddy" > 50 <cstring>mLeIRQ</cstring> 51 </property> 52 </widget> 53 </item> 54 <item> 55 <widget class="QLineEdit" name="mLeIRQ" > 56 <property name="sizePolicy" > 57 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 58 <horstretch>0</horstretch> 59 <verstretch>0</verstretch> 60 </sizepolicy> 61 </property> 62 <property name="whatsThis" > 63 <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> 64 </property> 65 </widget> 66 </item> 67 </layout> 68 </item> 69 <item row="0" column="3" > 70 <layout class="QHBoxLayout" > 71 <item> 72 <widget class="QLabel" name="mLbIOPort" > 73 <property name="text" > 74 <string>I/O Po&rt</string> 75 </property> 76 <property name="buddy" > 77 <cstring>mLbIOPort</cstring> 78 </property> 79 </widget> 80 </item> 81 <item> 82 <widget class="QLineEdit" name="mLeIOPort" > 83 <property name="sizePolicy" > 84 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 85 <horstretch>0</horstretch> 86 <verstretch>0</verstretch> 87 </sizepolicy> 88 </property> 89 <property name="whatsThis" > 90 <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> 91 </property> 92 </widget> 93 </item> 94 </layout> 95 </item> 96 <item row="0" column="4" > 97 <spacer> 98 <property name="orientation" > 99 <enum>Qt::Horizontal</enum> 100 </property> 101 <property name="sizeHint" > 102 <size> 103 <width>0</width> 104 <height>20</height> 105 </size> 106 </property> 107 </spacer> 108 </item> 109 <item row="1" column="0" > 110 <widget class="QLabel" name="mLbMode" > 111 <property name="text" > 112 <string>Port &Mode</string> 113 </property> 114 <property name="buddy" > 115 <cstring>mCbMode</cstring> 116 </property> 117 </widget> 118 </item> 119 <item row="1" column="1" > 120 <widget class="QComboBox" name="mCbMode" > 121 <property name="whatsThis" > 122 <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> 123 </property> 124 </widget> 125 </item> 126 <item row="1" column="2" colspan="2" > 127 <widget class="QCheckBox" name="mCbPipe" > 128 <property name="whatsThis" > 129 <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> 130 </property> 131 <property name="text" > 132 <string>&Create Pipe</string> 133 </property> 134 </widget> 135 </item> 136 <item row="1" column="4" > 137 <spacer> 138 <property name="orientation" > 139 <enum>Qt::Horizontal</enum> 140 </property> 141 <property name="sizeHint" > 142 <size> 143 <width>0</width> 144 <height>20</height> 145 </size> 146 </property> 147 </spacer> 148 </item> 149 <item row="2" column="0" > 150 <widget class="QLabel" name="mLbPath" > 151 <property name="text" > 152 <string>Port &Path</string> 153 </property> 154 <property name="buddy" > 155 <cstring>mLePath</cstring> 156 </property> 157 </widget> 158 </item> 159 <item row="2" column="1" colspan="4" > 160 <widget class="QLineEdit" name="mLePath" > 161 <property name="whatsThis" > 162 <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> 163 </property> 164 </widget> 165 </item> 166 <item row="3" column="2" > 167 <spacer> 168 <property name="orientation" > 169 <enum>Qt::Vertical</enum> 170 </property> 171 <property name="sizeHint" > 172 <size> 173 <width>20</width> 174 <height>0</height> 175 </size> 176 </property> 177 </spacer> 178 </item> 179 </layout> 180 </widget> 181 </item> 182 </layout> 183 </widget> 184 <resources/> 185 <connections/> 186 </ui>
Note:
See TracChangeset
for help on using the changeset viewer.