VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui@ 2973

Last change on this file since 2973 was 2973, checked in by vboxsync, 18 years ago

Network UI Update:

  1. Common interfaces list for all network adapters which is available all the time – never mind if the adapter on or off.
  2. Interface name for each adapter now should be selected from the dropped down combo-box.
  3. Some minor fixes.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 32.6 KB
Line 
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>VBoxVMNetworkSettings</class>
3<comment>
4:mode=html:tabSize=4:indentSize=4:noTabs=true:
5:folding=explicit:collapseFolds=1:
6
7# Copyright (C) 2006 InnoTek Systemberatung GmbH
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 as published by the Free Software Foundation,
13# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14# distribution. VirtualBox OSE is distributed in the hope that it will
15# be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# If you received this file as part of a commercial VirtualBox
18# distribution, then only the terms of your commercial VirtualBox
19# license agreement apply instead of the previous paragraph.
20</comment>
21<widget class="QWidget">
22 <property name="name">
23 <cstring>VBoxVMNetworkSettings</cstring>
24 </property>
25 <property name="geometry">
26 <rect>
27 <x>0</x>
28 <y>0</y>
29 <width>442</width>
30 <height>353</height>
31 </rect>
32 </property>
33 <property name="sizePolicy">
34 <sizepolicy>
35 <hsizetype>5</hsizetype>
36 <vsizetype>1</vsizetype>
37 <horstretch>0</horstretch>
38 <verstretch>0</verstretch>
39 </sizepolicy>
40 </property>
41 <property name="caption">
42 <string>VBoxVMNetworkSettings</string>
43 </property>
44 <vbox>
45 <property name="name">
46 <cstring>unnamed</cstring>
47 </property>
48 <property name="spacing">
49 <number>0</number>
50 </property>
51 <widget class="QGroupBox">
52 <property name="name">
53 <cstring>grbEnabled</cstring>
54 </property>
55 <property name="sizePolicy">
56 <sizepolicy>
57 <hsizetype>5</hsizetype>
58 <vsizetype>1</vsizetype>
59 <horstretch>0</horstretch>
60 <verstretch>0</verstretch>
61 </sizepolicy>
62 </property>
63 <property name="title">
64 <string>&amp;Enable Network Adapter</string>
65 </property>
66 <property name="whatsThis" stdset="0">
67 <string>When checked, plugs this virtual network adapter into the virtual machine.</string>
68 </property>
69 <property name="checkable">
70 <bool>true</bool>
71 </property>
72 <vbox>
73 <property name="name">
74 <cstring>unnamed</cstring>
75 </property>
76 <widget class="QLayoutWidget">
77 <property name="name">
78 <cstring>layout345</cstring>
79 </property>
80 <grid>
81 <property name="name">
82 <cstring>unnamed</cstring>
83 </property>
84 <widget class="QLabel" row="1" column="0">
85 <property name="name">
86 <cstring>txHostInterface_WIN</cstring>
87 </property>
88 <property name="sizePolicy">
89 <sizepolicy>
90 <hsizetype>0</hsizetype>
91 <vsizetype>5</vsizetype>
92 <horstretch>0</horstretch>
93 <verstretch>0</verstretch>
94 </sizepolicy>
95 </property>
96 <property name="text">
97 <string>&amp;Interface Name</string>
98 </property>
99 <property name="buddy" stdset="0">
100 <cstring>cbHostInterfaceName</cstring>
101 </property>
102 </widget>
103 <widget class="QLineEdit" row="2" column="1">
104 <property name="name">
105 <cstring>leMACAddress</cstring>
106 </property>
107 <property name="sizePolicy">
108 <sizepolicy>
109 <hsizetype>7</hsizetype>
110 <vsizetype>0</vsizetype>
111 <horstretch>0</horstretch>
112 <verstretch>0</verstretch>
113 </sizepolicy>
114 </property>
115 <property name="frameShape">
116 <enum>LineEditPanel</enum>
117 </property>
118 <property name="frameShadow">
119 <enum>Sunken</enum>
120 </property>
121 <property name="whatsThis" stdset="0">
122 <string>Displays the MAC address of this adapter. It contains exactly 12 characters chosen from {0-9,A-F}.</string>
123 </property>
124 </widget>
125 <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
126 <property name="name">
127 <cstring>cbNetworkAttachment</cstring>
128 </property>
129 <property name="whatsThis" stdset="0">
130 <string>Controls the way how this virtual adapter is attached to the real network of the Host OS.</string>
131 </property>
132 </widget>
133 <widget class="QToolButton" row="2" column="2">
134 <property name="name">
135 <cstring>pbGenerateMAC</cstring>
136 </property>
137 <property name="sizePolicy">
138 <sizepolicy>
139 <hsizetype>5</hsizetype>
140 <vsizetype>1</vsizetype>
141 <horstretch>0</horstretch>
142 <verstretch>0</verstretch>
143 </sizepolicy>
144 </property>
145 <property name="focusPolicy">
146 <enum>StrongFocus</enum>
147 </property>
148 <property name="text">
149 <string>&amp;Generate</string>
150 </property>
151 <property name="accel">
152 <string>Alt+G</string>
153 </property>
154 <property name="whatsThis" stdset="0">
155 <string>Generates a new random MAC address.</string>
156 </property>
157 </widget>
158 <widget class="QLabel" row="0" column="0">
159 <property name="name">
160 <cstring>txNetworkAttachment</cstring>
161 </property>
162 <property name="sizePolicy">
163 <sizepolicy>
164 <hsizetype>0</hsizetype>
165 <vsizetype>0</vsizetype>
166 <horstretch>0</horstretch>
167 <verstretch>0</verstretch>
168 </sizepolicy>
169 </property>
170 <property name="text">
171 <string>&amp;Attached to</string>
172 </property>
173 <property name="buddy" stdset="0">
174 <cstring>cbNetworkAttachment</cstring>
175 </property>
176 </widget>
177 <widget class="QLabel" row="2" column="0">
178 <property name="name">
179 <cstring>txMACAddress</cstring>
180 </property>
181 <property name="sizePolicy">
182 <sizepolicy>
183 <hsizetype>0</hsizetype>
184 <vsizetype>0</vsizetype>
185 <horstretch>0</horstretch>
186 <verstretch>0</verstretch>
187 </sizepolicy>
188 </property>
189 <property name="text">
190 <string>&amp;MAC Address</string>
191 </property>
192 <property name="buddy" stdset="0">
193 <cstring>leMACAddress</cstring>
194 </property>
195 </widget>
196 <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
197 <property name="name">
198 <cstring>cbHostInterfaceName</cstring>
199 </property>
200 <property name="whatsThis" stdset="0">
201 <string>Displays the name of the host interface selected for this adapter.</string>
202 </property>
203 </widget>
204 </grid>
205 </widget>
206 <widget class="QCheckBox">
207 <property name="name">
208 <cstring>chbCableConnected</cstring>
209 </property>
210 <property name="text">
211 <string>Ca&amp;ble Connected</string>
212 </property>
213 <property name="accel">
214 <string>Alt+B</string>
215 </property>
216 <property name="whatsThis" stdset="0">
217 <string>Indicates whether the virtual network cable is plugged in on machine startup or not.</string>
218 </property>
219 </widget>
220 <widget class="QGroupBox">
221 <property name="name">
222 <cstring>grbTAP</cstring>
223 </property>
224 <property name="title">
225 <string>Host Interface Settings</string>
226 </property>
227 <property name="flat">
228 <bool>false</bool>
229 </property>
230 <vbox>
231 <property name="name">
232 <cstring>unnamed</cstring>
233 </property>
234 <widget class="QLayoutWidget">
235 <property name="name">
236 <cstring>layout120</cstring>
237 </property>
238 <hbox>
239 <property name="name">
240 <cstring>unnamed</cstring>
241 </property>
242 <widget class="QFrame">
243 <property name="name">
244 <cstring>frmHostInterface_X11</cstring>
245 </property>
246 <property name="frameShape">
247 <enum>NoFrame</enum>
248 </property>
249 <property name="frameShadow">
250 <enum>Raised</enum>
251 </property>
252 <vbox>
253 <property name="name">
254 <cstring>unnamed</cstring>
255 </property>
256 <property name="margin">
257 <number>0</number>
258 </property>
259 <widget class="QLabel">
260 <property name="name">
261 <cstring>txHostInterface_X11</cstring>
262 </property>
263 <property name="sizePolicy">
264 <sizepolicy>
265 <hsizetype>0</hsizetype>
266 <vsizetype>5</vsizetype>
267 <horstretch>0</horstretch>
268 <verstretch>0</verstretch>
269 </sizepolicy>
270 </property>
271 <property name="text">
272 <string>&amp;Interface Name</string>
273 </property>
274 <property name="buddy" stdset="0">
275 <cstring>leHostInterface</cstring>
276 </property>
277 </widget>
278 <widget class="QLineEdit">
279 <property name="name">
280 <cstring>leHostInterface</cstring>
281 </property>
282 <property name="whatsThis" stdset="0">
283 <string>Displays the TAP interface name.</string>
284 </property>
285 </widget>
286 </vbox>
287 </widget>
288 <widget class="QFrame">
289 <property name="name">
290 <cstring>frmTAPDescriptor</cstring>
291 </property>
292 <property name="frameShape">
293 <enum>NoFrame</enum>
294 </property>
295 <property name="frameShadow">
296 <enum>Raised</enum>
297 </property>
298 <vbox>
299 <property name="name">
300 <cstring>unnamed</cstring>
301 </property>
302 <property name="margin">
303 <number>0</number>
304 </property>
305 <widget class="QLabel">
306 <property name="name">
307 <cstring>txTAPDescriptor</cstring>
308 </property>
309 <property name="sizePolicy">
310 <sizepolicy>
311 <hsizetype>0</hsizetype>
312 <vsizetype>5</vsizetype>
313 <horstretch>0</horstretch>
314 <verstretch>0</verstretch>
315 </sizepolicy>
316 </property>
317 <property name="text">
318 <string>&amp;File Descriptor</string>
319 </property>
320 <property name="buddy" stdset="0">
321 <cstring>leTAPDescriptor</cstring>
322 </property>
323 </widget>
324 <widget class="QLineEdit">
325 <property name="name">
326 <cstring>leTAPDescriptor</cstring>
327 </property>
328 <property name="frameShape">
329 <enum>LineEditPanel</enum>
330 </property>
331 <property name="frameShadow">
332 <enum>Sunken</enum>
333 </property>
334 </widget>
335 </vbox>
336 </widget>
337 </hbox>
338 </widget>
339 <widget class="QFrame">
340 <property name="name">
341 <cstring>frmTAPSetupTerminate</cstring>
342 </property>
343 <property name="frameShape">
344 <enum>NoFrame</enum>
345 </property>
346 <property name="frameShadow">
347 <enum>Raised</enum>
348 </property>
349 <vbox>
350 <property name="name">
351 <cstring>unnamed</cstring>
352 </property>
353 <property name="margin">
354 <number>0</number>
355 </property>
356 <widget class="QLayoutWidget">
357 <property name="name">
358 <cstring>layout124</cstring>
359 </property>
360 <vbox>
361 <property name="name">
362 <cstring>unnamed</cstring>
363 </property>
364 <property name="margin">
365 <number>0</number>
366 </property>
367 <property name="spacing">
368 <number>0</number>
369 </property>
370 <widget class="QLayoutWidget">
371 <property name="name">
372 <cstring>layout31</cstring>
373 </property>
374 <hbox>
375 <property name="name">
376 <cstring>unnamed</cstring>
377 </property>
378 <widget class="QLabel">
379 <property name="name">
380 <cstring>txTAPSetup</cstring>
381 </property>
382 <property name="text">
383 <string>&amp;Setup Application</string>
384 </property>
385 <property name="buddy" stdset="0">
386 <cstring>leTAPSetup</cstring>
387 </property>
388 </widget>
389 <spacer>
390 <property name="name">
391 <cstring>spacer14</cstring>
392 </property>
393 <property name="orientation">
394 <enum>Horizontal</enum>
395 </property>
396 <property name="sizeType">
397 <enum>Expanding</enum>
398 </property>
399 <property name="sizeHint">
400 <size>
401 <width>61</width>
402 <height>20</height>
403 </size>
404 </property>
405 </spacer>
406 </hbox>
407 </widget>
408 <widget class="QLayoutWidget">
409 <property name="name">
410 <cstring>layout122</cstring>
411 </property>
412 <hbox>
413 <property name="name">
414 <cstring>unnamed</cstring>
415 </property>
416 <widget class="QLineEdit">
417 <property name="name">
418 <cstring>leTAPSetup</cstring>
419 </property>
420 <property name="whatsThis" stdset="0">
421 <string>Displays the command executed to setup the TAP interface.</string>
422 </property>
423 </widget>
424 <widget class="QToolButton">
425 <property name="name">
426 <cstring>pbTAPSetup</cstring>
427 </property>
428 <property name="text">
429 <string>Select</string>
430 </property>
431 <property name="whatsThis" stdset="0">
432 <string>Selects the setup application.</string>
433 </property>
434 </widget>
435 </hbox>
436 </widget>
437 </vbox>
438 </widget>
439 <widget class="QLayoutWidget">
440 <property name="name">
441 <cstring>layout125</cstring>
442 </property>
443 <vbox>
444 <property name="name">
445 <cstring>unnamed</cstring>
446 </property>
447 <property name="margin">
448 <number>0</number>
449 </property>
450 <property name="spacing">
451 <number>0</number>
452 </property>
453 <widget class="QLayoutWidget">
454 <property name="name">
455 <cstring>layout32</cstring>
456 </property>
457 <hbox>
458 <property name="name">
459 <cstring>unnamed</cstring>
460 </property>
461 <widget class="QLabel">
462 <property name="name">
463 <cstring>txTAPTerminate</cstring>
464 </property>
465 <property name="text">
466 <string>&amp;Terminate Application</string>
467 </property>
468 <property name="buddy" stdset="0">
469 <cstring>leTAPTerminate</cstring>
470 </property>
471 </widget>
472 <spacer>
473 <property name="name">
474 <cstring>spacer15</cstring>
475 </property>
476 <property name="orientation">
477 <enum>Horizontal</enum>
478 </property>
479 <property name="sizeType">
480 <enum>Expanding</enum>
481 </property>
482 <property name="sizeHint">
483 <size>
484 <width>61</width>
485 <height>20</height>
486 </size>
487 </property>
488 </spacer>
489 </hbox>
490 </widget>
491 <widget class="QLayoutWidget">
492 <property name="name">
493 <cstring>layout123</cstring>
494 </property>
495 <hbox>
496 <property name="name">
497 <cstring>unnamed</cstring>
498 </property>
499 <widget class="QLineEdit">
500 <property name="name">
501 <cstring>leTAPTerminate</cstring>
502 </property>
503 <property name="frameShape">
504 <enum>LineEditPanel</enum>
505 </property>
506 <property name="frameShadow">
507 <enum>Sunken</enum>
508 </property>
509 <property name="whatsThis" stdset="0">
510 <string>Displays the command executed to terminate the TAP interface.</string>
511 </property>
512 </widget>
513 <widget class="QToolButton">
514 <property name="name">
515 <cstring>pbTAPTerminate</cstring>
516 </property>
517 <property name="text">
518 <string>Select</string>
519 </property>
520 <property name="whatsThis" stdset="0">
521 <string>Selects the terminate application.</string>
522 </property>
523 </widget>
524 </hbox>
525 </widget>
526 </vbox>
527 </widget>
528 </vbox>
529 </widget>
530 </vbox>
531 </widget>
532 </vbox>
533 </widget>
534 </vbox>
535</widget>
536<connections>
537 <connection>
538 <sender>pbGenerateMAC</sender>
539 <signal>clicked()</signal>
540 <receiver>VBoxVMNetworkSettings</receiver>
541 <slot>pbGenerateMAC_clicked()</slot>
542 </connection>
543 <connection>
544 <sender>cbNetworkAttachment</sender>
545 <signal>activated(const QString&amp;)</signal>
546 <receiver>VBoxVMNetworkSettings</receiver>
547 <slot>cbNetworkAttachment_activated(const QString&amp;)</slot>
548 </connection>
549 <connection>
550 <sender>pbTAPSetup</sender>
551 <signal>clicked()</signal>
552 <receiver>VBoxVMNetworkSettings</receiver>
553 <slot>pbTAPSetup_clicked()</slot>
554 </connection>
555 <connection>
556 <sender>pbTAPTerminate</sender>
557 <signal>clicked()</signal>
558 <receiver>VBoxVMNetworkSettings</receiver>
559 <slot>pbTAPTerminate_clicked()</slot>
560 </connection>
561</connections>
562<tabstops>
563 <tabstop>cbNetworkAttachment</tabstop>
564 <tabstop>cbHostInterfaceName</tabstop>
565 <tabstop>leMACAddress</tabstop>
566</tabstops>
567<includes>
568 <include location="global" impldecl="in implementation">limits</include>
569 <include location="global" impldecl="in implementation">qvalidator.h</include>
570 <include location="global" impldecl="in implementation">qfiledialog.h</include>
571 <include location="local" impldecl="in declaration">COMDefs.h</include>
572 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include>
573 <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
574 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
575</includes>
576<variables>
577 <variable access="private">CNetworkAdapter cadapter;</variable>
578 <variable access="private">QIWidgetValidator *mWalidator;</variable>
579</variables>
580<slots>
581 <slot access="private">grbEnabledToggled( bool )</slot>
582 <slot access="private">cbNetworkAttachment_activated( const QString &amp; string )</slot>
583 <slot access="private">pbGenerateMAC_clicked()</slot>
584 <slot access="private">pbTAPSetup_clicked()</slot>
585 <slot access="private">pbTAPTerminate_clicked()</slot>
586</slots>
587<functions>
588 <function access="private" specifier="non virtual">init()</function>
589 <function returnType="bool">isPageValid( const QStringList &amp; )</function>
590 <function>loadList( const QStringList &amp;, const QString &amp; )</function>
591 <function>getFromAdapter( const CNetworkAdapter &amp; )</function>
592 <function>putBackToAdapter()</function>
593 <function>setValidator( QIWidgetValidator* )</function>
594 <function>revalidate()</function>
595 <function access="private" returnType="bool">isInterfaceInvalid( const QStringList &amp;, const QString &amp; )</function>
596</functions>
597<pixmapinproject/>
598<layoutdefaults spacing="6" margin="11"/>
599</UI>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette