VirtualBox

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

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

FE/Qt: NLS: Fixed: header files were not processed by the language update tool; Added the translation template.

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