VirtualBox

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

Last change on this file since 14707 was 13580, checked in by vboxsync, 16 years ago

Ported s2 branch (r37120:38456).

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