VirtualBox

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

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

export to OSE again

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