VirtualBox

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

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

1942: Improve automatic naming for "Add New..." UIs
Corrections taken into account.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 46.8 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>361</width>
30 <height>368</height>
31 </rect>
32 </property>
33 <property name="caption">
34 <string>VBoxVMNetworkSettings</string>
35 </property>
36 <vbox>
37 <property name="name">
38 <cstring>unnamed</cstring>
39 </property>
40 <property name="spacing">
41 <number>10</number>
42 </property>
43 <widget class="QGroupBox">
44 <property name="name">
45 <cstring>grbEnabled</cstring>
46 </property>
47 <property name="sizePolicy">
48 <sizepolicy>
49 <hsizetype>5</hsizetype>
50 <vsizetype>5</vsizetype>
51 <horstretch>0</horstretch>
52 <verstretch>0</verstretch>
53 </sizepolicy>
54 </property>
55 <property name="title">
56 <string>&amp;Enable Network Adapter</string>
57 </property>
58 <property name="whatsThis" stdset="0">
59 <string>When checked, plugs this virtual network adapter into the virtual machine.</string>
60 </property>
61 <property name="checkable">
62 <bool>true</bool>
63 </property>
64 <vbox>
65 <property name="name">
66 <cstring>unnamed</cstring>
67 </property>
68 <widget class="QLayoutWidget">
69 <property name="name">
70 <cstring>layout121</cstring>
71 </property>
72 <hbox>
73 <property name="name">
74 <cstring>unnamed</cstring>
75 </property>
76 <widget class="QLayoutWidget">
77 <property name="name">
78 <cstring>layout35</cstring>
79 </property>
80 <vbox>
81 <property name="name">
82 <cstring>unnamed</cstring>
83 </property>
84 <widget class="QLabel">
85 <property name="name">
86 <cstring>txNetworkAttachment</cstring>
87 </property>
88 <property name="sizePolicy">
89 <sizepolicy>
90 <hsizetype>0</hsizetype>
91 <vsizetype>0</vsizetype>
92 <horstretch>0</horstretch>
93 <verstretch>0</verstretch>
94 </sizepolicy>
95 </property>
96 <property name="text">
97 <string>&amp;Attached to</string>
98 </property>
99 <property name="buddy" stdset="0">
100 <cstring>cbNetworkAttachment</cstring>
101 </property>
102 </widget>
103 <widget class="QComboBox">
104 <property name="name">
105 <cstring>cbNetworkAttachment</cstring>
106 </property>
107 <property name="whatsThis" stdset="0">
108 <string>Controls the way how this virtual adapter is attached to the real network of the Host OS.</string>
109 </property>
110 </widget>
111 </vbox>
112 </widget>
113 <widget class="QLayoutWidget">
114 <property name="name">
115 <cstring>layout11</cstring>
116 </property>
117 <vbox>
118 <property name="name">
119 <cstring>unnamed</cstring>
120 </property>
121 <widget class="QLabel">
122 <property name="name">
123 <cstring>txMACAddress</cstring>
124 </property>
125 <property name="sizePolicy">
126 <sizepolicy>
127 <hsizetype>0</hsizetype>
128 <vsizetype>0</vsizetype>
129 <horstretch>0</horstretch>
130 <verstretch>0</verstretch>
131 </sizepolicy>
132 </property>
133 <property name="text">
134 <string>&amp;MAC Address</string>
135 </property>
136 <property name="buddy" stdset="0">
137 <cstring>leMACAddress</cstring>
138 </property>
139 </widget>
140 <widget class="QLineEdit">
141 <property name="name">
142 <cstring>leMACAddress</cstring>
143 </property>
144 <property name="frameShape">
145 <enum>LineEditPanel</enum>
146 </property>
147 <property name="frameShadow">
148 <enum>Sunken</enum>
149 </property>
150 <property name="whatsThis" stdset="0">
151 <string>Displays the MAC address of this adapter. It contains exactly 12 characters chosen from {0-9,A-F}.</string>
152 </property>
153 </widget>
154 </vbox>
155 </widget>
156 <widget class="QLayoutWidget">
157 <property name="name">
158 <cstring>layout12</cstring>
159 </property>
160 <vbox>
161 <property name="name">
162 <cstring>unnamed</cstring>
163 </property>
164 <property name="spacing">
165 <number>0</number>
166 </property>
167 <spacer>
168 <property name="name">
169 <cstring>spacer6</cstring>
170 </property>
171 <property name="orientation">
172 <enum>Vertical</enum>
173 </property>
174 <property name="sizeType">
175 <enum>Minimum</enum>
176 </property>
177 <property name="sizeHint">
178 <size>
179 <width>20</width>
180 <height>20</height>
181 </size>
182 </property>
183 </spacer>
184 <widget class="QPushButton">
185 <property name="name">
186 <cstring>pbGenerateMAC</cstring>
187 </property>
188 <property name="text">
189 <string>&amp;Generate</string>
190 </property>
191 <property name="accel">
192 <string>Alt+G</string>
193 </property>
194 <property name="whatsThis" stdset="0">
195 <string>Generates a new random MAC address.</string>
196 </property>
197 </widget>
198 </vbox>
199 </widget>
200 </hbox>
201 </widget>
202 <widget class="QCheckBox">
203 <property name="name">
204 <cstring>chbCableConnected</cstring>
205 </property>
206 <property name="text">
207 <string>Ca&amp;ble Connected</string>
208 </property>
209 <property name="accel">
210 <string>Alt+B</string>
211 </property>
212 <property name="whatsThis" stdset="0">
213 <string>Indicates whether the virtual network cable is plugged in on machine startup or not.</string>
214 </property>
215 </widget>
216 <widget class="QGroupBox">
217 <property name="name">
218 <cstring>grbTAP</cstring>
219 </property>
220 <property name="title">
221 <string>Host Interface Settings</string>
222 </property>
223 <property name="flat">
224 <bool>false</bool>
225 </property>
226 <vbox>
227 <property name="name">
228 <cstring>unnamed</cstring>
229 </property>
230 <widget class="QLayoutWidget">
231 <property name="name">
232 <cstring>layout33</cstring>
233 </property>
234 <hbox>
235 <property name="name">
236 <cstring>unnamed</cstring>
237 </property>
238 <property name="spacing">
239 <number>0</number>
240 </property>
241 <widget class="QFrame">
242 <property name="name">
243 <cstring>frmHostInterface_WIN</cstring>
244 </property>
245 <property name="frameShape">
246 <enum>NoFrame</enum>
247 </property>
248 <property name="frameShadow">
249 <enum>Raised</enum>
250 </property>
251 <grid>
252 <property name="name">
253 <cstring>unnamed</cstring>
254 </property>
255 <property name="margin">
256 <number>0</number>
257 </property>
258 <property name="spacing">
259 <number>6</number>
260 </property>
261 <widget class="QLayoutWidget" row="0" column="0">
262 <property name="name">
263 <cstring>layout31</cstring>
264 </property>
265 <hbox>
266 <property name="name">
267 <cstring>unnamed</cstring>
268 </property>
269 <widget class="QLabel">
270 <property name="name">
271 <cstring>txHostInterface_WIN</cstring>
272 </property>
273 <property name="sizePolicy">
274 <sizepolicy>
275 <hsizetype>0</hsizetype>
276 <vsizetype>5</vsizetype>
277 <horstretch>0</horstretch>
278 <verstretch>0</verstretch>
279 </sizepolicy>
280 </property>
281 <property name="text">
282 <string>&amp;Interface Name</string>
283 </property>
284 <property name="buddy" stdset="0">
285 <cstring>leHostInterfaceName</cstring>
286 </property>
287 </widget>
288 <widget class="QLineEdit">
289 <property name="name">
290 <cstring>leHostInterfaceName</cstring>
291 </property>
292 <property name="focusPolicy">
293 <enum>NoFocus</enum>
294 </property>
295 <property name="readOnly">
296 <bool>true</bool>
297 </property>
298 <property name="whatsThis" stdset="0">
299 <string>Displays the name of the host interface selected for this adapter.</string>
300 </property>
301 </widget>
302 </hbox>
303 </widget>
304 <widget class="QListBox" row="1" column="0">
305 <property name="name">
306 <cstring>lbHostInterface</cstring>
307 </property>
308 <property name="sizePolicy">
309 <sizepolicy>
310 <hsizetype>7</hsizetype>
311 <vsizetype>7</vsizetype>
312 <horstretch>0</horstretch>
313 <verstretch>0</verstretch>
314 </sizepolicy>
315 </property>
316 <property name="whatsThis" stdset="0">
317 <string>Lists all available host interfaces.</string>
318 </property>
319 </widget>
320 <widget class="QLayoutWidget" row="1" column="1">
321 <property name="name">
322 <cstring>layout27</cstring>
323 </property>
324 <vbox>
325 <property name="name">
326 <cstring>unnamed</cstring>
327 </property>
328 <property name="margin">
329 <number>0</number>
330 </property>
331 <property name="spacing">
332 <number>0</number>
333 </property>
334 <widget class="QToolButton">
335 <property name="name">
336 <cstring>pbHostAdd</cstring>
337 </property>
338 <property name="focusPolicy">
339 <enum>StrongFocus</enum>
340 </property>
341 <property name="text">
342 <string></string>
343 </property>
344 <property name="autoRaise">
345 <bool>true</bool>
346 </property>
347 <property name="toolTip" stdset="0">
348 <string></string>
349 </property>
350 <property name="whatsThis" stdset="0">
351 <string>Adds a new host interface.</string>
352 </property>
353 </widget>
354 <widget class="QToolButton">
355 <property name="name">
356 <cstring>pbHostRemove</cstring>
357 </property>
358 <property name="focusPolicy">
359 <enum>StrongFocus</enum>
360 </property>
361 <property name="text">
362 <string></string>
363 </property>
364 <property name="autoRaise">
365 <bool>true</bool>
366 </property>
367 <property name="toolTip" stdset="0">
368 <string></string>
369 </property>
370 <property name="whatsThis" stdset="0">
371 <string>Removes the selected host interface.</string>
372 </property>
373 </widget>
374 <spacer>
375 <property name="name">
376 <cstring>spacer7</cstring>
377 </property>
378 <property name="orientation">
379 <enum>Vertical</enum>
380 </property>
381 <property name="sizeType">
382 <enum>Expanding</enum>
383 </property>
384 <property name="sizeHint">
385 <size>
386 <width>10</width>
387 <height>10</height>
388 </size>
389 </property>
390 </spacer>
391 </vbox>
392 </widget>
393 <spacer row="0" column="1">
394 <property name="name">
395 <cstring>spacer11</cstring>
396 </property>
397 <property name="orientation">
398 <enum>Horizontal</enum>
399 </property>
400 <property name="sizeType">
401 <enum>Minimum</enum>
402 </property>
403 <property name="sizeHint">
404 <size>
405 <width>20</width>
406 <height>20</height>
407 </size>
408 </property>
409 </spacer>
410 </grid>
411 </widget>
412 <widget class="QLayoutWidget">
413 <property name="name">
414 <cstring>layout120</cstring>
415 </property>
416 <hbox>
417 <property name="name">
418 <cstring>unnamed</cstring>
419 </property>
420 <widget class="QFrame">
421 <property name="name">
422 <cstring>frmHostInterface_X11</cstring>
423 </property>
424 <property name="frameShape">
425 <enum>NoFrame</enum>
426 </property>
427 <property name="frameShadow">
428 <enum>Raised</enum>
429 </property>
430 <vbox>
431 <property name="name">
432 <cstring>unnamed</cstring>
433 </property>
434 <property name="margin">
435 <number>0</number>
436 </property>
437 <widget class="QLabel">
438 <property name="name">
439 <cstring>txHostInterface_X11</cstring>
440 </property>
441 <property name="sizePolicy">
442 <sizepolicy>
443 <hsizetype>0</hsizetype>
444 <vsizetype>5</vsizetype>
445 <horstretch>0</horstretch>
446 <verstretch>0</verstretch>
447 </sizepolicy>
448 </property>
449 <property name="text">
450 <string>&amp;Interface Name</string>
451 </property>
452 <property name="buddy" stdset="0">
453 <cstring>leHostInterface</cstring>
454 </property>
455 </widget>
456 <widget class="QLineEdit">
457 <property name="name">
458 <cstring>leHostInterface</cstring>
459 </property>
460 <property name="whatsThis" stdset="0">
461 <string>Displays the TAP interface name.</string>
462 </property>
463 </widget>
464 </vbox>
465 </widget>
466 <widget class="QFrame">
467 <property name="name">
468 <cstring>frmTAPDescriptor</cstring>
469 </property>
470 <property name="frameShape">
471 <enum>NoFrame</enum>
472 </property>
473 <property name="frameShadow">
474 <enum>Raised</enum>
475 </property>
476 <vbox>
477 <property name="name">
478 <cstring>unnamed</cstring>
479 </property>
480 <property name="margin">
481 <number>0</number>
482 </property>
483 <widget class="QLabel">
484 <property name="name">
485 <cstring>txTAPDescriptor</cstring>
486 </property>
487 <property name="sizePolicy">
488 <sizepolicy>
489 <hsizetype>0</hsizetype>
490 <vsizetype>5</vsizetype>
491 <horstretch>0</horstretch>
492 <verstretch>0</verstretch>
493 </sizepolicy>
494 </property>
495 <property name="text">
496 <string>&amp;File Descriptor</string>
497 </property>
498 <property name="buddy" stdset="0">
499 <cstring>leTAPDescriptor</cstring>
500 </property>
501 </widget>
502 <widget class="QLineEdit">
503 <property name="name">
504 <cstring>leTAPDescriptor</cstring>
505 </property>
506 <property name="frameShape">
507 <enum>LineEditPanel</enum>
508 </property>
509 <property name="frameShadow">
510 <enum>Sunken</enum>
511 </property>
512 </widget>
513 </vbox>
514 </widget>
515 </hbox>
516 </widget>
517 </hbox>
518 </widget>
519 <widget class="QFrame">
520 <property name="name">
521 <cstring>frmTAPSetupTerminate</cstring>
522 </property>
523 <property name="frameShape">
524 <enum>NoFrame</enum>
525 </property>
526 <property name="frameShadow">
527 <enum>Raised</enum>
528 </property>
529 <vbox>
530 <property name="name">
531 <cstring>unnamed</cstring>
532 </property>
533 <property name="margin">
534 <number>0</number>
535 </property>
536 <widget class="QLayoutWidget">
537 <property name="name">
538 <cstring>layout124</cstring>
539 </property>
540 <vbox>
541 <property name="name">
542 <cstring>unnamed</cstring>
543 </property>
544 <property name="margin">
545 <number>0</number>
546 </property>
547 <property name="spacing">
548 <number>0</number>
549 </property>
550 <widget class="QLayoutWidget">
551 <property name="name">
552 <cstring>layout31</cstring>
553 </property>
554 <hbox>
555 <property name="name">
556 <cstring>unnamed</cstring>
557 </property>
558 <widget class="QLabel">
559 <property name="name">
560 <cstring>txTAPSetup</cstring>
561 </property>
562 <property name="text">
563 <string>&amp;Setup Application</string>
564 </property>
565 <property name="buddy" stdset="0">
566 <cstring>leTAPSetup</cstring>
567 </property>
568 </widget>
569 <spacer>
570 <property name="name">
571 <cstring>spacer14</cstring>
572 </property>
573 <property name="orientation">
574 <enum>Horizontal</enum>
575 </property>
576 <property name="sizeType">
577 <enum>Expanding</enum>
578 </property>
579 <property name="sizeHint">
580 <size>
581 <width>61</width>
582 <height>20</height>
583 </size>
584 </property>
585 </spacer>
586 </hbox>
587 </widget>
588 <widget class="QLayoutWidget">
589 <property name="name">
590 <cstring>layout122</cstring>
591 </property>
592 <hbox>
593 <property name="name">
594 <cstring>unnamed</cstring>
595 </property>
596 <widget class="QLineEdit">
597 <property name="name">
598 <cstring>leTAPSetup</cstring>
599 </property>
600 <property name="whatsThis" stdset="0">
601 <string>Displays the command executed to setup the TAP interface.</string>
602 </property>
603 </widget>
604 <widget class="QToolButton">
605 <property name="name">
606 <cstring>pbTAPSetup</cstring>
607 </property>
608 <property name="text">
609 <string>Select</string>
610 </property>
611 <property name="whatsThis" stdset="0">
612 <string>Selects the setup application.</string>
613 </property>
614 </widget>
615 </hbox>
616 </widget>
617 </vbox>
618 </widget>
619 <widget class="QLayoutWidget">
620 <property name="name">
621 <cstring>layout125</cstring>
622 </property>
623 <vbox>
624 <property name="name">
625 <cstring>unnamed</cstring>
626 </property>
627 <property name="margin">
628 <number>0</number>
629 </property>
630 <property name="spacing">
631 <number>0</number>
632 </property>
633 <widget class="QLayoutWidget">
634 <property name="name">
635 <cstring>layout32</cstring>
636 </property>
637 <hbox>
638 <property name="name">
639 <cstring>unnamed</cstring>
640 </property>
641 <widget class="QLabel">
642 <property name="name">
643 <cstring>txTAPTerminate</cstring>
644 </property>
645 <property name="text">
646 <string>&amp;Terminate Application</string>
647 </property>
648 <property name="buddy" stdset="0">
649 <cstring>leTAPTerminate</cstring>
650 </property>
651 </widget>
652 <spacer>
653 <property name="name">
654 <cstring>spacer15</cstring>
655 </property>
656 <property name="orientation">
657 <enum>Horizontal</enum>
658 </property>
659 <property name="sizeType">
660 <enum>Expanding</enum>
661 </property>
662 <property name="sizeHint">
663 <size>
664 <width>61</width>
665 <height>20</height>
666 </size>
667 </property>
668 </spacer>
669 </hbox>
670 </widget>
671 <widget class="QLayoutWidget">
672 <property name="name">
673 <cstring>layout123</cstring>
674 </property>
675 <hbox>
676 <property name="name">
677 <cstring>unnamed</cstring>
678 </property>
679 <widget class="QLineEdit">
680 <property name="name">
681 <cstring>leTAPTerminate</cstring>
682 </property>
683 <property name="frameShape">
684 <enum>LineEditPanel</enum>
685 </property>
686 <property name="frameShadow">
687 <enum>Sunken</enum>
688 </property>
689 <property name="whatsThis" stdset="0">
690 <string>Displays the command executed to terminate the TAP interface.</string>
691 </property>
692 </widget>
693 <widget class="QToolButton">
694 <property name="name">
695 <cstring>pbTAPTerminate</cstring>
696 </property>
697 <property name="text">
698 <string>Select</string>
699 </property>
700 <property name="whatsThis" stdset="0">
701 <string>Selects the terminate application.</string>
702 </property>
703 </widget>
704 </hbox>
705 </widget>
706 </vbox>
707 </widget>
708 </vbox>
709 </widget>
710 </vbox>
711 </widget>
712 </vbox>
713 </widget>
714 </vbox>
715</widget>
716<connections>
717 <connection>
718 <sender>pbGenerateMAC</sender>
719 <signal>clicked()</signal>
720 <receiver>VBoxVMNetworkSettings</receiver>
721 <slot>pbGenerateMAC_clicked()</slot>
722 </connection>
723 <connection>
724 <sender>cbNetworkAttachment</sender>
725 <signal>activated(const QString&amp;)</signal>
726 <receiver>VBoxVMNetworkSettings</receiver>
727 <slot>cbNetworkAttachment_activated(const QString&amp;)</slot>
728 </connection>
729 <connection>
730 <sender>pbTAPSetup</sender>
731 <signal>clicked()</signal>
732 <receiver>VBoxVMNetworkSettings</receiver>
733 <slot>pbTAPSetup_clicked()</slot>
734 </connection>
735 <connection>
736 <sender>pbTAPTerminate</sender>
737 <signal>clicked()</signal>
738 <receiver>VBoxVMNetworkSettings</receiver>
739 <slot>pbTAPTerminate_clicked()</slot>
740 </connection>
741 <connection>
742 <sender>pbHostAdd</sender>
743 <signal>clicked()</signal>
744 <receiver>VBoxVMNetworkSettings</receiver>
745 <slot>hostInterfaceAdd()</slot>
746 </connection>
747 <connection>
748 <sender>pbHostRemove</sender>
749 <signal>clicked()</signal>
750 <receiver>VBoxVMNetworkSettings</receiver>
751 <slot>hostInterfaceRemove()</slot>
752 </connection>
753 <connection>
754 <sender>lbHostInterface</sender>
755 <signal>highlighted(QListBoxItem*)</signal>
756 <receiver>VBoxVMNetworkSettings</receiver>
757 <slot>lbHostInterface_highlighted(QListBoxItem*)</slot>
758 </connection>
759</connections>
760<includes>
761 <include location="global" impldecl="in implementation">limits</include>
762 <include location="global" impldecl="in implementation">qvalidator.h</include>
763 <include location="global" impldecl="in implementation">qfiledialog.h</include>
764 <include location="local" impldecl="in declaration">COMDefs.h</include>
765 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include>
766 <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
767 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
768</includes>
769<variables>
770 <variable access="private">CNetworkAdapter cadapter;</variable>
771 <variable access="private">QIWidgetValidator *mWalidator;</variable>
772 <variable access="private">QString mNoInterfaces;</variable>
773</variables>
774<signals>
775 <signal>listChanged( QWidget* )</signal>
776</signals>
777<slots>
778 <slot>cbNetworkAttachment_activated( const QString &amp; string )</slot>
779 <slot>pbGenerateMAC_clicked()</slot>
780 <slot>pbTAPSetup_clicked()</slot>
781 <slot>pbTAPTerminate_clicked()</slot>
782 <slot access="protected">hostInterfaceAdd()</slot>
783 <slot access="protected">hostInterfaceRemove()</slot>
784 <slot access="protected">lbHostInterface_highlighted( QListBoxItem* item )</slot>
785 <slot access="protected">grbEnabledToggled( bool )</slot>
786</slots>
787<functions>
788 <function access="private" specifier="non virtual">init()</function>
789 <function>loadList( const QStringList &amp; )</function>
790 <function>getFromAdapter( const CNetworkAdapter &amp; )</function>
791 <function>putBackToAdapter()</function>
792 <function>setValidator( QIWidgetValidator* )</function>
793 <function>revalidate()</function>
794 <function returnType="bool">isPageValid( const QStringList &amp; )</function>
795 <function access="private">selectListItem( const QString &amp; )</function>
796 <function access="private" returnType="bool">isInterfaceInvalid( const QStringList &amp;, const QString &amp; )</function>
797</functions>
798<pixmapinproject/>
799<layoutdefaults spacing="6" margin="11"/>
800</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