VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/ui/VBoxNewHDWzd.ui@ 3123

Last change on this file since 3123 was 2988, checked in by vboxsync, 17 years ago

InnoTek -> innotek part 4: more miscellaneous files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 34.1 KB
Line 
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>VBoxNewHDWzd</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 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
21</comment>
22<widget class="QWizard">
23 <property name="name">
24 <cstring>VBoxNewHDWzd</cstring>
25 </property>
26 <property name="geometry">
27 <rect>
28 <x>0</x>
29 <y>0</y>
30 <width>542</width>
31 <height>499</height>
32 </rect>
33 </property>
34 <property name="caption">
35 <string>Create New Virtual Disk</string>
36 </property>
37 <property name="titleFont">
38 <font>
39 <family>Arial</family>
40 <pointsize>12</pointsize>
41 <bold>1</bold>
42 </font>
43 </property>
44 <widget class="QWidget">
45 <property name="name">
46 <cstring>pageWelcome</cstring>
47 </property>
48 <attribute name="title">
49 <string>Welcome to the Create New Virtual Disk Wizard!</string>
50 </attribute>
51 <hbox>
52 <property name="name">
53 <cstring>unnamed</cstring>
54 </property>
55 <property name="spacing">
56 <number>20</number>
57 </property>
58 <property name="resizeMode">
59 <enum>Minimum</enum>
60 </property>
61 <widget class="QLabel">
62 <property name="name">
63 <cstring>pmWelcome</cstring>
64 </property>
65 <property name="sizePolicy">
66 <sizepolicy>
67 <hsizetype>4</hsizetype>
68 <vsizetype>5</vsizetype>
69 <horstretch>0</horstretch>
70 <verstretch>0</verstretch>
71 </sizepolicy>
72 </property>
73 <property name="pixmap">
74 <pixmap>vmw_new_harddisk.png</pixmap>
75 </property>
76 <property name="alignment">
77 <set>AlignTop</set>
78 </property>
79 </widget>
80 <widget class="QLayoutWidget">
81 <property name="name">
82 <cstring>layout33</cstring>
83 </property>
84 <vbox>
85 <property name="name">
86 <cstring>unnamed</cstring>
87 </property>
88 <widget class="QLabel">
89 <property name="name">
90 <cstring>txWelcome</cstring>
91 </property>
92 <property name="sizePolicy">
93 <sizepolicy>
94 <hsizetype>1</hsizetype>
95 <vsizetype>0</vsizetype>
96 <horstretch>0</horstretch>
97 <verstretch>0</verstretch>
98 </sizepolicy>
99 </property>
100 <property name="text">
101 <string>&lt;p&gt;This wizard will help you to create a new virtual hard disk image for your virtual machine.&lt;/p&gt;
102&lt;p&gt;Use the &lt;b&gt;Next&lt;/b&gt; button to go to the next page of the wizard
103and the &lt;b&gt;Back&lt;/b&gt; button to return to the previous page.&lt;/p&gt;</string>
104 </property>
105 <property name="alignment">
106 <set>WordBreak|AlignTop</set>
107 </property>
108 </widget>
109 <spacer>
110 <property name="name">
111 <cstring>spacer30</cstring>
112 </property>
113 <property name="orientation">
114 <enum>Vertical</enum>
115 </property>
116 <property name="sizeType">
117 <enum>Expanding</enum>
118 </property>
119 <property name="sizeHint">
120 <size>
121 <width>0</width>
122 <height>0</height>
123 </size>
124 </property>
125 </spacer>
126 <spacer>
127 <property name="name">
128 <cstring>widthSpacer</cstring>
129 </property>
130 <property name="orientation">
131 <enum>Horizontal</enum>
132 </property>
133 <property name="sizeType">
134 <enum>MinimumExpanding</enum>
135 </property>
136 <property name="sizeHint">
137 <size>
138 <width>400</width>
139 <height>1</height>
140 </size>
141 </property>
142 </spacer>
143 </vbox>
144 </widget>
145 </hbox>
146 </widget>
147 <widget class="QWidget">
148 <property name="name">
149 <cstring>pageType</cstring>
150 </property>
151 <attribute name="title">
152 <string>Virtual Disk Image Type</string>
153 </attribute>
154 <hbox>
155 <property name="name">
156 <cstring>unnamed</cstring>
157 </property>
158 <property name="spacing">
159 <number>20</number>
160 </property>
161 <property name="resizeMode">
162 <enum>Minimum</enum>
163 </property>
164 <widget class="QLabel">
165 <property name="name">
166 <cstring>pmType</cstring>
167 </property>
168 <property name="sizePolicy">
169 <sizepolicy>
170 <hsizetype>4</hsizetype>
171 <vsizetype>5</vsizetype>
172 <horstretch>0</horstretch>
173 <verstretch>0</verstretch>
174 </sizepolicy>
175 </property>
176 <property name="pixmap">
177 <pixmap>vmw_new_harddisk.png</pixmap>
178 </property>
179 <property name="alignment">
180 <set>AlignTop</set>
181 </property>
182 </widget>
183 <widget class="QLayoutWidget">
184 <property name="name">
185 <cstring>layout12</cstring>
186 </property>
187 <vbox>
188 <property name="name">
189 <cstring>unnamed</cstring>
190 </property>
191 <property name="spacing">
192 <number>10</number>
193 </property>
194 <widget class="QLabel">
195 <property name="name">
196 <cstring>textLabel1_2</cstring>
197 </property>
198 <property name="sizePolicy">
199 <sizepolicy>
200 <hsizetype>1</hsizetype>
201 <vsizetype>0</vsizetype>
202 <horstretch>0</horstretch>
203 <verstretch>0</verstretch>
204 </sizepolicy>
205 </property>
206 <property name="text">
207 <string>&lt;p&gt;Select the type of virtual hard disk image you want to create.&lt;/p&gt;
208&lt;p&gt;A &lt;b&gt;dynamically expanding image&lt;/b&gt; initially occupies a very small amount
209of space on your physical hard disk. It will grow dynamically (up to
210the size specified) as the Guest OS claims disk space.&lt;/p&gt;
211&lt;p&gt;A &lt;b&gt;fixed-size image&lt;/b&gt; does not grow. It is stored in a file of approximately
212the same size as the size of the virtual hard disk.&lt;/p&gt;</string>
213 </property>
214 <property name="alignment">
215 <set>WordBreak|AlignTop</set>
216 </property>
217 </widget>
218 <widget class="QButtonGroup">
219 <property name="name">
220 <cstring>bgType</cstring>
221 </property>
222 <property name="title">
223 <string>Image Type</string>
224 </property>
225 <property name="exclusive">
226 <bool>true</bool>
227 </property>
228 <vbox>
229 <property name="name">
230 <cstring>unnamed</cstring>
231 </property>
232 <widget class="QRadioButton">
233 <property name="name">
234 <cstring>rbDynamicType</cstring>
235 </property>
236 <property name="text">
237 <string>&amp;Dynamically expanding image</string>
238 </property>
239 <property name="accel">
240 <string>Alt+D</string>
241 </property>
242 <property name="checked">
243 <bool>true</bool>
244 </property>
245 </widget>
246 <widget class="QRadioButton">
247 <property name="name">
248 <cstring>rbFixedType</cstring>
249 </property>
250 <property name="text">
251 <string>&amp;Fixed-size image</string>
252 </property>
253 <property name="accel">
254 <string>Alt+F</string>
255 </property>
256 </widget>
257 </vbox>
258 </widget>
259 <spacer>
260 <property name="name">
261 <cstring>spacer10</cstring>
262 </property>
263 <property name="orientation">
264 <enum>Vertical</enum>
265 </property>
266 <property name="sizeType">
267 <enum>Expanding</enum>
268 </property>
269 <property name="sizeHint">
270 <size>
271 <width>0</width>
272 <height>0</height>
273 </size>
274 </property>
275 </spacer>
276 </vbox>
277 </widget>
278 </hbox>
279 </widget>
280 <widget class="QWidget">
281 <property name="name">
282 <cstring>pageNameAndSize</cstring>
283 </property>
284 <attribute name="title">
285 <string>Virtual Disk Location and Size</string>
286 </attribute>
287 <grid>
288 <property name="name">
289 <cstring>unnamed</cstring>
290 </property>
291 <property name="spacing">
292 <number>20</number>
293 </property>
294 <widget class="QLabel" row="0" column="0">
295 <property name="name">
296 <cstring>pmNameAndSize</cstring>
297 </property>
298 <property name="sizePolicy">
299 <sizepolicy>
300 <hsizetype>4</hsizetype>
301 <vsizetype>5</vsizetype>
302 <horstretch>0</horstretch>
303 <verstretch>0</verstretch>
304 </sizepolicy>
305 </property>
306 <property name="pixmap">
307 <pixmap>vmw_new_harddisk.png</pixmap>
308 </property>
309 <property name="alignment">
310 <set>AlignTop</set>
311 </property>
312 </widget>
313 <widget class="QLayoutWidget" row="0" column="1">
314 <property name="name">
315 <cstring>layout36</cstring>
316 </property>
317 <vbox>
318 <property name="name">
319 <cstring>unnamed</cstring>
320 </property>
321 <property name="spacing">
322 <number>10</number>
323 </property>
324 <widget class="QLabel">
325 <property name="name">
326 <cstring>txNameComment</cstring>
327 </property>
328 <property name="sizePolicy">
329 <sizepolicy>
330 <hsizetype>1</hsizetype>
331 <vsizetype>0</vsizetype>
332 <horstretch>0</horstretch>
333 <verstretch>0</verstretch>
334 </sizepolicy>
335 </property>
336 <property name="text">
337 <string>&lt;p&gt;Press the &lt;b&gt;Select&lt;/b&gt; button to select the location and name of the file
338to store the virtual hard disk image or type a file name in the entry field.&lt;/p&gt;</string>
339 </property>
340 <property name="alignment">
341 <set>WordBreak|AlignTop</set>
342 </property>
343 </widget>
344 <widget class="QGroupBox">
345 <property name="name">
346 <cstring>groupBox1</cstring>
347 </property>
348 <property name="title">
349 <string>&amp;Image File Name</string>
350 </property>
351 <hbox>
352 <property name="name">
353 <cstring>unnamed</cstring>
354 </property>
355 <widget class="QLineEdit">
356 <property name="name">
357 <cstring>leName</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 <widget class="QToolButton">
367 <property name="name">
368 <cstring>tbNameSelect</cstring>
369 </property>
370 <property name="focusPolicy">
371 <enum>TabFocus</enum>
372 </property>
373 <property name="text">
374 <string></string>
375 </property>
376 <property name="iconSet">
377 <iconset>select_file_16px.png</iconset>
378 </property>
379 <property name="textLabel">
380 <string>Select</string>
381 </property>
382 <property name="autoRaise">
383 <bool>true</bool>
384 </property>
385 </widget>
386 </hbox>
387 </widget>
388 <widget class="QLabel">
389 <property name="name">
390 <cstring>txSizeComment</cstring>
391 </property>
392 <property name="sizePolicy">
393 <sizepolicy>
394 <hsizetype>1</hsizetype>
395 <vsizetype>0</vsizetype>
396 <horstretch>0</horstretch>
397 <verstretch>0</verstretch>
398 </sizepolicy>
399 </property>
400 <property name="text">
401 <string>&lt;p&gt;Select the size of the virtual hard disk image in megabytes. This size will be reported to the Guest OS
402as the size of the virtual hard disk.&lt;/p&gt;</string>
403 </property>
404 <property name="alignment">
405 <set>WordBreak|AlignTop</set>
406 </property>
407 </widget>
408 <widget class="QGroupBox">
409 <property name="name">
410 <cstring>groupBox3</cstring>
411 </property>
412 <property name="title">
413 <string>Image &amp;Size</string>
414 </property>
415 <hbox>
416 <property name="name">
417 <cstring>unnamed</cstring>
418 </property>
419 <widget class="QLayoutWidget">
420 <property name="name">
421 <cstring>layout15_2</cstring>
422 </property>
423 <vbox>
424 <property name="name">
425 <cstring>unnamed</cstring>
426 </property>
427 <property name="spacing">
428 <number>0</number>
429 </property>
430 <widget class="QSlider">
431 <property name="name">
432 <cstring>slSize</cstring>
433 </property>
434 <property name="sizePolicy">
435 <sizepolicy>
436 <hsizetype>7</hsizetype>
437 <vsizetype>0</vsizetype>
438 <horstretch>10</horstretch>
439 <verstretch>0</verstretch>
440 </sizepolicy>
441 </property>
442 <property name="minValue">
443 <number>4</number>
444 </property>
445 <property name="maxValue">
446 <number>384</number>
447 </property>
448 <property name="lineStep">
449 <number>4</number>
450 </property>
451 <property name="pageStep">
452 <number>32</number>
453 </property>
454 <property name="orientation">
455 <enum>Horizontal</enum>
456 </property>
457 <property name="tickmarks">
458 <enum>Below</enum>
459 </property>
460 <property name="tickInterval">
461 <number>32</number>
462 </property>
463 </widget>
464 <widget class="QLayoutWidget">
465 <property name="name">
466 <cstring>layout14_2</cstring>
467 </property>
468 <hbox>
469 <property name="name">
470 <cstring>unnamed</cstring>
471 </property>
472 <widget class="QLabel">
473 <property name="name">
474 <cstring>txSizeMin</cstring>
475 </property>
476 <property name="alignment">
477 <set>WordBreak|AlignVCenter|AlignLeft</set>
478 </property>
479 </widget>
480 <spacer>
481 <property name="name">
482 <cstring>spacer8_2</cstring>
483 </property>
484 <property name="orientation">
485 <enum>Horizontal</enum>
486 </property>
487 <property name="sizeType">
488 <enum>Expanding</enum>
489 </property>
490 <property name="sizeHint">
491 <size>
492 <width>40</width>
493 <height>20</height>
494 </size>
495 </property>
496 </spacer>
497 <widget class="QLabel">
498 <property name="name">
499 <cstring>txSizeMax</cstring>
500 </property>
501 <property name="alignment">
502 <set>WordBreak|AlignVCenter|AlignRight</set>
503 </property>
504 </widget>
505 </hbox>
506 </widget>
507 </vbox>
508 </widget>
509 <widget class="QLayoutWidget">
510 <property name="name">
511 <cstring>layout8</cstring>
512 </property>
513 <vbox>
514 <property name="name">
515 <cstring>unnamed</cstring>
516 </property>
517 <widget class="QLineEdit">
518 <property name="name">
519 <cstring>leSize</cstring>
520 </property>
521 <property name="sizePolicy">
522 <sizepolicy>
523 <hsizetype>4</hsizetype>
524 <vsizetype>0</vsizetype>
525 <horstretch>0</horstretch>
526 <verstretch>0</verstretch>
527 </sizepolicy>
528 </property>
529 </widget>
530 <spacer>
531 <property name="name">
532 <cstring>spacer9_2</cstring>
533 </property>
534 <property name="orientation">
535 <enum>Vertical</enum>
536 </property>
537 <property name="sizeType">
538 <enum>Minimum</enum>
539 </property>
540 <property name="sizeHint">
541 <size>
542 <width>20</width>
543 <height>16</height>
544 </size>
545 </property>
546 </spacer>
547 </vbox>
548 </widget>
549 </hbox>
550 </widget>
551 <spacer>
552 <property name="name">
553 <cstring>spacer37</cstring>
554 </property>
555 <property name="orientation">
556 <enum>Vertical</enum>
557 </property>
558 <property name="sizeType">
559 <enum>Expanding</enum>
560 </property>
561 <property name="sizeHint">
562 <size>
563 <width>0</width>
564 <height>0</height>
565 </size>
566 </property>
567 </spacer>
568 </vbox>
569 </widget>
570 </grid>
571 </widget>
572 <widget class="QWidget">
573 <property name="name">
574 <cstring>pageSummary</cstring>
575 </property>
576 <attribute name="title">
577 <string>Summary</string>
578 </attribute>
579 <hbox>
580 <property name="name">
581 <cstring>unnamed</cstring>
582 </property>
583 <property name="spacing">
584 <number>20</number>
585 </property>
586 <property name="resizeMode">
587 <enum>Minimum</enum>
588 </property>
589 <widget class="QLabel">
590 <property name="name">
591 <cstring>pmSummary</cstring>
592 </property>
593 <property name="sizePolicy">
594 <sizepolicy>
595 <hsizetype>4</hsizetype>
596 <vsizetype>5</vsizetype>
597 <horstretch>0</horstretch>
598 <verstretch>0</verstretch>
599 </sizepolicy>
600 </property>
601 <property name="pixmap">
602 <pixmap>vmw_new_harddisk.png</pixmap>
603 </property>
604 <property name="alignment">
605 <set>AlignTop</set>
606 </property>
607 </widget>
608 <widget class="QLayoutWidget">
609 <property name="name">
610 <cstring>summaryLayout</cstring>
611 </property>
612 <vbox>
613 <property name="name">
614 <cstring>unnamed</cstring>
615 </property>
616 <property name="spacing">
617 <number>15</number>
618 </property>
619 <widget class="QLabel">
620 <property name="name">
621 <cstring>txSummaryHdr</cstring>
622 </property>
623 <property name="sizePolicy">
624 <sizepolicy>
625 <hsizetype>1</hsizetype>
626 <vsizetype>0</vsizetype>
627 <horstretch>0</horstretch>
628 <verstretch>0</verstretch>
629 </sizepolicy>
630 </property>
631 <property name="text">
632 <string>You are going to create a new virtual hard disk image with the following parameters:</string>
633 </property>
634 <property name="alignment">
635 <set>WordBreak|AlignTop</set>
636 </property>
637 </widget>
638 <widget class="QLabel">
639 <property name="name">
640 <cstring>txSummaryFtr</cstring>
641 </property>
642 <property name="sizePolicy">
643 <sizepolicy>
644 <hsizetype>1</hsizetype>
645 <vsizetype>0</vsizetype>
646 <horstretch>0</horstretch>
647 <verstretch>0</verstretch>
648 </sizepolicy>
649 </property>
650 <property name="text">
651 <string>If the above settings are correct, press the &lt;b&gt;Finish&lt;/b&gt; button.
652 Once you press it, a new hard disk image will be created.
653 </string>
654 </property>
655 <property name="alignment">
656 <set>WordBreak|AlignTop</set>
657 </property>
658 </widget>
659 <spacer>
660 <property name="name">
661 <cstring>spacer45</cstring>
662 </property>
663 <property name="orientation">
664 <enum>Vertical</enum>
665 </property>
666 <property name="sizeType">
667 <enum>Expanding</enum>
668 </property>
669 <property name="sizeHint">
670 <size>
671 <width>0</width>
672 <height>0</height>
673 </size>
674 </property>
675 </spacer>
676 </vbox>
677 </widget>
678 </hbox>
679 </widget>
680</widget>
681<connections>
682 <connection>
683 <sender>tbNameSelect</sender>
684 <signal>clicked()</signal>
685 <receiver>VBoxNewHDWzd</receiver>
686 <slot>tbNameSelect_clicked()</slot>
687 </connection>
688 <connection>
689 <sender>slSize</sender>
690 <signal>valueChanged(int)</signal>
691 <receiver>VBoxNewHDWzd</receiver>
692 <slot>slSize_valueChanged(int)</slot>
693 </connection>
694 <connection>
695 <sender>leSize</sender>
696 <signal>textChanged(const QString&amp;)</signal>
697 <receiver>VBoxNewHDWzd</receiver>
698 <slot>leSize_textChanged(const QString&amp;)</slot>
699 </connection>
700</connections>
701<tabstops>
702 <tabstop>leName</tabstop>
703 <tabstop>tbNameSelect</tabstop>
704 <tabstop>slSize</tabstop>
705 <tabstop>leSize</tabstop>
706</tabstops>
707<includes>
708 <include location="local" impldecl="in declaration">qfiledialog.h</include>
709 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include>
710 <include location="local" impldecl="in declaration">COMDefs.h</include>
711 <include location="local" impldecl="in implementation">VBoxUtils.h</include>
712 <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
713 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
714 <include location="global" impldecl="in implementation">qvalidator.h</include>
715 <include location="global" impldecl="in implementation">qlocale.h</include>
716</includes>
717<forwards>
718 <forward>class QITextEdit</forward>
719</forwards>
720<variables>
721 <variable access="private">QIWidgetValidator *wvalNameAndSize;</variable>
722 <variable access="private">CHardDisk chd;</variable>
723 <variable access="private">int sliderScale;</variable>
724 <variable access="private">Q_UINT64 maxVDISize;</variable>
725 <variable access="private">Q_UINT64 currentSize;</variable>
726 <variable access="private">QITextEdit *teSummary;</variable>
727</variables>
728<slots>
729 <slot>enableNext( const QIWidgetValidator * wval )</slot>
730 <slot>revalidate( QIWidgetValidator * )</slot>
731 <slot>slSize_valueChanged( int val )</slot>
732 <slot>leSize_textChanged( const QString &amp; text )</slot>
733 <slot>tbNameSelect_clicked()</slot>
734</slots>
735<functions>
736 <function access="private">init()</function>
737 <function access="private">showEvent( QShowEvent * )</function>
738 <function>setRecommendedFileName( const QString &amp; aName )</function>
739 <function>setRecommendedSize( Q_UINT64 aSize )</function>
740 <function returnType="QString">imageFileName()</function>
741 <function returnType="Q_UINT64">imageSize()</function>
742 <function returnType="bool">isDynamicImage()</function>
743 <function returnType="CHardDisk">hardDisk() { return chd; }</function>
744 <function>showPage( QWidget * page )</function>
745 <function>updateSizeToolTip (Q_UINT64)</function>
746 <function>accept()</function>
747 <function access="private" returnType="bool">createHardDisk()</function>
748</functions>
749<pixmapinproject/>
750<layoutdefaults spacing="6" margin="11"/>
751</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