1 | <ui version="4.0" >
|
---|
2 | <comment>
|
---|
3 | VBox frontends: Qt4 GUI ("VirtualBox"):
|
---|
4 |
|
---|
5 | Copyright (C) 2008 Sun Microsystems, Inc.
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 |
|
---|
15 | Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
16 | Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
17 | additional information or have any questions.
|
---|
18 | </comment>
|
---|
19 | <class>VBoxVMSettingsNetwork</class>
|
---|
20 | <widget class="QWidget" name="VBoxVMSettingsNetwork" >
|
---|
21 | <property name="geometry" >
|
---|
22 | <rect>
|
---|
23 | <x>0</x>
|
---|
24 | <y>0</y>
|
---|
25 | <width>431</width>
|
---|
26 | <height>248</height>
|
---|
27 | </rect>
|
---|
28 | </property>
|
---|
29 | <layout class="QGridLayout" name="VBoxVMSettingsNetworkGridLayout">
|
---|
30 | <item row="0" column="0" colspan="2">
|
---|
31 | <widget class="QCheckBox" name="mCbEnableAdapter" >
|
---|
32 | <property name="whatsThis" >
|
---|
33 | <string>When checked, plugs this virtual network adapter into the virtual machine.</string>
|
---|
34 | </property>
|
---|
35 | <property name="text" >
|
---|
36 | <string>&Enable Network Adapter</string>
|
---|
37 | </property>
|
---|
38 | <property name="checked" >
|
---|
39 | <bool>true</bool>
|
---|
40 | </property>
|
---|
41 | </widget>
|
---|
42 | </item>
|
---|
43 | <item row="1" column="0">
|
---|
44 | <spacer name="horizontalSpacer1">
|
---|
45 | <property name="orientation">
|
---|
46 | <enum>Qt::Horizontal</enum>
|
---|
47 | </property>
|
---|
48 | <property name="sizeType">
|
---|
49 | <enum>QSizePolicy::Fixed</enum>
|
---|
50 | </property>
|
---|
51 | <property name="sizeHint" stdset="0">
|
---|
52 | <size>
|
---|
53 | <width>20</width>
|
---|
54 | <height>0</height>
|
---|
55 | </size>
|
---|
56 | </property>
|
---|
57 | </spacer>
|
---|
58 | </item>
|
---|
59 | <item row="1" column="1" >
|
---|
60 | <widget class="QWidget" name="mNetworkChild" native="1">
|
---|
61 | <layout class="QGridLayout" name="mNetworkChildGridLayout">
|
---|
62 | <property name="margin">
|
---|
63 | <number>0</number>
|
---|
64 | </property>
|
---|
65 | <item row="0" column="0" >
|
---|
66 | <widget class="QLabel" name="mLbAttachmentType">
|
---|
67 | <property name="text" >
|
---|
68 | <string>&Attached to:</string>
|
---|
69 | </property>
|
---|
70 | <property name="alignment" >
|
---|
71 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
---|
72 | </property>
|
---|
73 | <property name="buddy" >
|
---|
74 | <cstring>mCbAttachmentType</cstring>
|
---|
75 | </property>
|
---|
76 | </widget>
|
---|
77 | </item>
|
---|
78 | <item row="0" column="1">
|
---|
79 | <widget class="QComboBox" name="mCbAttachmentType">
|
---|
80 | <property name="sizePolicy">
|
---|
81 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
---|
82 | <horstretch>0</horstretch>
|
---|
83 | <verstretch>0</verstretch>
|
---|
84 | </sizepolicy>
|
---|
85 | </property>
|
---|
86 | <property name="whatsThis" >
|
---|
87 | <string>Controls how this virtual adapter is attached to the real network of the Host OS.</string>
|
---|
88 | </property>
|
---|
89 | </widget>
|
---|
90 | </item>
|
---|
91 | <item row="1" column="0" >
|
---|
92 | <widget class="QLabel" name="mLbAdapterName">
|
---|
93 | <property name="text" >
|
---|
94 | <string>&Name:</string>
|
---|
95 | </property>
|
---|
96 | <property name="alignment" >
|
---|
97 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
---|
98 | </property>
|
---|
99 | <property name="buddy" >
|
---|
100 | <cstring>mCbAdapterName</cstring>
|
---|
101 | </property>
|
---|
102 | </widget>
|
---|
103 | </item>
|
---|
104 | <item row="1" column="1" colspan="3">
|
---|
105 | <widget class="QComboBox" name="mCbAdapterName">
|
---|
106 | <property name="sizePolicy">
|
---|
107 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
---|
108 | <horstretch>1</horstretch>
|
---|
109 | <verstretch>0</verstretch>
|
---|
110 | </sizepolicy>
|
---|
111 | </property>
|
---|
112 | <property name="whatsThis" >
|
---|
113 | <string>Selects the name of the network adapter if attachment type is equivalent to <b>Bridged Adapter</b> or <b>Host-only Adapter</b> and the name of the internal network if attachment type is equivalent to <b>Internal Network</b>.</string>
|
---|
114 | </property>
|
---|
115 | </widget>
|
---|
116 | </item>
|
---|
117 | <item row="2" column="0">
|
---|
118 | <layout class="QHBoxLayout" name="mLtAdvancedBtn">
|
---|
119 | <property name="margin">
|
---|
120 | <number>0</number>
|
---|
121 | </property>
|
---|
122 | <item>
|
---|
123 | <spacer name="horizontalSpacer2">
|
---|
124 | <property name="orientation">
|
---|
125 | <enum>Qt::Horizontal</enum>
|
---|
126 | </property>
|
---|
127 | <property name="sizeHint" stdset="0">
|
---|
128 | <size>
|
---|
129 | <width>0</width>
|
---|
130 | <height>0</height>
|
---|
131 | </size>
|
---|
132 | </property>
|
---|
133 | </spacer>
|
---|
134 | </item>
|
---|
135 | <item>
|
---|
136 | <widget class="QIArrowButtonSwitch" native="1" name="mAbsAdvanced">
|
---|
137 | <property name="text">
|
---|
138 | <string>A&dvanced</string>
|
---|
139 | </property>
|
---|
140 | <property name="whatsThis" >
|
---|
141 | <string>Shows/hide additional network adapter options.</string>
|
---|
142 | </property>
|
---|
143 | </widget>
|
---|
144 | </item>
|
---|
145 | </layout>
|
---|
146 | </item>
|
---|
147 | <item row="3" column="0">
|
---|
148 | <widget class="QLabel" name="mLbAdapterType">
|
---|
149 | <property name="text">
|
---|
150 | <string>Adapter &Type:</string>
|
---|
151 | </property>
|
---|
152 | <property name="alignment">
|
---|
153 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
---|
154 | </property>
|
---|
155 | <property name="buddy">
|
---|
156 | <cstring>mCbAdapterType</cstring>
|
---|
157 | </property>
|
---|
158 | </widget>
|
---|
159 | </item>
|
---|
160 | <item row="3" column="1" colspan="3">
|
---|
161 | <widget class="QComboBox" name="mCbAdapterType">
|
---|
162 | <property name="sizePolicy">
|
---|
163 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
---|
164 | <horstretch>1</horstretch>
|
---|
165 | <verstretch>0</verstretch>
|
---|
166 | </sizepolicy>
|
---|
167 | </property>
|
---|
168 | <property name="whatsThis">
|
---|
169 | <string>Selects the type of the virtual network adapter. Depending on this value, VirtualBox will provide different network hardware to the virtual machine.</string>
|
---|
170 | </property>
|
---|
171 | </widget>
|
---|
172 | </item>
|
---|
173 | <item row="4" column="0">
|
---|
174 | <widget class="QLabel" name="mLbMAC">
|
---|
175 | <property name="text">
|
---|
176 | <string>&Mac Address:</string>
|
---|
177 | </property>
|
---|
178 | <property name="alignment" >
|
---|
179 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
---|
180 | </property>
|
---|
181 | <property name="buddy">
|
---|
182 | <cstring>mLeMAC</cstring>
|
---|
183 | </property>
|
---|
184 | </widget>
|
---|
185 | </item>
|
---|
186 | <item row="4" column="1" colspan="2">
|
---|
187 | <widget class="QILineEdit" name="mLeMAC">
|
---|
188 | <property name="sizePolicy">
|
---|
189 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
---|
190 | <horstretch>1</horstretch>
|
---|
191 | <verstretch>0</verstretch>
|
---|
192 | </sizepolicy>
|
---|
193 | </property>
|
---|
194 | <property name="whatsThis">
|
---|
195 | <string>Displays the MAC address of this adapter. It contains exactly 12 characters chosen from {0-9,A-F}. Note that the second character must be an even digit.</string>
|
---|
196 | </property>
|
---|
197 | </widget>
|
---|
198 | </item>
|
---|
199 | <item row="4" column="3">
|
---|
200 | <widget class="QToolButton" name="mTbMAC">
|
---|
201 | <property name="whatsThis">
|
---|
202 | <string>Generates a new random MAC address.</string>
|
---|
203 | </property>
|
---|
204 | <property name="icon">
|
---|
205 | <iconset resource="../VirtualBox.qrc">
|
---|
206 | <normaloff>:/refresh_16px.png</normaloff>:/refresh_16px.png</iconset>
|
---|
207 | </property>
|
---|
208 | <property name="autoRaise">
|
---|
209 | <bool>true</bool>
|
---|
210 | </property>
|
---|
211 | </widget>
|
---|
212 | </item>
|
---|
213 | <item row="5" column="1" colspan="3">
|
---|
214 | <widget class="QCheckBox" name="mCbCableConnected">
|
---|
215 | <property name="whatsThis">
|
---|
216 | <string>Indicates whether the virtual network cable is plugged in on machine startup or not.</string>
|
---|
217 | </property>
|
---|
218 | <property name="text">
|
---|
219 | <string>&Cable connected</string>
|
---|
220 | </property>
|
---|
221 | </widget>
|
---|
222 | </item>
|
---|
223 | <item row="6" column="0" colspan="4">
|
---|
224 | <spacer name="verticalSpacer">
|
---|
225 | <property name="orientation">
|
---|
226 | <enum>Qt::Vertical</enum>
|
---|
227 | </property>
|
---|
228 | <property name="sizeHint" stdset="0">
|
---|
229 | <size>
|
---|
230 | <width>0</width>
|
---|
231 | <height>0</height>
|
---|
232 | </size>
|
---|
233 | </property>
|
---|
234 | </spacer>
|
---|
235 | </item>
|
---|
236 | </layout>
|
---|
237 | </widget>
|
---|
238 | </item>
|
---|
239 | </layout>
|
---|
240 | </widget>
|
---|
241 | <customwidgets>
|
---|
242 | <customwidget>
|
---|
243 | <class>QILineEdit</class>
|
---|
244 | <extends>QLineEdit</extends>
|
---|
245 | <header>QILineEdit.h</header>
|
---|
246 | </customwidget>
|
---|
247 | <customwidget>
|
---|
248 | <class>QIArrowButtonSwitch</class>
|
---|
249 | <extends>QWidget</extends>
|
---|
250 | <header>QIArrowButtonSwitch.h</header>
|
---|
251 | <container>1</container>
|
---|
252 | </customwidget>
|
---|
253 | </customwidgets>
|
---|
254 | <resources>
|
---|
255 | <include location="../VirtualBox.qrc"/>
|
---|
256 | </resources>
|
---|
257 | <connections>
|
---|
258 | <connection>
|
---|
259 | <sender>mCbEnableAdapter</sender>
|
---|
260 | <signal>toggled(bool)</signal>
|
---|
261 | <receiver>mNetworkChild</receiver>
|
---|
262 | <slot>setEnabled(bool)</slot>
|
---|
263 | <hints>
|
---|
264 | <hint type="sourcelabel">
|
---|
265 | <x>184</x>
|
---|
266 | <y>28</y>
|
---|
267 | </hint>
|
---|
268 | <hint type="destinationlabel">
|
---|
269 | <x>196</x>
|
---|
270 | <y>111</y>
|
---|
271 | </hint>
|
---|
272 | </hints>
|
---|
273 | </connection>
|
---|
274 | </connections>
|
---|
275 | </ui>
|
---|