VirtualBox

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

Last change on this file since 6724 was 6383, checked in by vboxsync, 17 years ago

FE/Qt: Please do it like this.

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