VirtualBox

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

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

FE/Qt: Added proper Shared Folders and Host IFace icons.

  • 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 a 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
316 the selected host interface</string>
317 </property>
318 </widget>
319 </hbox>
320 </widget>
321 <widget class="QListBox">
322 <property name="name">
323 <cstring>lbHostInterface</cstring>
324 </property>
325 <property name="sizePolicy">
326 <sizepolicy>
327 <hsizetype>7</hsizetype>
328 <vsizetype>7</vsizetype>
329 <horstretch>0</horstretch>
330 <verstretch>0</verstretch>
331 </sizepolicy>
332 </property>
333 <property name="whatsThis" stdset="0">
334 <string>The list of interfaces available</string>
335 </property>
336 </widget>
337 </vbox>
338 </widget>
339 <widget class="QLayoutWidget">
340 <property name="name">
341 <cstring>layout120</cstring>
342 </property>
343 <hbox>
344 <property name="name">
345 <cstring>unnamed</cstring>
346 </property>
347 <widget class="QFrame">
348 <property name="name">
349 <cstring>frmHostInterface_X11</cstring>
350 </property>
351 <property name="frameShape">
352 <enum>NoFrame</enum>
353 </property>
354 <property name="frameShadow">
355 <enum>Raised</enum>
356 </property>
357 <vbox>
358 <property name="name">
359 <cstring>unnamed</cstring>
360 </property>
361 <property name="margin">
362 <number>0</number>
363 </property>
364 <widget class="QLabel">
365 <property name="name">
366 <cstring>txHostInterface_X11</cstring>
367 </property>
368 <property name="sizePolicy">
369 <sizepolicy>
370 <hsizetype>0</hsizetype>
371 <vsizetype>5</vsizetype>
372 <horstretch>0</horstretch>
373 <verstretch>0</verstretch>
374 </sizepolicy>
375 </property>
376 <property name="text">
377 <string>&amp;Interface Name</string>
378 </property>
379 <property name="buddy" stdset="0">
380 <cstring>leHostInterface</cstring>
381 </property>
382 </widget>
383 <widget class="QLineEdit">
384 <property name="name">
385 <cstring>leHostInterface</cstring>
386 </property>
387 <property name="whatsThis" stdset="0">
388 <string>TAP interface name</string>
389 </property>
390 </widget>
391 </vbox>
392 </widget>
393 <widget class="QFrame">
394 <property name="name">
395 <cstring>frmTAPDescriptor</cstring>
396 </property>
397 <property name="frameShape">
398 <enum>NoFrame</enum>
399 </property>
400 <property name="frameShadow">
401 <enum>Raised</enum>
402 </property>
403 <vbox>
404 <property name="name">
405 <cstring>unnamed</cstring>
406 </property>
407 <property name="margin">
408 <number>0</number>
409 </property>
410 <widget class="QLabel">
411 <property name="name">
412 <cstring>txTAPDescriptor</cstring>
413 </property>
414 <property name="sizePolicy">
415 <sizepolicy>
416 <hsizetype>0</hsizetype>
417 <vsizetype>5</vsizetype>
418 <horstretch>0</horstretch>
419 <verstretch>0</verstretch>
420 </sizepolicy>
421 </property>
422 <property name="text">
423 <string>&amp;File Descriptor</string>
424 </property>
425 <property name="buddy" stdset="0">
426 <cstring>leTAPDescriptor</cstring>
427 </property>
428 </widget>
429 <widget class="QLineEdit">
430 <property name="name">
431 <cstring>leTAPDescriptor</cstring>
432 </property>
433 <property name="frameShape">
434 <enum>LineEditPanel</enum>
435 </property>
436 <property name="frameShadow">
437 <enum>Sunken</enum>
438 </property>
439 </widget>
440 </vbox>
441 </widget>
442 </hbox>
443 </widget>
444 </hbox>
445 </widget>
446 <widget class="QFrame">
447 <property name="name">
448 <cstring>frmTAPSetupTerminate</cstring>
449 </property>
450 <property name="frameShape">
451 <enum>NoFrame</enum>
452 </property>
453 <property name="frameShadow">
454 <enum>Raised</enum>
455 </property>
456 <vbox>
457 <property name="name">
458 <cstring>unnamed</cstring>
459 </property>
460 <property name="margin">
461 <number>0</number>
462 </property>
463 <widget class="QLayoutWidget">
464 <property name="name">
465 <cstring>layout124</cstring>
466 </property>
467 <vbox>
468 <property name="name">
469 <cstring>unnamed</cstring>
470 </property>
471 <property name="margin">
472 <number>0</number>
473 </property>
474 <property name="spacing">
475 <number>0</number>
476 </property>
477 <widget class="QLayoutWidget">
478 <property name="name">
479 <cstring>layout31</cstring>
480 </property>
481 <hbox>
482 <property name="name">
483 <cstring>unnamed</cstring>
484 </property>
485 <widget class="QLabel">
486 <property name="name">
487 <cstring>txTAPSetup</cstring>
488 </property>
489 <property name="text">
490 <string>&amp;Setup Application</string>
491 </property>
492 <property name="buddy" stdset="0">
493 <cstring>leTAPSetup</cstring>
494 </property>
495 </widget>
496 <spacer>
497 <property name="name">
498 <cstring>spacer14</cstring>
499 </property>
500 <property name="orientation">
501 <enum>Horizontal</enum>
502 </property>
503 <property name="sizeType">
504 <enum>Expanding</enum>
505 </property>
506 <property name="sizeHint">
507 <size>
508 <width>61</width>
509 <height>20</height>
510 </size>
511 </property>
512 </spacer>
513 </hbox>
514 </widget>
515 <widget class="QLayoutWidget">
516 <property name="name">
517 <cstring>layout122</cstring>
518 </property>
519 <hbox>
520 <property name="name">
521 <cstring>unnamed</cstring>
522 </property>
523 <widget class="QLineEdit">
524 <property name="name">
525 <cstring>leTAPSetup</cstring>
526 </property>
527 <property name="whatsThis" stdset="0">
528 <string>Setup application</string>
529 </property>
530 </widget>
531 <widget class="QToolButton">
532 <property name="name">
533 <cstring>pbTAPSetup</cstring>
534 </property>
535 <property name="text">
536 <string>Select</string>
537 </property>
538 <property name="whatsThis" stdset="0">
539 <string>Select setup application</string>
540 </property>
541 </widget>
542 </hbox>
543 </widget>
544 </vbox>
545 </widget>
546 <widget class="QLayoutWidget">
547 <property name="name">
548 <cstring>layout125</cstring>
549 </property>
550 <vbox>
551 <property name="name">
552 <cstring>unnamed</cstring>
553 </property>
554 <property name="margin">
555 <number>0</number>
556 </property>
557 <property name="spacing">
558 <number>0</number>
559 </property>
560 <widget class="QLayoutWidget">
561 <property name="name">
562 <cstring>layout32</cstring>
563 </property>
564 <hbox>
565 <property name="name">
566 <cstring>unnamed</cstring>
567 </property>
568 <widget class="QLabel">
569 <property name="name">
570 <cstring>txTAPTerminate</cstring>
571 </property>
572 <property name="text">
573 <string>&amp;Terminate Application</string>
574 </property>
575 <property name="buddy" stdset="0">
576 <cstring>leTAPTerminate</cstring>
577 </property>
578 </widget>
579 <spacer>
580 <property name="name">
581 <cstring>spacer15</cstring>
582 </property>
583 <property name="orientation">
584 <enum>Horizontal</enum>
585 </property>
586 <property name="sizeType">
587 <enum>Expanding</enum>
588 </property>
589 <property name="sizeHint">
590 <size>
591 <width>61</width>
592 <height>20</height>
593 </size>
594 </property>
595 </spacer>
596 </hbox>
597 </widget>
598 <widget class="QLayoutWidget">
599 <property name="name">
600 <cstring>layout123</cstring>
601 </property>
602 <hbox>
603 <property name="name">
604 <cstring>unnamed</cstring>
605 </property>
606 <widget class="QLineEdit">
607 <property name="name">
608 <cstring>leTAPTerminate</cstring>
609 </property>
610 <property name="frameShape">
611 <enum>LineEditPanel</enum>
612 </property>
613 <property name="frameShadow">
614 <enum>Sunken</enum>
615 </property>
616 <property name="whatsThis" stdset="0">
617 <string>Terminate application</string>
618 </property>
619 </widget>
620 <widget class="QToolButton">
621 <property name="name">
622 <cstring>pbTAPTerminate</cstring>
623 </property>
624 <property name="text">
625 <string>Select</string>
626 </property>
627 <property name="whatsThis" stdset="0">
628 <string>Select terminate application</string>
629 </property>
630 </widget>
631 </hbox>
632 </widget>
633 </vbox>
634 </widget>
635 </vbox>
636 </widget>
637 </vbox>
638 </widget>
639 </vbox>
640 </widget>
641 </grid>
642</widget>
643<connections>
644 <connection>
645 <sender>pbGenerateMAC</sender>
646 <signal>clicked()</signal>
647 <receiver>VBoxVMNetworkSettings</receiver>
648 <slot>pbGenerateMAC_clicked()</slot>
649 </connection>
650 <connection>
651 <sender>cbNetworkAttachment</sender>
652 <signal>activated(const QString&amp;)</signal>
653 <receiver>VBoxVMNetworkSettings</receiver>
654 <slot>cbNetworkAttachment_activated(const QString&amp;)</slot>
655 </connection>
656 <connection>
657 <sender>pbTAPSetup</sender>
658 <signal>clicked()</signal>
659 <receiver>VBoxVMNetworkSettings</receiver>
660 <slot>pbTAPSetup_clicked()</slot>
661 </connection>
662 <connection>
663 <sender>pbTAPTerminate</sender>
664 <signal>clicked()</signal>
665 <receiver>VBoxVMNetworkSettings</receiver>
666 <slot>pbTAPTerminate_clicked()</slot>
667 </connection>
668 <connection>
669 <sender>pbHostAdd</sender>
670 <signal>clicked()</signal>
671 <receiver>VBoxVMNetworkSettings</receiver>
672 <slot>hostInterfaceAdd()</slot>
673 </connection>
674 <connection>
675 <sender>pbHostRemove</sender>
676 <signal>clicked()</signal>
677 <receiver>VBoxVMNetworkSettings</receiver>
678 <slot>hostInterfaceRemove()</slot>
679 </connection>
680 <connection>
681 <sender>lbHostInterface</sender>
682 <signal>highlighted(QListBoxItem*)</signal>
683 <receiver>VBoxVMNetworkSettings</receiver>
684 <slot>lbHostInterface_highlighted(QListBoxItem*)</slot>
685 </connection>
686</connections>
687<includes>
688 <include location="global" impldecl="in implementation">limits</include>
689 <include location="global" impldecl="in implementation">qvalidator.h</include>
690 <include location="global" impldecl="in implementation">qfiledialog.h</include>
691 <include location="local" impldecl="in declaration">COMDefs.h</include>
692 <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
693 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
694</includes>
695<variables>
696 <variable access="private">QStringList networkInterfaceList;</variable>
697 <variable access="private">CNetworkAdapter cadapter;</variable>
698 <variable access="private">QString NoSuitableIfaces;</variable>
699</variables>
700<slots>
701 <slot>cbNetworkAttachment_activated( const QString &amp; string )</slot>
702 <slot>pbGenerateMAC_clicked()</slot>
703 <slot>pbTAPSetup_clicked()</slot>
704 <slot>pbTAPTerminate_clicked()</slot>
705 <slot access="protected">hostInterfaceAdd()</slot>
706 <slot access="protected">hostInterfaceRemove()</slot>
707 <slot access="protected">lbHostInterface_highlighted( QListBoxItem* item )</slot>
708</slots>
709<functions>
710 <function access="private" specifier="non virtual">init()</function>
711 <function>getFromAdapter( const CNetworkAdapter &amp; adapter )</function>
712 <function>putBackToAdapter()</function>
713 <function access="private">updateInterfaceList()</function>
714 <function returnType="bool">checkNetworkInterface( QString input )</function>
715</functions>
716<pixmapinproject/>
717<layoutdefaults spacing="6" margin="11"/>
718</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