Changeset 7447 in vbox
- Timestamp:
- Mar 13, 2008 9:37:52 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28885
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 4 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r7373 r7447 20 20 21 21 # Import QDesigner UI sources 22 VirtualBox_QT_UISRCS := $(FORMS)22 VirtualBox_QT_UISRCS3 := $(FORMS) 23 23 # Import translation sources 24 24 VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS) … … 85 85 VBOX_DEFS_QT4 += QT3_SUPPORT QT_SHARED HAVE_CONFIG_H QT_NO_DEBUG 86 86 87 VBOX_UIC4 ?= $(VBOX_PATH_QT4_BIN)/uic3 87 VBOX_UIC3 ?= $(VBOX_PATH_QT4_BIN)/uic3 88 VBOX_UIC4 ?= $(VBOX_PATH_QT4_BIN)/uic 88 89 VBOX_MOC4 ?= $(VBOX_PATH_QT4_BIN)/moc 89 90 VBOX_RCC4 ?= $(VBOX_PATH_QT4_BIN)/rcc … … 249 250 # 250 251 ifndef VBOX_WITH_REGISTRATION 251 VirtualBox_QT_UISRCS := $(filter-out ui/VBoxRegistrationDlg.ui,$(VirtualBox_QT_UISRCS)) 252 endif 252 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxRegistrationDlg.ui,$(VirtualBox_QT_UISRCS3)) 253 endif 254 255 256 # 257 # filter ported UI content 258 # 259 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxAboutDlg.ui,$(VirtualBox_QT_UISRCS3)) 260 VirtualBox_QT_UISRCS4 += ui/VBoxAboutDlg.ui 261 262 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxCloseVMDlg.ui,$(VirtualBox_QT_UISRCS3)) 263 VirtualBox_QT_UISRCS4 += ui/VBoxCloseVMDlg.ui 264 265 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxNewVMWzd.ui,$(VirtualBox_QT_UISRCS3)) 266 VirtualBox_QT_UISRCS4 += ui/VBoxNewVMWzd.ui 267 268 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxNewHDWzd.ui,$(VirtualBox_QT_UISRCS3)) 269 VirtualBox_QT_UISRCS4 += ui/VBoxNewHDWzd.ui 270 271 VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMFirstRunWzd.ui,$(VirtualBox_QT_UISRCS3)) 272 VirtualBox_QT_UISRCS4 += ui/VBoxVMFirstRunWzd.ui 253 273 254 274 … … 372 392 include/QIMessageBox.h \ 373 393 include/QIRichLabel.h \ 394 include/QIAbstractWizardFramework.h \ 374 395 include/VBoxGlobalSettings.h \ 375 396 include/VBoxUtils.h \ … … 382 403 include/VBoxProblemReporter.h \ 383 404 include/VBoxDownloaderWgt.h \ 384 include/VBoxNetworkFramework.h 405 include/VBoxNetworkFramework.h \ 406 include/VBoxAboutDlg.h \ 407 include/VBoxCloseVMDlg.h \ 408 include/VBoxNewVMWzd.h \ 409 include/VBoxNewHDWzd.h \ 410 include/VBoxVMFirstRunWzd.h 385 411 386 412 # Sources containing local definitions of classes that use the Q_OBJECT macro … … 404 430 VirtualBox_GENSRCS = \ 405 431 $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCHDRS))), $(PATH_VirtualBox)/moc/moc_$(moc).cpp) \ 406 $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS ))), $(PATH_VirtualBox)/ui/$(ui).cpp $(PATH_VirtualBox)/moc/moc_$(ui).cpp) \432 $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS3))), $(PATH_VirtualBox)/ui/$(ui).cpp $(PATH_VirtualBox)/moc/moc_$(ui).cpp) \ 407 433 $(PATH_VirtualBox)/ui/vbox_image_collection.cpp 408 434 … … 412 438 $(foreach mocui,$(notdir $(basename $(VirtualBox_QT_MOCUIHDRS))), $(PATH_VirtualBox)/moc/$(mocui).moc) \ 413 439 $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCSRCS))), $(PATH_VirtualBox)/moc/$(moc).moc) \ 414 $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS))), $(PATH_VirtualBox)/ui/$(ui).h) 440 $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS3))), $(PATH_VirtualBox)/ui/$(ui).h) \ 441 $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS4))), $(PATH_VirtualBox)/ui/$(ui).gen.h) 415 442 416 443 # All existing .ui.h files for known .ui sources 417 444 VirtualBox_QT_UIHDRS = \ 418 $(wildcard $(addsuffix .h,$(VirtualBox_QT_UISRCS )))445 $(wildcard $(addsuffix .h,$(VirtualBox_QT_UISRCS3))) 419 446 420 447 # All header files … … 435 462 src/QIMessageBox.cpp \ 436 463 src/QIRichLabel.cpp \ 464 src/QIAbstractWizardFramework.cpp \ 437 465 src/VBoxDefs.cpp \ 438 466 src/VBoxGlobalSettings.cpp \ … … 447 475 src/VBoxFrameBuffer.cpp \ 448 476 src/HappyHttp.cpp \ 449 src/VBoxNetworkFramework.cpp 477 src/VBoxNetworkFramework.cpp \ 478 src/VBoxAboutDlg.cpp \ 479 src/VBoxCloseVMDlg.cpp \ 480 src/VBoxNewVMWzd.cpp \ 481 src/VBoxNewHDWzd.cpp \ 482 src/VBoxVMFirstRunWzd.cpp 450 483 451 484 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(BUILD_TARGET)),) # X11 … … 728 761 endef 729 762 730 ## Generate a rule to create a header and source files from an UI 763 ## Generate a rule to create a header and source files from an UI3 731 764 # definition source (.ui). 732 765 # @param $uifile UI definintion source file 733 define def_qt_gen_src_ui 766 define def_qt_gen_src_ui3 734 767 735 768 $(eval uisrc := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).cpp) … … 743 776 $(uihdr): $(uifile) | $$(call DIRDEP,$(dir $(uihdr))) 744 777 $$(call MSG_TOOL,uic,$(target),$(uifile),$$@) 745 $$(QUIET)$$(VBOX_UIC 4) $(uifile) -o $$@778 $$(QUIET)$$(VBOX_UIC3) $(uifile) -o $$@ 746 779 747 780 $(uisrc): $(uihdr) $(uifile) $(wildcard $(uifile).h) | $$(call DIRDEP,$(dir $(uisrc))) 748 781 $$(call MSG_TOOL,uic,$(target),$(uifile),$$@) 749 $$(QUIET)$$(VBOX_UIC 4) -impl $(uihdr) $(uifile) -o $$@750 751 #$$(QUIET)$$(VBOX_UIC 4) $(uifile) -i $(uihdr) -o $$@782 $$(QUIET)$$(VBOX_UIC3) -impl $(uihdr) $(uifile) -o $$@ 783 784 #$$(QUIET)$$(VBOX_UIC3) $(uifile) -i $(uihdr) -o $$@ 752 785 753 786 $(mocsrc): $(uihdr) | $$(call DIRDEP,$(dir $(mocsrc))) … … 760 793 endef 761 794 795 ## Generate a rule to create a header and source files from an UI4 796 # definition source (.ui). 797 # @param $uifile UI definintion source file 798 define def_qt_gen_src_ui4 799 800 $(eval uihdr := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).gen.h) 801 802 $(target)_GENHDRS_REAL += $(uihdr) 803 804 .NOTPARALLEL: $(uihdr) 805 $(uihdr): $(uifile) | $$(call DIRDEP,$(dir $(uihdr))) 806 $$(call MSG_TOOL,uic,$(target),$(uifile),$$@) 807 $$(QUIET)$$(VBOX_UIC4) $(uifile) -o $$@ 808 809 endef 810 762 811 ## Generate a rule to create a .qm file from a NLS translation 763 812 # source (.ts). … … 792 841 # moc includes from UI headers with Q_OBJECT 793 842 $(foreach mocuihdr,$($(target)_QT_MOCUIHDRS),$(eval $(def_qt_gen_inc_mocuihdr))) 794 # UI sources 795 $(foreach uifile,$($(target)_QT_UISRCS),$(eval $(def_qt_gen_src_ui))) 843 # UI3 sources 844 $(foreach uifile,$($(target)_QT_UISRCS3),$(eval $(def_qt_gen_src_ui3))) 845 # UI4 sources 846 $(foreach uifile,$($(target)_QT_UISRCS4),$(eval $(def_qt_gen_src_ui4))) 796 847 # NLS files 797 848 $(foreach tsfile,$($(target)_QT_TRANSLATIONS),$(eval $(def_qt_gen_nls))) … … 845 896 # 846 897 847 $(PATH_VirtualBox)/ui/VBoxDiskImageManagerDlg.cpp: \ 848 $(PATH_VirtualBox)/ui/VBoxNewHDWzd.h 898 $(PATH_VirtualBox)/moc/moc_VBoxAboutDlg.cpp: \ 899 $(PATH_VirtualBox)/ui/VBoxAboutDlg.gen.h 900 901 $(PATH_VirtualBox)/moc/moc_VBoxCloseVMDlg.cpp: \ 902 $(PATH_VirtualBox)/ui/VBoxCloseVMDlg.gen.h 903 904 $(PATH_VirtualBox)/moc/moc_VBoxNewVMWzd.cpp: \ 905 $(PATH_VirtualBox)/ui/VBoxNewVMWzd.gen.h 906 907 $(PATH_VirtualBox)/moc/moc_VBoxNewHDWzd.cpp: \ 908 $(PATH_VirtualBox)/ui/VBoxNewHDWzd.gen.h 909 910 $(PATH_VirtualBox)/moc/moc_VBoxVMFirstRunWzd.cpp: \ 911 $(PATH_VirtualBox)/ui/VBoxVMFirstRunWzd.gen.h 849 912 850 913 # Make all generated UI sources dependent on all generated headers (since they … … 852 915 # currently disabled, because will cause all UI sources to be rebuilt one a 853 916 # single one changes. 854 #$(patsubst %,$(PATH_VirtualBox)/ui/%.cpp,$(notdir $(basename $(VirtualBox_QT_UISRCS )))) : $(VirtualBox_GENHDRS)917 #$(patsubst %,$(PATH_VirtualBox)/ui/%.cpp,$(notdir $(basename $(VirtualBox_QT_UISRCS3)))) : $(VirtualBox_GENHDRS) 855 918 856 919 -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxMediaComboBox.h
r7220 r7447 34 34 public: 35 35 36 VBoxMediaComboBox (QWidget *aParent = 0, const char *aName = 0,36 VBoxMediaComboBox (QWidget *aParent, const char *aName, 37 37 int aType = 0, bool aUseEmptyItem = false); 38 VBoxMediaComboBox (QWidget *aParent); 38 39 ~VBoxMediaComboBox() {} 39 40 … … 58 59 protected: 59 60 61 void init(); 60 62 void updateToolTip (int); 61 63 void processMedia (const VBoxMedia &); -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxUtils.h
r7220 r7447 23 23 #include <qevent.h> 24 24 #include <q3listview.h> 25 #include <q3textedit.h>26 25 #include <qlabel.h> 27 26 #include <qlayout.h> … … 171 170 }; 172 171 173 174 /**175 * Simple QTextEdit subclass to return its minimumSizeHint() as sizeHint()176 * for getting more compact layout.177 */178 class QITextEdit : public Q3TextEdit179 {180 Q_OBJECT181 182 public:183 184 QITextEdit (QWidget *aParent)185 : Q3TextEdit (aParent) {}186 187 QSize sizeHint() const188 {189 return minimumSizeHint();190 }191 192 QSize minimumSizeHint() const193 {194 return QSize (width(), heightForWidth (width()));195 }196 };197 198 199 /**200 * Simple QLabel subclass to re-query and return its sizeHint()201 * before the widget to be shown for getting more compact layout.202 */203 class QILabel : public QLabel204 {205 Q_OBJECT206 207 public:208 209 QILabel (QWidget *aParent, const char *aName)210 : QLabel (aParent, aName), mShowed (false)211 {212 /* setup default size policy and alignment */213 setSizePolicy (QSizePolicy ((QSizePolicy::SizeType)1,214 (QSizePolicy::SizeType)0,215 0, 0,216 sizePolicy().hasHeightForWidth()));217 setAlignment (int (Qt::AlignTop));218 /* install show-parent-widget watcher */219 aParent->topLevelWidget()->installEventFilter (this);220 }221 222 QSize sizeHint() const223 {224 return mShowed ?225 QSize (width(), heightForWidth (width())) : QLabel::sizeHint();226 }227 228 private:229 230 bool eventFilter (QObject *aObject, QEvent *aEvent)231 {232 switch (aEvent->type())233 {234 case QEvent::Show:235 {236 mShowed = true;237 if (parent() && ((QWidget*)parent())->layout())238 ((QWidget*)parent())->layout()->activate();239 break;240 }241 default:242 break;243 }244 return QLabel::eventFilter (aObject, aEvent);245 }246 247 bool mShowed;248 };249 250 251 172 #ifdef Q_WS_MAC 252 173 # undef PAGE_SIZE -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r7445 r7447 38 38 #ifdef Q_WS_X11 39 39 # include <QX11Info> 40 #endif 40 #endif 41 41 42 42 #include <VBox/VBoxGuest.h> … … 286 286 true /* inverted toggle state */); 287 287 288 vmMenu->addAction (vmFullscreenAction); 288 vmMenu->addAction (vmFullscreenAction); 289 289 vmMenu->addAction (vmSeamlessAction); 290 290 vmMenu->addAction (vmAdjustWindowAction); … … 878 878 if (mIsFirstTimeStarted) 879 879 { 880 VBoxVMFirstRunWzd wzd (this, "VBoxVMFirstRunWzd"); 881 wzd.setup (cmachine); 880 VBoxVMFirstRunWzd wzd (cmachine, this); 882 881 wzd.exec(); 883 882 … … 1243 1242 1244 1243 CMachine cmachine = csession.GetMachine(); 1245 VBoxCloseVMDlg dlg (this , "VBoxCloseVMDlg");1244 VBoxCloseVMDlg dlg (this); 1246 1245 QString typeId = cmachine.GetOSTypeId(); 1247 1246 dlg.pmIcon->setPixmap (vboxGlobal().vmGuestOSTypeIcon (typeId)); 1248 1247 1249 1248 /* make the Discard checkbox invisible if there are no snapshots */ 1250 dlg. cbDiscardCurState->setVisible ((cmachine.GetSnapshotCount() > 0));1249 dlg.mCbDiscardCurState->setVisible ((cmachine.GetSnapshotCount() > 0)); 1251 1250 1252 1251 if (machine_state != KMachineState_Stuck) … … 1257 1256 AssertWrapperOk (cmachine); 1258 1257 if (lastAction [0] == kPowerOff) 1259 dlg. buttonGroup->setButton (dlg.buttonGroup->id (dlg.rbPowerOff));1258 dlg.mRbPowerOff->setChecked (true); 1260 1259 else if (lastAction [0] == kShutdown) 1261 dlg. buttonGroup->setButton (dlg.buttonGroup->id (dlg.rbShutdown));1260 dlg.mRbShutdown->setChecked (true); 1262 1261 else if (lastAction [0] == kSave) 1263 dlg. buttonGroup->setButton (dlg.buttonGroup->id (dlg.rbSave));1262 dlg.mRbSave->setChecked (true); 1264 1263 else /* the default is ACPI Shutdown */ 1265 dlg. buttonGroup->setButton (dlg.buttonGroup->id (dlg.rbShutdown));1266 dlg. cbDiscardCurState->setChecked (1264 dlg.mRbShutdown->setChecked (true); 1265 dlg.mCbDiscardCurState->setChecked ( 1267 1266 lastAction.count() > 1 && lastAction [1] == kDiscardCurState); 1268 1267 } … … 1271 1270 /* The stuck VM can only be powered off; disable anything 1272 1271 * else and choose PowerOff */ 1273 dlg. rbSave->setEnabled (false);1274 dlg. buttonGroup->setButton (dlg.buttonGroup->id (dlg.rbPowerOff));1272 dlg.mRbSave->setEnabled (false); 1273 dlg.mRbPowerOff->setChecked (true); 1275 1274 } 1276 1275 … … 1281 1280 CConsole cconsole = console->console(); 1282 1281 1283 if (dlg. rbSave->isChecked())1282 if (dlg.mRbSave->isChecked()) 1284 1283 { 1285 1284 CProgress progress = cconsole.SaveState(); … … 1300 1299 } 1301 1300 else 1302 if (dlg. rbShutdown->isChecked())1301 if (dlg.mRbShutdown->isChecked()) 1303 1302 { 1304 1303 /* unpause the VM to let it grab the ACPI shutdown event */ … … 1317 1316 } 1318 1317 else 1319 if (dlg. rbPowerOff->isChecked())1318 if (dlg.mRbPowerOff->isChecked()) 1320 1319 { 1321 1320 cconsole.PowerDown(); … … 1336 1335 1337 1336 /* discard the current state if requested */ 1338 if (dlg. cbDiscardCurState->isVisible() &&1339 dlg. cbDiscardCurState->isChecked())1337 if (dlg.mCbDiscardCurState->isVisible() && 1338 dlg.mCbDiscardCurState->isChecked()) 1340 1339 { 1341 1340 CProgress progress = cconsole.DiscardCurrentState(); … … 1367 1366 /* memorize the last user's choice for the given VM */ 1368 1367 QString lastAction = kPowerOff; 1369 if (dlg. rbSave->isChecked())1368 if (dlg.mRbSave->isChecked()) 1370 1369 lastAction = kSave; 1371 else if (dlg. rbShutdown->isChecked())1370 else if (dlg.mRbShutdown->isChecked()) 1372 1371 lastAction = kShutdown; 1373 else if (dlg. rbPowerOff->isChecked())1372 else if (dlg.mRbPowerOff->isChecked()) 1374 1373 lastAction = kPowerOff; 1375 1374 else 1376 1375 AssertFailed(); 1377 if (dlg. cbDiscardCurState->isChecked())1376 if (dlg.mCbDiscardCurState->isChecked()) 1378 1377 (lastAction += ",") += kDiscardCurState; 1379 1378 cmachine.SetExtraData (VBoxDefs::GUI_LastCloseAction, lastAction); … … 1896 1895 } 1897 1896 1898 for (QMap<QString, QString>::const_iterator it = sfs.constBegin(); 1897 for (QMap<QString, QString>::const_iterator it = sfs.constBegin(); 1899 1898 it != sfs.constEnd(); ++it) 1900 1899 { … … 2833 2832 2834 2833 /* if shown as a context menu */ 2835 2834 2836 2835 if (devicesMenu->itemParameter (devicesMountDVDMenuId)) 2837 2836 { -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxMediaComboBox.cpp
r7220 r7447 33 33 : QComboBox (aParent , aName), 34 34 mType (aType), mRequiredId (QUuid()), mUseEmptyItem (aUseEmptyItem) 35 { 36 init(); 37 } 38 39 VBoxMediaComboBox::VBoxMediaComboBox (QWidget *aParent) 40 : QComboBox (aParent), 41 mType (-1), mRequiredId (QUuid()), mUseEmptyItem (false) 42 { 43 init(); 44 } 45 46 void VBoxMediaComboBox::init() 35 47 { 36 48 setSizePolicy (QSizePolicy::Expanding, QSizePolicy::Fixed); … … 117 129 const QUuid &aId) 118 130 { 119 if ( !(aType & mType))131 if (mType == -1 || !(aType & mType)) 120 132 return; 121 133 … … 135 147 void VBoxMediaComboBox::processMedia (const VBoxMedia &aMedia) 136 148 { 137 if ( !(aMedia.type & mType))149 if (mType == -1 || !(aMedia.type & mType)) 138 150 return; 139 151 -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp
r7442 r7447 63 63 VBoxProgressDialog (CProgress &aProgress, const QString &aTitle, 64 64 int aMinDuration = 2000, QWidget *aCreator = 0) 65 : QProgressDialog (aCreator, 65 : QProgressDialog (aCreator, 66 66 Qt::WStyle_Customize | Qt::WStyle_DialogBorder | Qt::WStyle_Title) 67 67 , mProgress (aProgress) … … 2076 2076 AssertWrapperOk (vbox); 2077 2077 2078 VBoxAboutDlg dlg (mainWindowShown(), "VBoxAboutDlg"); 2079 dlg.setup (COMVersion); 2080 dlg.exec(); 2078 VBoxAboutDlg (mainWindowShown(), COMVersion).exec(); 2081 2079 } 2082 2080 … … 2099 2097 Assert(RT_SUCCESS(rc)); 2100 2098 2101 QProcess::startDetached (QString(szViewerPath) + "/kchmviewer", 2099 QProcess::startDetached (QString(szViewerPath) + "/kchmviewer", 2102 2100 QStringList (QString(szDocsPath) + "/VirtualBox.chm")); 2103 2101 #elif defined (Q_WS_MAC) 2104 QProcess::startDetached ("/usr/bin/open", 2102 QProcess::startDetached ("/usr/bin/open", 2105 2103 QStringList (qApp->applicationDirPath() + "/UserManual.pdf")); 2106 2104 #endif -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxAboutDlg.ui
r7235 r7447 1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>VBoxAboutDlg</class> 3 <widget class="QDialog"> 4 <property name="name"> 5 <cstring>VBoxAboutDlg</cstring> 6 </property> 7 <property name="geometry"> 8 <rect> 9 <x>0</x> 10 <y>0</y> 11 <width>600</width> 12 <height>400</height> 13 </rect> 14 </property> 15 <property name="sizePolicy"> 16 <sizepolicy> 17 <hsizetype>1</hsizetype> 18 <vsizetype>1</vsizetype> 19 <horstretch>0</horstretch> 20 <verstretch>0</verstretch> 21 </sizepolicy> 22 </property> 23 <property name="caption"> 24 <string>VirtualBox - About</string> 25 </property> 26 <vbox> 27 <property name="name"> 28 <cstring>unnamed</cstring> 1 <ui version="4.0" > 2 <class>VBoxAboutDlg</class> 3 <widget class="QDialog" name="VBoxAboutDlg" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>600</width> 9 <height>432</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>VirtualBox - About</string> 14 </property> 15 <layout class="QVBoxLayout" > 16 <property name="spacing" > 17 <number>0</number> 18 </property> 19 <property name="leftMargin" > 20 <number>0</number> 21 </property> 22 <property name="topMargin" > 23 <number>0</number> 24 </property> 25 <property name="rightMargin" > 26 <number>0</number> 27 </property> 28 <property name="bottomMargin" > 29 <number>0</number> 30 </property> 31 <item> 32 <widget class="QLabel" name="mPictureLabel" > 33 <property name="minimumSize" > 34 <size> 35 <width>600</width> 36 <height>400</height> 37 </size> 38 </property> 39 <property name="maximumSize" > 40 <size> 41 <width>600</width> 42 <height>400</height> 43 </size> 44 </property> 45 <property name="text" > 46 <string/> 47 </property> 48 <property name="pixmap" > 49 <pixmap resource="../VirtualBox.qrc" >:/about.png</pixmap> 50 </property> 51 <property name="wordWrap" > 52 <bool>false</bool> 53 </property> 54 </widget> 55 </item> 56 <item> 57 <widget class="QWidget" native="1" name="mTextContainer" > 58 <property name="autoFillBackground" > 59 <bool>true</bool> 60 </property> 61 <layout class="QVBoxLayout" > 62 <property name="spacing" > 63 <number>0</number> 64 </property> 65 <property name="leftMargin" > 66 <number>0</number> 67 </property> 68 <property name="topMargin" > 69 <number>0</number> 70 </property> 71 <property name="rightMargin" > 72 <number>0</number> 73 </property> 74 <property name="bottomMargin" > 75 <number>0</number> 76 </property> 77 <item> 78 <widget class="QLabel" name="mAboutLabel" > 79 <property name="lineWidth" > 80 <number>0</number> 29 81 </property> 30 <property name=" margin">31 <number>0</number>82 <property name="text" > 83 <string><qt>VirtualBox Graphical User Interface Version %1<br>%2</qt></string> 32 84 </property> 33 <property name=" spacing">34 <number>0</number>85 <property name="alignment" > 86 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 35 87 </property> 36 <property name=" resizeMode">37 <enum>Fixed</enum>88 <property name="wordWrap" > 89 <bool>true</bool> 38 90 </property> 39 <widget class="QLabel"> 40 <property name="name"> 41 <cstring>textLabel1</cstring> 42 </property> 43 <property name="minimumSize"> 44 <size> 45 <width>600</width> 46 <height>400</height> 47 </size> 48 </property> 49 <property name="maximumSize"> 50 <size> 51 <width>600</width> 52 <height>400</height> 53 </size> 54 </property> 55 <property name="paletteBackgroundPixmap"> 56 <pixmap>:/about.png</pixmap> 57 </property> 58 <property name="backgroundOrigin"> 59 <enum>WidgetOrigin</enum> 60 </property> 61 <property name="text"> 62 <string></string> 63 </property> 64 </widget> 65 <widget class="QFrame"> 66 <property name="name"> 67 <cstring>frame3</cstring> 68 </property> 69 <property name="paletteBackgroundPixmap"> 70 <pixmap>:/about_tile.png</pixmap> 71 </property> 72 <property name="frameShape"> 73 <enum>NoFrame</enum> 74 </property> 75 <property name="frameShadow"> 76 <enum>Plain</enum> 77 </property> 78 <vbox> 79 <property name="name"> 80 <cstring>unnamed</cstring> 81 </property> 82 <property name="margin"> 83 <number>0</number> 84 </property> 85 <property name="spacing"> 86 <number>0</number> 87 </property> 88 <widget class="QLabel"> 89 <property name="name"> 90 <cstring>mAboutLabel</cstring> 91 </property> 92 <property name="backgroundMode"> 93 <enum>PaletteBackground</enum> 94 </property> 95 <property name="paletteForegroundColor"> 96 <color> 97 <red>255</red> 98 <green>255</green> 99 <blue>255</blue> 100 </color> 101 </property> 102 <property name="backgroundOrigin"> 103 <enum>WidgetOrigin</enum> 104 </property> 105 <property name="lineWidth"> 106 <number>0</number> 107 </property> 108 <property name="text"> 109 <string><qt>VirtualBox Graphical User Interface Version %1<br> 110 %2</qt></string> 111 </property> 112 <property name="alignment"> 113 <set>WordBreak|AlignBottom|AlignHCenter</set> 114 </property> 115 </widget> 116 <spacer> 117 <property name="name"> 118 <cstring>spacer2</cstring> 119 </property> 120 <property name="orientation"> 121 <enum>Vertical</enum> 122 </property> 123 <property name="sizeType"> 124 <enum>Expanding</enum> 125 </property> 126 <property name="sizeHint"> 127 <size> 128 <width>20</width> 129 <height>8</height> 130 </size> 131 </property> 132 </spacer> 133 </vbox> 134 </widget> 135 </vbox> 136 </widget> 137 <includes> 138 <include location="local" impldecl="in implementation">VBoxAboutDlg.ui.h</include> 139 </includes> 140 <functions> 141 <function>setup( const QString & aVersion )</function> 142 <function>mouseReleaseEvent( QMouseEvent *aEv )</function> 143 </functions> 144 <pixmapinproject/> 145 <layoutdefaults spacing="6" margin="11"/> 146 </UI> 91 </widget> 92 </item> 93 <item> 94 <spacer> 95 <property name="orientation" > 96 <enum>Qt::Vertical</enum> 97 </property> 98 <property name="sizeType" > 99 <enum>QSizePolicy::Expanding</enum> 100 </property> 101 <property name="sizeHint" > 102 <size> 103 <width>20</width> 104 <height>0</height> 105 </size> 106 </property> 107 </spacer> 108 </item> 109 </layout> 110 </widget> 111 </item> 112 </layout> 113 </widget> 114 <layoutdefault spacing="6" margin="11" /> 115 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> 116 <resources> 117 <include location="../VirtualBox.qrc" /> 118 </resources> 119 <connections/> 120 </ui> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxCloseVMDlg.ui
r7235 r7447 1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>VBoxCloseVMDlg</class> 3 <comment> 4 :mode=html:tabSize=4:indentSize=4:noTabs=true: 5 :folding=explicit:collapseFolds=1: 6 7 VBox GUI: Close VM Dialog UI (Qt Designer). 8 9 Copyright (C) 2006-2007 innotek GmbH 10 11 This file is part of VirtualBox Open Source Edition (OSE), as 12 available from http://www.virtualbox.org. This file is free software; 13 you can redistribute it and/or modify it under the terms of the GNU 14 General Public License (GPL) as published by the Free Software 15 Foundation, in version 2 as it comes in the "COPYING" file of the 16 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 17 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 18 </comment> 19 <widget class="QDialog"> 20 <property name="name"> 21 <cstring>VBoxCloseVMDlg</cstring> 22 </property> 23 <property name="geometry"> 24 <rect> 25 <x>0</x> 26 <y>0</y> 27 <width>350</width> 28 <height>179</height> 29 </rect> 30 </property> 31 <property name="caption"> 32 <string>Close Virtual Machine</string> 33 </property> 34 <property name="sizeGripEnabled"> 35 <bool>false</bool> 36 </property> 37 <vbox> 38 <property name="name"> 39 <cstring>unnamed</cstring> 40 </property> 41 <property name="spacing"> 42 <number>10</number> 43 </property> 44 <widget class="QLayoutWidget"> 45 <property name="name"> 46 <cstring>layout15</cstring> 47 </property> 48 <hbox> 49 <property name="name"> 50 <cstring>unnamed</cstring> 51 </property> 52 <widget class="QLayoutWidget"> 53 <property name="name"> 54 <cstring>layout3</cstring> 55 </property> 56 <vbox> 57 <property name="name"> 58 <cstring>unnamed</cstring> 59 </property> 60 <widget class="QLabel"> 61 <property name="name"> 62 <cstring>pmIcon</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>:/os_other.png</pixmap> 74 </property> 75 <property name="scaledContents"> 76 <bool>false</bool> 77 </property> 78 <property name="alignment"> 79 <set>AlignTop</set> 80 </property> 81 </widget> 82 <spacer> 83 <property name="name"> 84 <cstring>spacer2</cstring> 85 </property> 86 <property name="orientation"> 87 <enum>Vertical</enum> 88 </property> 89 <property name="sizeType"> 90 <enum>Expanding</enum> 91 </property> 92 <property name="sizeHint"> 93 <size> 94 <width>20</width> 95 <height>40</height> 96 </size> 97 </property> 98 </spacer> 99 </vbox> 100 </widget> 101 <widget class="QButtonGroup"> 102 <property name="name"> 103 <cstring>buttonGroup</cstring> 104 </property> 105 <property name="frameShape"> 106 <enum>NoFrame</enum> 107 </property> 108 <property name="title"> 109 <string>You want to:</string> 110 </property> 111 <grid> 112 <property name="name"> 113 <cstring>unnamed</cstring> 114 </property> 115 <widget class="QLabel" row="0" column="0"> 116 <property name="name"> 117 <cstring>txSave</cstring> 118 </property> 119 <property name="sizePolicy"> 120 <sizepolicy> 121 <hsizetype>0</hsizetype> 122 <vsizetype>0</vsizetype> 123 <horstretch>0</horstretch> 124 <verstretch>0</verstretch> 125 </sizepolicy> 126 </property> 127 <property name="text"> 128 <string></string> 129 </property> 130 <property name="pixmap"> 131 <pixmap>:/state_saved_16px.png</pixmap> 132 </property> 133 <property name="buddy" stdset="0"> 134 <cstring>rbSave</cstring> 135 </property> 136 </widget> 137 <widget class="QRadioButton" row="0" column="1"> 138 <property name="name"> 139 <cstring>rbSave</cstring> 140 </property> 141 <property name="text"> 142 <string>&Save the machine state</string> 143 </property> 144 <property name="whatsThis" stdset="0"> 145 <string><p>Saves the current execution state of the virtual machine to the physical hard disk of the host PC.</p> 146 <p>Next time this machine is started, it will be restored from the saved state and continue execution from the same place you saved it at, which will let you continue your work immediately.</p> 147 <p>Note that saving the machine state may take a long time, depending on the guest operating system type and the amount of memory you assigned to the virtual machine.</p></string> 148 </property> 149 </widget> 150 <widget class="QLabel" row="1" column="0"> 151 <property name="name"> 152 <cstring>txShutdown</cstring> 153 </property> 154 <property name="sizePolicy"> 155 <sizepolicy> 156 <hsizetype>0</hsizetype> 157 <vsizetype>0</vsizetype> 158 <horstretch>0</horstretch> 159 <verstretch>0</verstretch> 160 </sizepolicy> 161 </property> 162 <property name="text"> 163 <string></string> 164 </property> 165 <property name="pixmap"> 166 <pixmap>:/acpi_16px.png</pixmap> 167 </property> 168 <property name="buddy" stdset="0"> 169 <cstring>rbShutdown</cstring> 170 </property> 171 </widget> 172 <widget class="QRadioButton" row="1" column="1"> 173 <property name="name"> 174 <cstring>rbShutdown</cstring> 175 </property> 176 <property name="text"> 177 <string>S&end the shutdown signal</string> 178 </property> 179 <property name="whatsThis" stdset="0"> 180 <string><p>Sends the ACPI Power Button press event to the virtual machine.</p> 181 <p>Normally, the guest operating system running inside the virtual machine will detect this event and perform a clean shutdown procedure. This is a recommended way to turn off the virtual machine because all applications running inside it will get a chance to save their data and state.</p> 182 <p>If the machine doesn't respond to this action then the guest operating system may be misconfigured or doesn't understand ACPI Power Button events at all. In this case you should select the <b>Power off the machine</b> action to stop virtual machine execution.</p></string> 183 </property> 184 </widget> 185 <widget class="QLabel" row="2" column="0"> 186 <property name="name"> 187 <cstring>txPowerOff</cstring> 188 </property> 189 <property name="sizePolicy"> 190 <sizepolicy> 191 <hsizetype>0</hsizetype> 192 <vsizetype>0</vsizetype> 193 <horstretch>0</horstretch> 194 <verstretch>0</verstretch> 195 </sizepolicy> 196 </property> 197 <property name="text"> 198 <string></string> 199 </property> 200 <property name="pixmap"> 201 <pixmap>:/poweroff_16px.png</pixmap> 202 </property> 203 <property name="buddy" stdset="0"> 204 <cstring>rbPowerOff</cstring> 205 </property> 206 </widget> 207 <widget class="QRadioButton" row="2" column="1"> 208 <property name="name"> 209 <cstring>rbPowerOff</cstring> 210 </property> 211 <property name="text"> 212 <string>&Power off the machine</string> 213 </property> 214 <property name="whatsThis" stdset="0"> 215 <string><p>Turns off the virtual machine.</p> 216 <p>Note that this action will stop machine execution immediately so that the guest operating system running inside it will not be able to perform a clean shutdown procedure which may result in <i>data loss</i> inside the virtual machine. Selecting this action is recommended only if the virtual machine does not respond to the <b>Send the shutdown signal</b> action.</p></string> 217 </property> 218 </widget> 219 <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> 220 <property name="name"> 221 <cstring>layout13</cstring> 222 </property> 223 <hbox> 224 <property name="name"> 225 <cstring>unnamed</cstring> 226 </property> 227 <property name="margin"> 228 <number>0</number> 229 </property> 230 <property name="spacing"> 231 <number>0</number> 232 </property> 233 <spacer> 234 <property name="name"> 235 <cstring>spacer9</cstring> 236 </property> 237 <property name="orientation"> 238 <enum>Horizontal</enum> 239 </property> 240 <property name="sizeType"> 241 <enum>Fixed</enum> 242 </property> 243 <property name="sizeHint"> 244 <size> 245 <width>38</width> 246 <height>20</height> 247 </size> 248 </property> 249 </spacer> 250 <widget class="QCheckBox"> 251 <property name="name"> 252 <cstring>cbDiscardCurState</cstring> 253 </property> 254 <property name="enabled"> 255 <bool>false</bool> 256 </property> 257 <property name="text"> 258 <string>&Revert to the current snapshot</string> 259 </property> 260 <property name="toolTip" stdset="0"> 261 <string>Revert the machine state to the state stored in the current snapshot</string> 262 </property> 263 <property name="whatsThis" stdset="0"> 264 <string><p>When checked, the machine state will be restored from the state stored in the current snapshot right after it is turned off. This is useful if you are sure that you want to discard the results of your last sessions and go back to the current snapshot.</p></string> 265 </property> 266 </widget> 267 </hbox> 268 </widget> 269 </grid> 270 </widget> 271 </hbox> 1 <ui version="4.0" > 2 <class>VBoxCloseVMDlg</class> 3 <widget class="QDialog" name="VBoxCloseVMDlg" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>350</width> 9 <height>179</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>Close Virtual Machine</string> 14 </property> 15 <property name="sizeGripEnabled" > 16 <bool>false</bool> 17 </property> 18 <layout class="QVBoxLayout" > 19 <property name="spacing" > 20 <number>10</number> 21 </property> 22 <item> 23 <layout class="QHBoxLayout" > 24 <item> 25 <layout class="QVBoxLayout" > 26 <item> 27 <widget class="QLabel" name="pmIcon" > 28 <property name="sizePolicy" > 29 <sizepolicy vsizetype="Preferred" hsizetype="Maximum" > 30 <horstretch>0</horstretch> 31 <verstretch>0</verstretch> 32 </sizepolicy> 33 </property> 34 <property name="pixmap" > 35 <pixmap>:/os_other.png</pixmap> 36 </property> 37 <property name="scaledContents" > 38 <bool>false</bool> 39 </property> 40 <property name="alignment" > 41 <set>Qt::AlignTop</set> 42 </property> 43 <property name="wordWrap" > 44 <bool>false</bool> 45 </property> 272 46 </widget> 273 <widget class="QLayoutWidget"> 274 <property name="name"> 275 <cstring>Layout1</cstring> 276 </property> 277 <hbox> 278 <property name="name"> 279 <cstring>unnamed</cstring> 280 </property> 281 <property name="margin"> 282 <number>0</number> 283 </property> 284 <property name="spacing"> 285 <number>6</number> 286 </property> 287 <widget class="QPushButton"> 288 <property name="name"> 289 <cstring>buttonHelp</cstring> 290 </property> 291 <property name="text"> 292 <string>Help</string> 293 </property> 294 <property name="accel"> 295 <string>F1</string> 296 </property> 297 <property name="autoDefault"> 298 <bool>true</bool> 299 </property> 300 </widget> 301 <spacer> 302 <property name="name"> 303 <cstring>Horizontal Spacing2</cstring> 304 </property> 305 <property name="orientation"> 306 <enum>Horizontal</enum> 307 </property> 308 <property name="sizeType"> 309 <enum>Expanding</enum> 310 </property> 311 <property name="sizeHint"> 312 <size> 313 <width>20</width> 314 <height>20</height> 315 </size> 316 </property> 317 </spacer> 318 <widget class="QPushButton"> 319 <property name="name"> 320 <cstring>buttonOk</cstring> 321 </property> 322 <property name="text"> 323 <string>&OK</string> 324 </property> 325 <property name="autoDefault"> 326 <bool>true</bool> 327 </property> 328 <property name="default"> 329 <bool>true</bool> 330 </property> 331 </widget> 332 <widget class="QPushButton"> 333 <property name="name"> 334 <cstring>buttonCancel</cstring> 335 </property> 336 <property name="text"> 337 <string>Cancel</string> 338 </property> 339 <property name="autoDefault"> 340 <bool>true</bool> 341 </property> 342 </widget> 343 </hbox> 47 </item> 48 <item> 49 <spacer> 50 <property name="orientation" > 51 <enum>Qt::Vertical</enum> 52 </property> 53 <property name="sizeType" > 54 <enum>QSizePolicy::Expanding</enum> 55 </property> 56 <property name="sizeHint" > 57 <size> 58 <width>20</width> 59 <height>40</height> 60 </size> 61 </property> 62 </spacer> 63 </item> 64 </layout> 65 </item> 66 <item> 67 <layout class="QVBoxLayout" > 68 <item> 69 <widget class="QLabel" name="label" > 70 <property name="text" > 71 <string>You want to:</string> 72 </property> 344 73 </widget> 345 </vbox> 346 </widget> 347 <connections> 348 <connection> 349 <sender>buttonOk</sender> 350 <signal>clicked()</signal> 351 <receiver>VBoxCloseVMDlg</receiver> 352 <slot>accept()</slot> 353 </connection> 354 <connection> 355 <sender>buttonCancel</sender> 356 <signal>clicked()</signal> 357 <receiver>VBoxCloseVMDlg</receiver> 358 <slot>reject()</slot> 359 </connection> 360 <connection> 361 <sender>rbPowerOff</sender> 362 <signal>toggled(bool)</signal> 363 <receiver>cbDiscardCurState</receiver> 364 <slot>setEnabled(bool)</slot> 365 </connection> 366 <connection> 367 <sender>buttonHelp</sender> 368 <signal>clicked()</signal> 369 <receiver>&vboxProblem()</receiver> 370 <slot>showHelpHelpDialog()</slot> 371 </connection> 372 </connections> 373 <includes> 374 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include> 375 </includes> 376 <pixmapinproject/> 377 <layoutdefaults spacing="6" margin="11"/> 378 </UI> 74 </item> 75 <item> 76 <layout class="QGridLayout" > 77 <item row="0" column="0" > 78 <widget class="QLabel" name="mTxSave" > 79 <property name="sizePolicy" > 80 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 81 <horstretch>0</horstretch> 82 <verstretch>0</verstretch> 83 </sizepolicy> 84 </property> 85 <property name="text" > 86 <string/> 87 </property> 88 <property name="pixmap" > 89 <pixmap>:/state_saved_16px.png</pixmap> 90 </property> 91 </widget> 92 </item> 93 <item row="0" column="1" > 94 <widget class="QRadioButton" name="mRbSave" > 95 <property name="whatsThis" > 96 <string><p>Saves the current execution state of the virtual machine to the physical hard disk of the host PC.</p><p>Next time this machine is started, it will be restored from the saved state and continue execution from the same place you saved it at, which will let you continue your work immediately.</p><p>Note that saving the machine state may take a long time, depending on the guest operating system type and the amount of memory you assigned to the virtual machine.</p></string> 97 </property> 98 <property name="text" > 99 <string>&Save the machine state</string> 100 </property> 101 </widget> 102 </item> 103 <item row="1" column="0" > 104 <widget class="QLabel" name="mTxShutDown" > 105 <property name="sizePolicy" > 106 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 107 <horstretch>0</horstretch> 108 <verstretch>0</verstretch> 109 </sizepolicy> 110 </property> 111 <property name="text" > 112 <string/> 113 </property> 114 <property name="pixmap" > 115 <pixmap>:/acpi_16px.png</pixmap> 116 </property> 117 </widget> 118 </item> 119 <item row="1" column="1" > 120 <widget class="QRadioButton" name="mRbShutdown" > 121 <property name="whatsThis" > 122 <string><p>Sends the ACPI Power Button press event to the virtual machine.</p><p>Normally, the guest operating system running inside the virtual machine will detect this event and perform a clean shutdown procedure. This is a recommended way to turn off the virtual machine because all applications running inside it will get a chance to save their data and state.</p><p>If the machine doesn't respond to this action then the guest operating system may be misconfigured or doesn't understand ACPI Power Button events at all. In this case you should select the <b>Power off the machine</b> action to stop virtual machine execution.</p></string> 123 </property> 124 <property name="text" > 125 <string>S&end the shutdown signal</string> 126 </property> 127 </widget> 128 </item> 129 <item row="2" column="0" > 130 <widget class="QLabel" name="mTxPowerOff" > 131 <property name="sizePolicy" > 132 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 133 <horstretch>0</horstretch> 134 <verstretch>0</verstretch> 135 </sizepolicy> 136 </property> 137 <property name="text" > 138 <string/> 139 </property> 140 <property name="pixmap" > 141 <pixmap>:/poweroff_16px.png</pixmap> 142 </property> 143 </widget> 144 </item> 145 <item row="2" column="1" > 146 <widget class="QRadioButton" name="mRbPowerOff" > 147 <property name="whatsThis" > 148 <string><p>Turns off the virtual machine.</p><p>Note that this action will stop machine execution immediately so that the guest operating system running inside it will not be able to perform a clean shutdown procedure which may result in <i>data loss</i> inside the virtual machine. Selecting this action is recommended only if the virtual machine does not respond to the <b>Send the shutdown signal</b> action.</p></string> 149 </property> 150 <property name="text" > 151 <string>&Power off the machine</string> 152 </property> 153 </widget> 154 </item> 155 </layout> 156 </item> 157 <item> 158 <layout class="QHBoxLayout" > 159 <property name="spacing" > 160 <number>0</number> 161 </property> 162 <property name="leftMargin" > 163 <number>0</number> 164 </property> 165 <property name="topMargin" > 166 <number>0</number> 167 </property> 168 <property name="rightMargin" > 169 <number>0</number> 170 </property> 171 <property name="bottomMargin" > 172 <number>0</number> 173 </property> 174 <item> 175 <spacer> 176 <property name="orientation" > 177 <enum>Qt::Horizontal</enum> 178 </property> 179 <property name="sizeType" > 180 <enum>QSizePolicy::Fixed</enum> 181 </property> 182 <property name="sizeHint" > 183 <size> 184 <width>38</width> 185 <height>20</height> 186 </size> 187 </property> 188 </spacer> 189 </item> 190 <item> 191 <widget class="QCheckBox" name="mCbDiscardCurState" > 192 <property name="enabled" > 193 <bool>false</bool> 194 </property> 195 <property name="toolTip" > 196 <string>Revert the machine state to the state stored in the current snapshot</string> 197 </property> 198 <property name="whatsThis" > 199 <string><p>When checked, the machine state will be restored from the state stored in the current snapshot right after it is turned off. This is useful if you are sure that you want to discard the results of your last sessions and go back to the current snapshot.</p></string> 200 </property> 201 <property name="text" > 202 <string>&Revert to the current snapshot</string> 203 </property> 204 </widget> 205 </item> 206 </layout> 207 </item> 208 </layout> 209 </item> 210 </layout> 211 </item> 212 <item> 213 <layout class="QHBoxLayout" > 214 <property name="spacing" > 215 <number>6</number> 216 </property> 217 <property name="leftMargin" > 218 <number>0</number> 219 </property> 220 <property name="topMargin" > 221 <number>0</number> 222 </property> 223 <property name="rightMargin" > 224 <number>0</number> 225 </property> 226 <property name="bottomMargin" > 227 <number>0</number> 228 </property> 229 <item> 230 <widget class="QPushButton" name="mButtonHelp" > 231 <property name="text" > 232 <string>Help</string> 233 </property> 234 <property name="shortcut" > 235 <string>F1</string> 236 </property> 237 <property name="autoDefault" > 238 <bool>true</bool> 239 </property> 240 </widget> 241 </item> 242 <item> 243 <spacer> 244 <property name="orientation" > 245 <enum>Qt::Horizontal</enum> 246 </property> 247 <property name="sizeType" > 248 <enum>QSizePolicy::Expanding</enum> 249 </property> 250 <property name="sizeHint" > 251 <size> 252 <width>20</width> 253 <height>20</height> 254 </size> 255 </property> 256 </spacer> 257 </item> 258 <item> 259 <widget class="QPushButton" name="mButtonOk" > 260 <property name="text" > 261 <string>&OK</string> 262 </property> 263 <property name="autoDefault" > 264 <bool>true</bool> 265 </property> 266 <property name="default" > 267 <bool>true</bool> 268 </property> 269 </widget> 270 </item> 271 <item> 272 <widget class="QPushButton" name="mButtonCancel" > 273 <property name="text" > 274 <string>Cancel</string> 275 </property> 276 <property name="autoDefault" > 277 <bool>true</bool> 278 </property> 279 </widget> 280 </item> 281 </layout> 282 </item> 283 </layout> 284 </widget> 285 <layoutdefault spacing="6" margin="11" /> 286 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> 287 <resources/> 288 <connections> 289 <connection> 290 <sender>mButtonOk</sender> 291 <signal>clicked()</signal> 292 <receiver>VBoxCloseVMDlg</receiver> 293 <slot>accept()</slot> 294 </connection> 295 <connection> 296 <sender>mButtonCancel</sender> 297 <signal>clicked()</signal> 298 <receiver>VBoxCloseVMDlg</receiver> 299 <slot>reject()</slot> 300 </connection> 301 <connection> 302 <sender>mRbPowerOff</sender> 303 <signal>toggled(bool)</signal> 304 <receiver>mCbDiscardCurState</receiver> 305 <slot>setEnabled(bool)</slot> 306 </connection> 307 </connections> 308 </ui> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxDiskImageManagerDlg.ui.h
r7442 r7447 17 17 #include <QMenuBar> 18 18 #include <QMenuItem> 19 #include <QDir> 19 20 /** 20 21 * … … 1949 1950 AssertReturnVoid (getCurrentListView() == hdsView); 1950 1951 1951 VBoxNewHDWzd dlg (this , "VBoxNewHDWzd");1952 VBoxNewHDWzd dlg (this); 1952 1953 1953 1954 if (dlg.exec() == QDialog::Accepted) -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxNewHDWzd.ui
r7235 r7447 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 (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="QWizard"> 18 <property name="name"> 19 <cstring>VBoxNewHDWzd</cstring> 20 </property> 21 <property name="geometry"> 22 <rect> 23 <x>0</x> 24 <y>0</y> 25 <width>542</width> 26 <height>499</height> 27 </rect> 28 </property> 29 <property name="caption"> 30 <string>Create New Virtual Disk</string> 31 </property> 32 <property name="titleFont"> 33 <font> 34 <family>Arial</family> 35 <pointsize>12</pointsize> 36 <bold>1</bold> 37 </font> 38 </property> 39 <widget class="QWidget"> 40 <property name="name"> 41 <cstring>pageWelcome</cstring> 42 </property> 43 <attribute name="title"> 44 <string>Welcome to the Create New Virtual Disk Wizard!</string> 45 </attribute> 46 <hbox> 47 <property name="name"> 48 <cstring>unnamed</cstring> 49 </property> 50 <property name="spacing"> 51 <number>20</number> 52 </property> 53 <property name="resizeMode"> 54 <enum>Minimum</enum> 55 </property> 56 <widget class="QLabel"> 57 <property name="name"> 58 <cstring>pmWelcome</cstring> 59 </property> 60 <property name="sizePolicy"> 61 <sizepolicy> 62 <hsizetype>4</hsizetype> 63 <vsizetype>5</vsizetype> 64 <horstretch>0</horstretch> 65 <verstretch>0</verstretch> 66 </sizepolicy> 67 </property> 68 <property name="pixmap"> 69 <pixmap>:/vmw_new_harddisk.png</pixmap> 70 </property> 71 <property name="alignment"> 72 <set>AlignTop</set> 73 </property> 1 <ui version="4.0" > 2 <class>VBoxNewHDWzd</class> 3 <widget class="QDialog" name="VBoxNewHDWzd" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>506</width> 9 <height>413</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>Create New Virtual Disk</string> 14 </property> 15 <layout class="QVBoxLayout" > 16 <property name="leftMargin" > 17 <number>0</number> 18 </property> 19 <property name="topMargin" > 20 <number>0</number> 21 </property> 22 <property name="rightMargin" > 23 <number>0</number> 24 </property> 25 <property name="bottomMargin" > 26 <number>0</number> 27 </property> 28 <item> 29 <widget class="QStackedWidget" name="mPageStack" > 30 <property name="currentIndex" > 31 <number>0</number> 32 </property> 33 <widget class="QWidget" name="mPageWelcome" > 34 <layout class="QVBoxLayout" > 35 <item> 36 <widget class="QLabel" name="mPageWelcomeHdr" > 37 <property name="font" > 38 <font> 39 <family>Arial</family> 40 <pointsize>12</pointsize> 41 <weight>75</weight> 42 <bold>true</bold> 43 </font> 44 </property> 45 <property name="text" > 46 <string>Welcome to the Create New Virtual Disk Wizard!</string> 47 </property> 48 </widget> 49 </item> 50 <item> 51 <widget class="Line" name="line11" > 52 <property name="orientation" > 53 <enum>Qt::Horizontal</enum> 54 </property> 55 </widget> 56 </item> 57 <item> 58 <layout class="QHBoxLayout" > 59 <property name="spacing" > 60 <number>10</number> 61 </property> 62 <item> 63 <widget class="QLabel" name="mLogoWelcome" > 64 <property name="sizePolicy" > 65 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 66 <horstretch>0</horstretch> 67 <verstretch>0</verstretch> 68 </sizepolicy> 69 </property> 70 <property name="autoFillBackground" > 71 <bool>true</bool> 72 </property> 73 <property name="text" > 74 <string/> 75 </property> 76 <property name="pixmap" > 77 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_harddisk.png</pixmap> 78 </property> 79 <property name="alignment" > 80 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 81 </property> 82 </widget> 83 </item> 84 <item> 85 <layout class="QVBoxLayout" > 86 <property name="spacing" > 87 <number>10</number> 88 </property> 89 <item> 90 <widget class="QILabel" name="mTextWelcome" > 91 <property name="sizePolicy" > 92 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 93 <horstretch>0</horstretch> 94 <verstretch>0</verstretch> 95 </sizepolicy> 96 </property> 97 <property name="minimumSize" > 98 <size> 99 <width>300</width> 100 <height>0</height> 101 </size> 102 </property> 103 <property name="text" > 104 <string><p>This wizard will help you to create a new virtual hard disk image for your virtual machine.</p><p>Use the <b>Next</b> button to go to the next page of the wizard and the <b>Back</b> button to return to the previous page.</p></string> 105 </property> 106 <property name="alignment" > 107 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 108 </property> 109 <property name="wordWrap" > 110 <bool>true</bool> 111 </property> 74 112 </widget> 75 <widget class="QLayoutWidget"> 76 <property name="name"> 77 <cstring>layout33</cstring> 78 </property> 79 <vbox> 80 <property name="name"> 81 <cstring>unnamed</cstring> 82 </property> 83 <widget class="QLabel"> 84 <property name="name"> 85 <cstring>txWelcome</cstring> 86 </property> 87 <property name="sizePolicy"> 88 <sizepolicy> 89 <hsizetype>1</hsizetype> 90 <vsizetype>0</vsizetype> 91 <horstretch>0</horstretch> 92 <verstretch>0</verstretch> 93 </sizepolicy> 94 </property> 95 <property name="text"> 96 <string><p>This wizard will help you to create a new virtual hard disk image for your virtual machine.</p> 97 <p>Use the <b>Next</b> button to go to the next page of the wizard 98 and the <b>Back</b> button to return to the previous page.</p></string> 99 </property> 100 <property name="alignment"> 101 <set>WordBreak|AlignTop</set> 102 </property> 103 </widget> 104 <spacer> 105 <property name="name"> 106 <cstring>spacer30</cstring> 107 </property> 108 <property name="orientation"> 109 <enum>Vertical</enum> 110 </property> 111 <property name="sizeType"> 112 <enum>Expanding</enum> 113 </property> 114 <property name="sizeHint"> 115 <size> 116 <width>0</width> 117 <height>0</height> 118 </size> 119 </property> 120 </spacer> 121 <spacer> 122 <property name="name"> 123 <cstring>widthSpacer</cstring> 124 </property> 125 <property name="orientation"> 126 <enum>Horizontal</enum> 127 </property> 128 <property name="sizeType"> 129 <enum>MinimumExpanding</enum> 130 </property> 131 <property name="sizeHint"> 132 <size> 133 <width>400</width> 134 <height>1</height> 135 </size> 136 </property> 137 </spacer> 138 </vbox> 113 </item> 114 <item> 115 <spacer> 116 <property name="orientation" > 117 <enum>Qt::Vertical</enum> 118 </property> 119 <property name="sizeHint" > 120 <size> 121 <width>0</width> 122 <height>0</height> 123 </size> 124 </property> 125 </spacer> 126 </item> 127 </layout> 128 </item> 129 </layout> 130 </item> 131 <item> 132 <widget class="Line" name="line12" > 133 <property name="orientation" > 134 <enum>Qt::Horizontal</enum> 135 </property> 136 </widget> 137 </item> 138 <item> 139 <layout class="QHBoxLayout" > 140 <item> 141 <spacer> 142 <property name="orientation" > 143 <enum>Qt::Horizontal</enum> 144 </property> 145 <property name="sizeHint" > 146 <size> 147 <width>0</width> 148 <height>0</height> 149 </size> 150 </property> 151 </spacer> 152 </item> 153 <item> 154 <widget class="QPushButton" name="mBtnBack1" > 155 <property name="enabled" > 156 <bool>false</bool> 157 </property> 158 <property name="text" > 159 <string>< &Back</string> 160 </property> 161 </widget> 162 </item> 163 <item> 164 <widget class="QPushButton" name="mBtnNext1" > 165 <property name="text" > 166 <string>&Next ></string> 167 </property> 168 </widget> 169 </item> 170 <item> 171 <spacer> 172 <property name="orientation" > 173 <enum>Qt::Horizontal</enum> 174 </property> 175 <property name="sizeType" > 176 <enum>QSizePolicy::Fixed</enum> 177 </property> 178 <property name="sizeHint" > 179 <size> 180 <width>5</width> 181 <height>0</height> 182 </size> 183 </property> 184 </spacer> 185 </item> 186 <item> 187 <widget class="QPushButton" name="mBtnCancel1" > 188 <property name="text" > 189 <string>&Cancel</string> 190 </property> 191 </widget> 192 </item> 193 </layout> 194 </item> 195 </layout> 196 </widget> 197 <widget class="QWidget" name="mPageType" > 198 <layout class="QVBoxLayout" > 199 <item> 200 <widget class="QLabel" name="mPageTypeHdr" > 201 <property name="font" > 202 <font> 203 <family>Arial</family> 204 <pointsize>12</pointsize> 205 <weight>75</weight> 206 <bold>true</bold> 207 </font> 208 </property> 209 <property name="text" > 210 <string>Virtual Disk Image Type</string> 211 </property> 212 </widget> 213 </item> 214 <item> 215 <widget class="Line" name="line21" > 216 <property name="orientation" > 217 <enum>Qt::Horizontal</enum> 218 </property> 219 </widget> 220 </item> 221 <item> 222 <layout class="QHBoxLayout" > 223 <property name="spacing" > 224 <number>10</number> 225 </property> 226 <item> 227 <widget class="QLabel" name="mLogoType" > 228 <property name="sizePolicy" > 229 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 230 <horstretch>0</horstretch> 231 <verstretch>0</verstretch> 232 </sizepolicy> 233 </property> 234 <property name="autoFillBackground" > 235 <bool>true</bool> 236 </property> 237 <property name="text" > 238 <string/> 239 </property> 240 <property name="pixmap" > 241 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_harddisk.png</pixmap> 242 </property> 243 <property name="alignment" > 244 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 245 </property> 246 </widget> 247 </item> 248 <item> 249 <layout class="QVBoxLayout" > 250 <property name="spacing" > 251 <number>10</number> 252 </property> 253 <item> 254 <widget class="QILabel" name="mTextType" > 255 <property name="sizePolicy" > 256 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 257 <horstretch>0</horstretch> 258 <verstretch>0</verstretch> 259 </sizepolicy> 260 </property> 261 <property name="minimumSize" > 262 <size> 263 <width>300</width> 264 <height>0</height> 265 </size> 266 </property> 267 <property name="text" > 268 <string><p>Select the type of virtual hard disk image you want to create.</p><p>A <b>dynamically expanding image</b> initially occupies a very small amount of space on your physical hard disk. It will grow dynamically (up to the size specified) as the Guest OS claims disk space.</p><p>A <b>fixed-size image</b> does not grow. It is stored in a file of approximately the same size as the size of the virtual hard disk. The creation of a fixed-size image may take a long time depending on the image size and the write performance of your harddisk.</p></string> 269 </property> 270 <property name="alignment" > 271 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 272 </property> 273 <property name="wordWrap" > 274 <bool>true</bool> 275 </property> 139 276 </widget> 140 </hbox> 277 </item> 278 <item> 279 <widget class="QGroupBox" name="mGbType" > 280 <property name="sizePolicy" > 281 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 282 <horstretch>0</horstretch> 283 <verstretch>0</verstretch> 284 </sizepolicy> 285 </property> 286 <property name="title" > 287 <string>Image Type</string> 288 </property> 289 <layout class="QVBoxLayout" > 290 <property name="topMargin" > 291 <number>4</number> 292 </property> 293 <item> 294 <widget class="QRadioButton" name="mRbDynamicType" > 295 <property name="sizePolicy" > 296 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 297 <horstretch>0</horstretch> 298 <verstretch>0</verstretch> 299 </sizepolicy> 300 </property> 301 <property name="text" > 302 <string>&Dynamically expanding image</string> 303 </property> 304 <property name="checked" > 305 <bool>true</bool> 306 </property> 307 </widget> 308 </item> 309 <item> 310 <widget class="QRadioButton" name="mRbFixedType" > 311 <property name="sizePolicy" > 312 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 313 <horstretch>0</horstretch> 314 <verstretch>0</verstretch> 315 </sizepolicy> 316 </property> 317 <property name="text" > 318 <string>&Fixed-size image</string> 319 </property> 320 </widget> 321 </item> 322 </layout> 323 </widget> 324 </item> 325 <item> 326 <spacer> 327 <property name="orientation" > 328 <enum>Qt::Vertical</enum> 329 </property> 330 <property name="sizeHint" > 331 <size> 332 <width>0</width> 333 <height>0</height> 334 </size> 335 </property> 336 </spacer> 337 </item> 338 </layout> 339 </item> 340 </layout> 341 </item> 342 <item> 343 <widget class="Line" name="line22" > 344 <property name="orientation" > 345 <enum>Qt::Horizontal</enum> 346 </property> 347 </widget> 348 </item> 349 <item> 350 <layout class="QHBoxLayout" > 351 <item> 352 <spacer> 353 <property name="orientation" > 354 <enum>Qt::Horizontal</enum> 355 </property> 356 <property name="sizeHint" > 357 <size> 358 <width>0</width> 359 <height>0</height> 360 </size> 361 </property> 362 </spacer> 363 </item> 364 <item> 365 <widget class="QPushButton" name="mBtnBack2" > 366 <property name="text" > 367 <string>< &Back</string> 368 </property> 369 </widget> 370 </item> 371 <item> 372 <widget class="QPushButton" name="mBtnNext2" > 373 <property name="text" > 374 <string>&Next ></string> 375 </property> 376 </widget> 377 </item> 378 <item> 379 <spacer> 380 <property name="orientation" > 381 <enum>Qt::Horizontal</enum> 382 </property> 383 <property name="sizeType" > 384 <enum>QSizePolicy::Fixed</enum> 385 </property> 386 <property name="sizeHint" > 387 <size> 388 <width>5</width> 389 <height>0</height> 390 </size> 391 </property> 392 </spacer> 393 </item> 394 <item> 395 <widget class="QPushButton" name="mBtnCancel2" > 396 <property name="text" > 397 <string>&Cancel</string> 398 </property> 399 </widget> 400 </item> 401 </layout> 402 </item> 403 </layout> 404 </widget> 405 <widget class="QWidget" name="mPageNameAndSize" > 406 <layout class="QVBoxLayout" > 407 <item> 408 <widget class="QLabel" name="mPageNameAndSizeHdr" > 409 <property name="font" > 410 <font> 411 <family>Arial</family> 412 <pointsize>12</pointsize> 413 <weight>75</weight> 414 <bold>true</bold> 415 </font> 416 </property> 417 <property name="text" > 418 <string>Virtual Disk Location and Size</string> 419 </property> 420 </widget> 421 </item> 422 <item> 423 <widget class="Line" name="line31" > 424 <property name="orientation" > 425 <enum>Qt::Horizontal</enum> 426 </property> 427 </widget> 428 </item> 429 <item> 430 <layout class="QHBoxLayout" > 431 <property name="spacing" > 432 <number>10</number> 433 </property> 434 <item> 435 <widget class="QLabel" name="mLogoNameAndSize" > 436 <property name="sizePolicy" > 437 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 438 <horstretch>0</horstretch> 439 <verstretch>0</verstretch> 440 </sizepolicy> 441 </property> 442 <property name="autoFillBackground" > 443 <bool>true</bool> 444 </property> 445 <property name="text" > 446 <string/> 447 </property> 448 <property name="pixmap" > 449 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_harddisk.png</pixmap> 450 </property> 451 <property name="alignment" > 452 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 453 </property> 454 </widget> 455 </item> 456 <item> 457 <layout class="QVBoxLayout" > 458 <property name="spacing" > 459 <number>10</number> 460 </property> 461 <item> 462 <widget class="QILabel" name="mTextNameComment" > 463 <property name="sizePolicy" > 464 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 465 <horstretch>0</horstretch> 466 <verstretch>0</verstretch> 467 </sizepolicy> 468 </property> 469 <property name="minimumSize" > 470 <size> 471 <width>300</width> 472 <height>0</height> 473 </size> 474 </property> 475 <property name="text" > 476 <string><p>Press the <b>Select</b> button to select the location and name of the file to store the virtual hard disk image or type a file name in the entry field.</p></string> 477 </property> 478 <property name="alignment" > 479 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 480 </property> 481 <property name="wordWrap" > 482 <bool>true</bool> 483 </property> 484 </widget> 485 </item> 486 <item> 487 <widget class="QGroupBox" name="mGbName" > 488 <property name="sizePolicy" > 489 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 490 <horstretch>0</horstretch> 491 <verstretch>0</verstretch> 492 </sizepolicy> 493 </property> 494 <property name="title" > 495 <string>&Image File Name</string> 496 </property> 497 <layout class="QHBoxLayout" > 498 <property name="topMargin" > 499 <number>4</number> 500 </property> 501 <item> 502 <widget class="QLineEdit" name="mLeName" /> 503 </item> 504 <item> 505 <widget class="QToolButton" name="mTbNameSelect" > 506 <property name="text" > 507 <string/> 508 </property> 509 <property name="icon" > 510 <iconset resource="../VirtualBox.qrc" >:/select_file_16px.png</iconset> 511 </property> 512 </widget> 513 </item> 514 </layout> 515 </widget> 516 </item> 517 <item> 518 <widget class="QILabel" name="mTextSizeComment" > 519 <property name="sizePolicy" > 520 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 521 <horstretch>0</horstretch> 522 <verstretch>0</verstretch> 523 </sizepolicy> 524 </property> 525 <property name="minimumSize" > 526 <size> 527 <width>300</width> 528 <height>0</height> 529 </size> 530 </property> 531 <property name="text" > 532 <string><p>Select the size of the virtual hard disk image in megabytes. This size will be reported to the Guest OS as the size of the virtual hard disk.</p></string> 533 </property> 534 <property name="alignment" > 535 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 536 </property> 537 <property name="wordWrap" > 538 <bool>true</bool> 539 </property> 540 </widget> 541 </item> 542 <item> 543 <widget class="QGroupBox" name="mGbSize" > 544 <property name="sizePolicy" > 545 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 546 <horstretch>0</horstretch> 547 <verstretch>0</verstretch> 548 </sizepolicy> 549 </property> 550 <property name="title" > 551 <string>Image &Size</string> 552 </property> 553 <layout class="QGridLayout" > 554 <item row="0" column="0" colspan="3" > 555 <widget class="QSlider" name="mSlSize" > 556 <property name="sizePolicy" > 557 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 558 <horstretch>0</horstretch> 559 <verstretch>0</verstretch> 560 </sizepolicy> 561 </property> 562 <property name="orientation" > 563 <enum>Qt::Horizontal</enum> 564 </property> 565 <property name="tickPosition" > 566 <enum>QSlider::TicksBelow</enum> 567 </property> 568 </widget> 569 </item> 570 <item row="0" column="3" > 571 <widget class="QLineEdit" name="mLeSize" > 572 <property name="sizePolicy" > 573 <sizepolicy vsizetype="Fixed" hsizetype="Maximum" > 574 <horstretch>0</horstretch> 575 <verstretch>0</verstretch> 576 </sizepolicy> 577 </property> 578 </widget> 579 </item> 580 <item row="1" column="0" > 581 <widget class="QLabel" name="mTxSizeMin" > 582 <property name="sizePolicy" > 583 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > 584 <horstretch>0</horstretch> 585 <verstretch>0</verstretch> 586 </sizepolicy> 587 </property> 588 <property name="text" > 589 <string/> 590 </property> 591 <property name="alignment" > 592 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 593 </property> 594 </widget> 595 </item> 596 <item row="1" column="1" > 597 <spacer> 598 <property name="orientation" > 599 <enum>Qt::Horizontal</enum> 600 </property> 601 <property name="sizeType" > 602 <enum>QSizePolicy::Expanding</enum> 603 </property> 604 <property name="sizeHint" > 605 <size> 606 <width>221</width> 607 <height>20</height> 608 </size> 609 </property> 610 </spacer> 611 </item> 612 <item row="1" column="2" > 613 <widget class="QLabel" name="mTxSizeMax" > 614 <property name="sizePolicy" > 615 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > 616 <horstretch>0</horstretch> 617 <verstretch>0</verstretch> 618 </sizepolicy> 619 </property> 620 <property name="text" > 621 <string/> 622 </property> 623 <property name="alignment" > 624 <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set> 625 </property> 626 </widget> 627 </item> 628 </layout> 629 </widget> 630 </item> 631 <item> 632 <spacer> 633 <property name="orientation" > 634 <enum>Qt::Vertical</enum> 635 </property> 636 <property name="sizeHint" > 637 <size> 638 <width>0</width> 639 <height>0</height> 640 </size> 641 </property> 642 </spacer> 643 </item> 644 </layout> 645 </item> 646 </layout> 647 </item> 648 <item> 649 <widget class="Line" name="line32" > 650 <property name="orientation" > 651 <enum>Qt::Horizontal</enum> 652 </property> 653 </widget> 654 </item> 655 <item> 656 <layout class="QHBoxLayout" > 657 <item> 658 <spacer> 659 <property name="orientation" > 660 <enum>Qt::Horizontal</enum> 661 </property> 662 <property name="sizeHint" > 663 <size> 664 <width>0</width> 665 <height>0</height> 666 </size> 667 </property> 668 </spacer> 669 </item> 670 <item> 671 <widget class="QPushButton" name="mBtnBack3" > 672 <property name="text" > 673 <string>< &Back</string> 674 </property> 675 </widget> 676 </item> 677 <item> 678 <widget class="QPushButton" name="mBtnNext3" > 679 <property name="text" > 680 <string>&Next ></string> 681 </property> 682 </widget> 683 </item> 684 <item> 685 <spacer> 686 <property name="orientation" > 687 <enum>Qt::Horizontal</enum> 688 </property> 689 <property name="sizeType" > 690 <enum>QSizePolicy::Fixed</enum> 691 </property> 692 <property name="sizeHint" > 693 <size> 694 <width>5</width> 695 <height>0</height> 696 </size> 697 </property> 698 </spacer> 699 </item> 700 <item> 701 <widget class="QPushButton" name="mBtnCancel3" > 702 <property name="text" > 703 <string>&Cancel</string> 704 </property> 705 </widget> 706 </item> 707 </layout> 708 </item> 709 </layout> 710 </widget> 711 <widget class="QWidget" name="mPageSummary" > 712 <layout class="QVBoxLayout" > 713 <item> 714 <widget class="QLabel" name="mPageSummaryHdr" > 715 <property name="font" > 716 <font> 717 <family>Arial</family> 718 <pointsize>12</pointsize> 719 <weight>75</weight> 720 <bold>true</bold> 721 </font> 722 </property> 723 <property name="text" > 724 <string>Summary</string> 725 </property> 726 </widget> 727 </item> 728 <item> 729 <widget class="Line" name="line41" > 730 <property name="orientation" > 731 <enum>Qt::Horizontal</enum> 732 </property> 733 </widget> 734 </item> 735 <item> 736 <layout class="QHBoxLayout" > 737 <property name="spacing" > 738 <number>10</number> 739 </property> 740 <item> 741 <widget class="QLabel" name="mLogoSummary" > 742 <property name="sizePolicy" > 743 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 744 <horstretch>0</horstretch> 745 <verstretch>0</verstretch> 746 </sizepolicy> 747 </property> 748 <property name="autoFillBackground" > 749 <bool>true</bool> 750 </property> 751 <property name="text" > 752 <string/> 753 </property> 754 <property name="pixmap" > 755 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_harddisk.png</pixmap> 756 </property> 757 <property name="alignment" > 758 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 759 </property> 760 </widget> 761 </item> 762 <item> 763 <layout class="QVBoxLayout" > 764 <property name="spacing" > 765 <number>10</number> 766 </property> 767 <item> 768 <widget class="QILabel" name="mTextSummaryHdr" > 769 <property name="sizePolicy" > 770 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 771 <horstretch>0</horstretch> 772 <verstretch>0</verstretch> 773 </sizepolicy> 774 </property> 775 <property name="minimumSize" > 776 <size> 777 <width>300</width> 778 <height>0</height> 779 </size> 780 </property> 781 <property name="text" > 782 <string>You are going to create a new virtual hard disk image with the following parameters:</string> 783 </property> 784 <property name="alignment" > 785 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 786 </property> 787 <property name="wordWrap" > 788 <bool>true</bool> 789 </property> 790 </widget> 791 </item> 792 <item> 793 <widget class="QITextEdit" name="mTeSummary" > 794 <property name="sizePolicy" > 795 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 796 <horstretch>0</horstretch> 797 <verstretch>0</verstretch> 798 </sizepolicy> 799 </property> 800 <property name="minimumSize" > 801 <size> 802 <width>300</width> 803 <height>0</height> 804 </size> 805 </property> 806 <property name="frameShape" > 807 <enum>QFrame::NoFrame</enum> 808 </property> 809 <property name="autoFormatting" > 810 <set>QTextEdit::AutoAll</set> 811 </property> 812 <property name="readOnly" > 813 <bool>true</bool> 814 </property> 815 </widget> 816 </item> 817 <item> 818 <widget class="QILabel" name="mTextSummaryFtr" > 819 <property name="sizePolicy" > 820 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 821 <horstretch>0</horstretch> 822 <verstretch>0</verstretch> 823 </sizepolicy> 824 </property> 825 <property name="minimumSize" > 826 <size> 827 <width>300</width> 828 <height>0</height> 829 </size> 830 </property> 831 <property name="text" > 832 <string>If the above settings are correct, press the <b>Finish</b> button. Once you press it, a new hard disk image will be created.</string> 833 </property> 834 <property name="alignment" > 835 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 836 </property> 837 <property name="wordWrap" > 838 <bool>true</bool> 839 </property> 840 </widget> 841 </item> 842 <item> 843 <spacer> 844 <property name="orientation" > 845 <enum>Qt::Vertical</enum> 846 </property> 847 <property name="sizeType" > 848 <enum>QSizePolicy::Expanding</enum> 849 </property> 850 <property name="sizeHint" > 851 <size> 852 <width>0</width> 853 <height>0</height> 854 </size> 855 </property> 856 </spacer> 857 </item> 858 </layout> 859 </item> 860 </layout> 861 </item> 862 <item> 863 <widget class="Line" name="line42" > 864 <property name="orientation" > 865 <enum>Qt::Horizontal</enum> 866 </property> 867 </widget> 868 </item> 869 <item> 870 <layout class="QHBoxLayout" > 871 <item> 872 <spacer> 873 <property name="orientation" > 874 <enum>Qt::Horizontal</enum> 875 </property> 876 <property name="sizeHint" > 877 <size> 878 <width>0</width> 879 <height>0</height> 880 </size> 881 </property> 882 </spacer> 883 </item> 884 <item> 885 <widget class="QPushButton" name="mBtnBack4" > 886 <property name="text" > 887 <string>< &Back</string> 888 </property> 889 </widget> 890 </item> 891 <item> 892 <widget class="QPushButton" name="mBtnFinish" > 893 <property name="text" > 894 <string>&Finish</string> 895 </property> 896 </widget> 897 </item> 898 <item> 899 <spacer> 900 <property name="orientation" > 901 <enum>Qt::Horizontal</enum> 902 </property> 903 <property name="sizeType" > 904 <enum>QSizePolicy::Fixed</enum> 905 </property> 906 <property name="sizeHint" > 907 <size> 908 <width>5</width> 909 <height>0</height> 910 </size> 911 </property> 912 </spacer> 913 </item> 914 <item> 915 <widget class="QPushButton" name="mBtnCancel4" > 916 <property name="text" > 917 <string>&Cancel</string> 918 </property> 919 </widget> 920 </item> 921 </layout> 922 </item> 923 </layout> 924 </widget> 141 925 </widget> 142 <widget class="QWidget"> 143 <property name="name"> 144 <cstring>pageType</cstring> 145 </property> 146 <attribute name="title"> 147 <string>Virtual Disk Image Type</string> 148 </attribute> 149 <hbox> 150 <property name="name"> 151 <cstring>unnamed</cstring> 152 </property> 153 <property name="spacing"> 154 <number>20</number> 155 </property> 156 <property name="resizeMode"> 157 <enum>Minimum</enum> 158 </property> 159 <widget class="QLabel"> 160 <property name="name"> 161 <cstring>pmType</cstring> 162 </property> 163 <property name="sizePolicy"> 164 <sizepolicy> 165 <hsizetype>4</hsizetype> 166 <vsizetype>5</vsizetype> 167 <horstretch>0</horstretch> 168 <verstretch>0</verstretch> 169 </sizepolicy> 170 </property> 171 <property name="pixmap"> 172 <pixmap>:/vmw_new_harddisk.png</pixmap> 173 </property> 174 <property name="alignment"> 175 <set>AlignTop</set> 176 </property> 177 </widget> 178 <widget class="QLayoutWidget"> 179 <property name="name"> 180 <cstring>layout12</cstring> 181 </property> 182 <vbox> 183 <property name="name"> 184 <cstring>unnamed</cstring> 185 </property> 186 <property name="spacing"> 187 <number>10</number> 188 </property> 189 <widget class="QLabel"> 190 <property name="name"> 191 <cstring>textLabel1_2</cstring> 192 </property> 193 <property name="sizePolicy"> 194 <sizepolicy> 195 <hsizetype>1</hsizetype> 196 <vsizetype>0</vsizetype> 197 <horstretch>0</horstretch> 198 <verstretch>0</verstretch> 199 </sizepolicy> 200 </property> 201 <property name="text"> 202 <string><p>Select the type of virtual hard disk image you want to create.</p> 203 <p>A <b>dynamically expanding image</b> initially occupies a very small amount 204 of space on your physical hard disk. It will grow dynamically (up to 205 the size specified) as the Guest OS claims disk space.</p> 206 <p>A <b>fixed-size image</b> does not grow. It is stored in a file of approximately 207 the same size as the size of the virtual hard disk. The creation of a fixed-size image may take a long 208 time depending on the image size and the write performance of your harddisk.</p></string> 209 </property> 210 <property name="alignment"> 211 <set>WordBreak|AlignTop</set> 212 </property> 213 </widget> 214 <widget class="QButtonGroup"> 215 <property name="name"> 216 <cstring>bgType</cstring> 217 </property> 218 <property name="title"> 219 <string>Image Type</string> 220 </property> 221 <property name="exclusive"> 222 <bool>true</bool> 223 </property> 224 <vbox> 225 <property name="name"> 226 <cstring>unnamed</cstring> 227 </property> 228 <widget class="QRadioButton"> 229 <property name="name"> 230 <cstring>rbDynamicType</cstring> 231 </property> 232 <property name="text"> 233 <string>&Dynamically expanding image</string> 234 </property> 235 <property name="checked"> 236 <bool>true</bool> 237 </property> 238 </widget> 239 <widget class="QRadioButton"> 240 <property name="name"> 241 <cstring>rbFixedType</cstring> 242 </property> 243 <property name="text"> 244 <string>&Fixed-size image</string> 245 </property> 246 </widget> 247 </vbox> 248 </widget> 249 <spacer> 250 <property name="name"> 251 <cstring>spacer10</cstring> 252 </property> 253 <property name="orientation"> 254 <enum>Vertical</enum> 255 </property> 256 <property name="sizeType"> 257 <enum>Expanding</enum> 258 </property> 259 <property name="sizeHint"> 260 <size> 261 <width>0</width> 262 <height>0</height> 263 </size> 264 </property> 265 </spacer> 266 </vbox> 267 </widget> 268 </hbox> 269 </widget> 270 <widget class="QWidget"> 271 <property name="name"> 272 <cstring>pageNameAndSize</cstring> 273 </property> 274 <attribute name="title"> 275 <string>Virtual Disk Location and Size</string> 276 </attribute> 277 <grid> 278 <property name="name"> 279 <cstring>unnamed</cstring> 280 </property> 281 <property name="spacing"> 282 <number>20</number> 283 </property> 284 <widget class="QLabel" row="0" column="0"> 285 <property name="name"> 286 <cstring>pmNameAndSize</cstring> 287 </property> 288 <property name="sizePolicy"> 289 <sizepolicy> 290 <hsizetype>4</hsizetype> 291 <vsizetype>5</vsizetype> 292 <horstretch>0</horstretch> 293 <verstretch>0</verstretch> 294 </sizepolicy> 295 </property> 296 <property name="pixmap"> 297 <pixmap>:/vmw_new_harddisk.png</pixmap> 298 </property> 299 <property name="alignment"> 300 <set>AlignTop</set> 301 </property> 302 </widget> 303 <widget class="QLayoutWidget" row="0" column="1"> 304 <property name="name"> 305 <cstring>layout36</cstring> 306 </property> 307 <vbox> 308 <property name="name"> 309 <cstring>unnamed</cstring> 310 </property> 311 <property name="spacing"> 312 <number>10</number> 313 </property> 314 <widget class="QLabel"> 315 <property name="name"> 316 <cstring>txNameComment</cstring> 317 </property> 318 <property name="sizePolicy"> 319 <sizepolicy> 320 <hsizetype>1</hsizetype> 321 <vsizetype>0</vsizetype> 322 <horstretch>0</horstretch> 323 <verstretch>0</verstretch> 324 </sizepolicy> 325 </property> 326 <property name="text"> 327 <string><p>Press the <b>Select</b> button to select the location and name of the file 328 to store the virtual hard disk image or type a file name in the entry field.</p></string> 329 </property> 330 <property name="alignment"> 331 <set>WordBreak|AlignTop</set> 332 </property> 333 </widget> 334 <widget class="QGroupBox"> 335 <property name="name"> 336 <cstring>groupBox1</cstring> 337 </property> 338 <property name="title"> 339 <string>&Image File Name</string> 340 </property> 341 <hbox> 342 <property name="name"> 343 <cstring>unnamed</cstring> 344 </property> 345 <widget class="QLineEdit"> 346 <property name="name"> 347 <cstring>leName</cstring> 348 </property> 349 <property name="frameShape"> 350 <enum>LineEditPanel</enum> 351 </property> 352 <property name="frameShadow"> 353 <enum>Sunken</enum> 354 </property> 355 </widget> 356 <widget class="QToolButton"> 357 <property name="name"> 358 <cstring>tbNameSelect</cstring> 359 </property> 360 <property name="focusPolicy"> 361 <enum>TabFocus</enum> 362 </property> 363 <property name="text"> 364 <string></string> 365 </property> 366 <property name="iconSet"> 367 <iconset>:/select_file_16px.png</iconset> 368 </property> 369 <property name="textLabel"> 370 <string>Select</string> 371 </property> 372 <property name="autoRaise"> 373 <bool>true</bool> 374 </property> 375 </widget> 376 </hbox> 377 </widget> 378 <widget class="QLabel"> 379 <property name="name"> 380 <cstring>txSizeComment</cstring> 381 </property> 382 <property name="sizePolicy"> 383 <sizepolicy> 384 <hsizetype>1</hsizetype> 385 <vsizetype>0</vsizetype> 386 <horstretch>0</horstretch> 387 <verstretch>0</verstretch> 388 </sizepolicy> 389 </property> 390 <property name="text"> 391 <string><p>Select the size of the virtual hard disk image in megabytes. This size will be reported to the Guest OS 392 as the size of the virtual hard disk.</p></string> 393 </property> 394 <property name="alignment"> 395 <set>WordBreak|AlignTop</set> 396 </property> 397 </widget> 398 <widget class="QGroupBox"> 399 <property name="name"> 400 <cstring>groupBox3</cstring> 401 </property> 402 <property name="title"> 403 <string>Image &Size</string> 404 </property> 405 <hbox> 406 <property name="name"> 407 <cstring>unnamed</cstring> 408 </property> 409 <widget class="QLayoutWidget"> 410 <property name="name"> 411 <cstring>layout15_2</cstring> 412 </property> 413 <vbox> 414 <property name="name"> 415 <cstring>unnamed</cstring> 416 </property> 417 <property name="spacing"> 418 <number>0</number> 419 </property> 420 <widget class="QSlider"> 421 <property name="name"> 422 <cstring>slSize</cstring> 423 </property> 424 <property name="sizePolicy"> 425 <sizepolicy> 426 <hsizetype>7</hsizetype> 427 <vsizetype>0</vsizetype> 428 <horstretch>10</horstretch> 429 <verstretch>0</verstretch> 430 </sizepolicy> 431 </property> 432 <property name="minValue"> 433 <number>4</number> 434 </property> 435 <property name="maxValue"> 436 <number>384</number> 437 </property> 438 <property name="lineStep"> 439 <number>4</number> 440 </property> 441 <property name="pageStep"> 442 <number>32</number> 443 </property> 444 <property name="orientation"> 445 <enum>Horizontal</enum> 446 </property> 447 <property name="tickmarks"> 448 <enum>Below</enum> 449 </property> 450 <property name="tickInterval"> 451 <number>32</number> 452 </property> 453 </widget> 454 <widget class="QLayoutWidget"> 455 <property name="name"> 456 <cstring>layout14_2</cstring> 457 </property> 458 <hbox> 459 <property name="name"> 460 <cstring>unnamed</cstring> 461 </property> 462 <widget class="QLabel"> 463 <property name="name"> 464 <cstring>txSizeMin</cstring> 465 </property> 466 <property name="alignment"> 467 <set>WordBreak|AlignVCenter|AlignLeft</set> 468 </property> 469 </widget> 470 <spacer> 471 <property name="name"> 472 <cstring>spacer8_2</cstring> 473 </property> 474 <property name="orientation"> 475 <enum>Horizontal</enum> 476 </property> 477 <property name="sizeType"> 478 <enum>Expanding</enum> 479 </property> 480 <property name="sizeHint"> 481 <size> 482 <width>40</width> 483 <height>20</height> 484 </size> 485 </property> 486 </spacer> 487 <widget class="QLabel"> 488 <property name="name"> 489 <cstring>txSizeMax</cstring> 490 </property> 491 <property name="alignment"> 492 <set>WordBreak|AlignVCenter|AlignRight</set> 493 </property> 494 </widget> 495 </hbox> 496 </widget> 497 </vbox> 498 </widget> 499 <widget class="QLayoutWidget"> 500 <property name="name"> 501 <cstring>layout8</cstring> 502 </property> 503 <vbox> 504 <property name="name"> 505 <cstring>unnamed</cstring> 506 </property> 507 <widget class="QLineEdit"> 508 <property name="name"> 509 <cstring>leSize</cstring> 510 </property> 511 <property name="sizePolicy"> 512 <sizepolicy> 513 <hsizetype>4</hsizetype> 514 <vsizetype>0</vsizetype> 515 <horstretch>0</horstretch> 516 <verstretch>0</verstretch> 517 </sizepolicy> 518 </property> 519 </widget> 520 <spacer> 521 <property name="name"> 522 <cstring>spacer9_2</cstring> 523 </property> 524 <property name="orientation"> 525 <enum>Vertical</enum> 526 </property> 527 <property name="sizeType"> 528 <enum>Minimum</enum> 529 </property> 530 <property name="sizeHint"> 531 <size> 532 <width>20</width> 533 <height>16</height> 534 </size> 535 </property> 536 </spacer> 537 </vbox> 538 </widget> 539 </hbox> 540 </widget> 541 <spacer> 542 <property name="name"> 543 <cstring>spacer37</cstring> 544 </property> 545 <property name="orientation"> 546 <enum>Vertical</enum> 547 </property> 548 <property name="sizeType"> 549 <enum>Expanding</enum> 550 </property> 551 <property name="sizeHint"> 552 <size> 553 <width>0</width> 554 <height>0</height> 555 </size> 556 </property> 557 </spacer> 558 </vbox> 559 </widget> 560 </grid> 561 </widget> 562 <widget class="QWidget"> 563 <property name="name"> 564 <cstring>pageSummary</cstring> 565 </property> 566 <attribute name="title"> 567 <string>Summary</string> 568 </attribute> 569 <hbox> 570 <property name="name"> 571 <cstring>unnamed</cstring> 572 </property> 573 <property name="spacing"> 574 <number>20</number> 575 </property> 576 <property name="resizeMode"> 577 <enum>Minimum</enum> 578 </property> 579 <widget class="QLabel"> 580 <property name="name"> 581 <cstring>pmSummary</cstring> 582 </property> 583 <property name="sizePolicy"> 584 <sizepolicy> 585 <hsizetype>4</hsizetype> 586 <vsizetype>5</vsizetype> 587 <horstretch>0</horstretch> 588 <verstretch>0</verstretch> 589 </sizepolicy> 590 </property> 591 <property name="pixmap"> 592 <pixmap>:/vmw_new_harddisk.png</pixmap> 593 </property> 594 <property name="alignment"> 595 <set>AlignTop</set> 596 </property> 597 </widget> 598 <widget class="QLayoutWidget"> 599 <property name="name"> 600 <cstring>summaryLayout</cstring> 601 </property> 602 <vbox> 603 <property name="name"> 604 <cstring>unnamed</cstring> 605 </property> 606 <property name="spacing"> 607 <number>15</number> 608 </property> 609 <widget class="QLabel"> 610 <property name="name"> 611 <cstring>txSummaryHdr</cstring> 612 </property> 613 <property name="sizePolicy"> 614 <sizepolicy> 615 <hsizetype>1</hsizetype> 616 <vsizetype>0</vsizetype> 617 <horstretch>0</horstretch> 618 <verstretch>0</verstretch> 619 </sizepolicy> 620 </property> 621 <property name="text"> 622 <string>You are going to create a new virtual hard disk image with the following parameters:</string> 623 </property> 624 <property name="alignment"> 625 <set>WordBreak|AlignTop</set> 626 </property> 627 </widget> 628 <widget class="QLabel"> 629 <property name="name"> 630 <cstring>txSummaryFtr</cstring> 631 </property> 632 <property name="sizePolicy"> 633 <sizepolicy> 634 <hsizetype>1</hsizetype> 635 <vsizetype>0</vsizetype> 636 <horstretch>0</horstretch> 637 <verstretch>0</verstretch> 638 </sizepolicy> 639 </property> 640 <property name="text"> 641 <string>If the above settings are correct, press the <b>Finish</b> button. 642 Once you press it, a new hard disk image will be created. 643 </string> 644 </property> 645 <property name="alignment"> 646 <set>WordBreak|AlignTop</set> 647 </property> 648 </widget> 649 <spacer> 650 <property name="name"> 651 <cstring>spacer45</cstring> 652 </property> 653 <property name="orientation"> 654 <enum>Vertical</enum> 655 </property> 656 <property name="sizeType"> 657 <enum>Expanding</enum> 658 </property> 659 <property name="sizeHint"> 660 <size> 661 <width>0</width> 662 <height>0</height> 663 </size> 664 </property> 665 </spacer> 666 </vbox> 667 </widget> 668 </hbox> 669 </widget> 670 </widget> 671 <connections> 672 <connection> 673 <sender>tbNameSelect</sender> 674 <signal>clicked()</signal> 675 <receiver>VBoxNewHDWzd</receiver> 676 <slot>tbNameSelect_clicked()</slot> 677 </connection> 678 <connection> 679 <sender>slSize</sender> 680 <signal>valueChanged(int)</signal> 681 <receiver>VBoxNewHDWzd</receiver> 682 <slot>slSize_valueChanged(int)</slot> 683 </connection> 684 <connection> 685 <sender>leSize</sender> 686 <signal>textChanged(const QString&)</signal> 687 <receiver>VBoxNewHDWzd</receiver> 688 <slot>leSize_textChanged(const QString&)</slot> 689 </connection> 690 </connections> 691 <tabstops> 692 <tabstop>leName</tabstop> 693 <tabstop>tbNameSelect</tabstop> 694 <tabstop>slSize</tabstop> 695 <tabstop>leSize</tabstop> 696 </tabstops> 697 <includes> 698 <include location="local" impldecl="in declaration">qfiledialog.h</include> 699 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include> 700 <include location="local" impldecl="in declaration">COMDefs.h</include> 701 <include location="local" impldecl="in implementation">VBoxUtils.h</include> 702 <include location="local" impldecl="in implementation">VBoxGlobal.h</include> 703 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include> 704 <include location="global" impldecl="in implementation">qvalidator.h</include> 705 <include location="global" impldecl="in implementation">qlocale.h</include> 706 </includes> 707 <forwards> 708 <forward>class QITextEdit</forward> 709 </forwards> 710 <variables> 711 <variable access="private">QIWidgetValidator *wvalNameAndSize;</variable> 712 <variable access="private">CHardDisk chd;</variable> 713 <variable access="private">int sliderScale;</variable> 714 <variable access="private">Q_UINT64 maxVDISize;</variable> 715 <variable access="private">Q_UINT64 currentSize;</variable> 716 <variable access="private">QITextEdit *teSummary;</variable> 717 </variables> 718 <slots> 719 <slot>enableNext( const QIWidgetValidator * wval )</slot> 720 <slot>revalidate( QIWidgetValidator * )</slot> 721 <slot>slSize_valueChanged( int val )</slot> 722 <slot>leSize_textChanged( const QString & text )</slot> 723 <slot>tbNameSelect_clicked()</slot> 724 </slots> 725 <functions> 726 <function access="private">init()</function> 727 <function access="private">showEvent( QShowEvent * )</function> 728 <function>setRecommendedFileName( const QString & aName )</function> 729 <function>setRecommendedSize( Q_UINT64 aSize )</function> 730 <function returnType="QString">imageFileName()</function> 731 <function returnType="Q_UINT64">imageSize()</function> 732 <function returnType="bool">isDynamicImage()</function> 733 <function returnType="CHardDisk">hardDisk() { return chd; }</function> 734 <function>showPage( QWidget * page )</function> 735 <function>updateSizeToolTip (Q_UINT64)</function> 736 <function>accept()</function> 737 <function access="private" returnType="bool">createHardDisk()</function> 738 </functions> 739 <pixmapinproject/> 740 <layoutdefaults spacing="6" margin="11"/> 741 </UI> 926 </item> 927 </layout> 928 </widget> 929 <customwidgets> 930 <customwidget> 931 <class>QILabel</class> 932 <extends>QLabel</extends> 933 <header>QIAbstractWizardFramework.h</header> 934 </customwidget> 935 <customwidget> 936 <class>QITextEdit</class> 937 <extends>QTextEdit</extends> 938 <header>QIAbstractWizardFramework.h</header> 939 </customwidget> 940 </customwidgets> 941 <tabstops> 942 <tabstop>mBtnNext1</tabstop> 943 <tabstop>mBtnCancel1</tabstop> 944 <tabstop>mBtnBack2</tabstop> 945 <tabstop>mBtnNext2</tabstop> 946 <tabstop>mBtnCancel2</tabstop> 947 <tabstop>mSlSize</tabstop> 948 <tabstop>mLeSize</tabstop> 949 <tabstop>mBtnBack3</tabstop> 950 <tabstop>mBtnNext3</tabstop> 951 <tabstop>mBtnCancel3</tabstop> 952 <tabstop>mBtnBack4</tabstop> 953 <tabstop>mBtnFinish</tabstop> 954 <tabstop>mBtnCancel4</tabstop> 955 </tabstops> 956 <resources> 957 <include location="../VirtualBox.qrc" /> 958 </resources> 959 <connections/> 960 </ui> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxNewVMWzd.ui
r7235 r7447 1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>VBoxNewVMWzd</class> 3 <comment> 4 5 :mode=html:tabSize=4:indentSize=4:noTabs=true: 6 :folding=explicit:collapseFolds=1: 7 8 Copyright (C) 2006-2007 innotek GmbH 9 10 This file is part of VirtualBox Open Source Edition (OSE), as 11 available from http://www.virtualbox.org. This file is free software; 12 you can redistribute it and/or modify it under the terms of the GNU 13 General Public License (GPL) as published by the Free Software 14 Foundation, in version 2 as it comes in the "COPYING" file of the 15 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 16 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 17 </comment> 18 <widget class="QWizard"> 19 <property name="name"> 20 <cstring>VBoxNewVMWzd</cstring> 21 </property> 22 <property name="geometry"> 23 <rect> 24 <x>0</x> 25 <y>0</y> 26 <width>571</width> 27 <height>465</height> 28 </rect> 29 </property> 30 <property name="caption"> 31 <string>Create New Virtual Machine</string> 32 </property> 33 <property name="titleFont"> 34 <font> 35 <family>Arial</family> 36 <pointsize>12</pointsize> 37 <bold>1</bold> 38 </font> 39 </property> 40 <widget class="QWidget"> 41 <property name="name"> 42 <cstring>pageWelcome</cstring> 43 </property> 44 <attribute name="title"> 45 <string>Welcome to the New Virtual Machine Wizard!</string> 46 </attribute> 47 <hbox> 48 <property name="name"> 49 <cstring>unnamed</cstring> 50 </property> 51 <property name="spacing"> 52 <number>20</number> 53 </property> 54 <widget class="QLabel"> 55 <property name="name"> 56 <cstring>pmWelcome</cstring> 57 </property> 58 <property name="sizePolicy"> 59 <sizepolicy> 60 <hsizetype>4</hsizetype> 61 <vsizetype>5</vsizetype> 62 <horstretch>0</horstretch> 63 <verstretch>0</verstretch> 64 </sizepolicy> 65 </property> 66 <property name="pixmap"> 67 <pixmap>:/vmw_new_welcome.png</pixmap> 68 </property> 69 <property name="alignment"> 70 <set>AlignTop</set> 71 </property> 1 <ui version="4.0" > 2 <class>VBoxNewVMWzd</class> 3 <widget class="QDialog" name="VBoxNewVMWzd" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>516</width> 9 <height>417</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>Create New Virtual Machine</string> 14 </property> 15 <layout class="QVBoxLayout" > 16 <property name="leftMargin" > 17 <number>0</number> 18 </property> 19 <property name="topMargin" > 20 <number>0</number> 21 </property> 22 <property name="rightMargin" > 23 <number>0</number> 24 </property> 25 <property name="bottomMargin" > 26 <number>0</number> 27 </property> 28 <item> 29 <widget class="QStackedWidget" name="mPageStack" > 30 <property name="currentIndex" > 31 <number>0</number> 32 </property> 33 <widget class="QWidget" name="mPageWelcome" > 34 <layout class="QVBoxLayout" > 35 <item> 36 <widget class="QLabel" name="mPageWelcomeHdr" > 37 <property name="font" > 38 <font> 39 <family>Arial</family> 40 <pointsize>12</pointsize> 41 <weight>75</weight> 42 <bold>true</bold> 43 </font> 44 </property> 45 <property name="text" > 46 <string>Welcome to the New Virtual Machine Wizard!</string> 47 </property> 48 </widget> 49 </item> 50 <item> 51 <widget class="Line" name="line11" > 52 <property name="orientation" > 53 <enum>Qt::Horizontal</enum> 54 </property> 55 </widget> 56 </item> 57 <item> 58 <layout class="QHBoxLayout" > 59 <property name="spacing" > 60 <number>10</number> 61 </property> 62 <item> 63 <widget class="QLabel" name="mLogoWelcome" > 64 <property name="sizePolicy" > 65 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 66 <horstretch>0</horstretch> 67 <verstretch>0</verstretch> 68 </sizepolicy> 69 </property> 70 <property name="autoFillBackground" > 71 <bool>true</bool> 72 </property> 73 <property name="text" > 74 <string/> 75 </property> 76 <property name="pixmap" > 77 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_welcome.png</pixmap> 78 </property> 79 <property name="alignment" > 80 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 81 </property> 82 </widget> 83 </item> 84 <item> 85 <layout class="QVBoxLayout" > 86 <property name="spacing" > 87 <number>10</number> 88 </property> 89 <item> 90 <widget class="QILabel" name="mTextWelcome" > 91 <property name="sizePolicy" > 92 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 93 <horstretch>0</horstretch> 94 <verstretch>0</verstretch> 95 </sizepolicy> 96 </property> 97 <property name="minimumSize" > 98 <size> 99 <width>300</width> 100 <height>0</height> 101 </size> 102 </property> 103 <property name="text" > 104 <string><p>This wizard will guide you through the steps that are necessary to create a new virtual machine for VirtualBox.</p><p>Use the <b>Next</b> button to go the next page of the wizard and the <b>Back</b> button to return to the previous page.</p></string> 105 </property> 106 <property name="wordWrap" > 107 <bool>true</bool> 108 </property> 72 109 </widget> 73 <widget class="QLayoutWidget"> 74 <property name="name"> 75 <cstring>layout74</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>txWelcome</cstring> 84 </property> 85 <property name="sizePolicy"> 86 <sizepolicy> 87 <hsizetype>1</hsizetype> 88 <vsizetype>0</vsizetype> 89 <horstretch>0</horstretch> 90 <verstretch>0</verstretch> 91 </sizepolicy> 92 </property> 93 <property name="text"> 94 <string><p>This wizard will guide you through the steps that are necessary to create 95 a new virtual machine for VirtualBox.</p> 96 <p>Use the <b>Next</b> button to go the next page of the wizard 97 and the <b>Back</b> button to return to the previous page.</p></string> 98 </property> 99 <property name="alignment"> 100 <set>WordBreak|AlignTop</set> 101 </property> 102 </widget> 103 <spacer> 104 <property name="name"> 105 <cstring>spacer21</cstring> 106 </property> 107 <property name="orientation"> 108 <enum>Vertical</enum> 109 </property> 110 <property name="sizeType"> 111 <enum>Expanding</enum> 112 </property> 113 <property name="sizeHint"> 114 <size> 115 <width>0</width> 116 <height>0</height> 117 </size> 118 </property> 119 </spacer> 120 <spacer> 121 <property name="name"> 122 <cstring>widthSpacer</cstring> 123 </property> 124 <property name="orientation"> 125 <enum>Horizontal</enum> 126 </property> 127 <property name="sizeType"> 128 <enum>MinimumExpanding</enum> 129 </property> 130 <property name="sizeHint"> 131 <size> 132 <width>400</width> 133 <height>1</height> 134 </size> 135 </property> 136 </spacer> 137 </vbox> 110 </item> 111 <item> 112 <spacer> 113 <property name="orientation" > 114 <enum>Qt::Vertical</enum> 115 </property> 116 <property name="sizeHint" > 117 <size> 118 <width>0</width> 119 <height>0</height> 120 </size> 121 </property> 122 </spacer> 123 </item> 124 </layout> 125 </item> 126 </layout> 127 </item> 128 <item> 129 <widget class="Line" name="line12" > 130 <property name="orientation" > 131 <enum>Qt::Horizontal</enum> 132 </property> 133 </widget> 134 </item> 135 <item> 136 <layout class="QHBoxLayout" > 137 <item> 138 <spacer> 139 <property name="orientation" > 140 <enum>Qt::Horizontal</enum> 141 </property> 142 <property name="sizeHint" > 143 <size> 144 <width>0</width> 145 <height>0</height> 146 </size> 147 </property> 148 </spacer> 149 </item> 150 <item> 151 <widget class="QPushButton" name="mBtnBack1" > 152 <property name="enabled" > 153 <bool>false</bool> 154 </property> 155 <property name="text" > 156 <string>< &Back</string> 157 </property> 158 </widget> 159 </item> 160 <item> 161 <widget class="QPushButton" name="mBtnNext1" > 162 <property name="text" > 163 <string>&Next ></string> 164 </property> 165 </widget> 166 </item> 167 <item> 168 <spacer> 169 <property name="orientation" > 170 <enum>Qt::Horizontal</enum> 171 </property> 172 <property name="sizeType" > 173 <enum>QSizePolicy::Fixed</enum> 174 </property> 175 <property name="sizeHint" > 176 <size> 177 <width>5</width> 178 <height>0</height> 179 </size> 180 </property> 181 </spacer> 182 </item> 183 <item> 184 <widget class="QPushButton" name="mBtnCancel1" > 185 <property name="text" > 186 <string>&Cancel</string> 187 </property> 188 </widget> 189 </item> 190 </layout> 191 </item> 192 </layout> 193 </widget> 194 <widget class="QWidget" name="mPageNameAndOS" > 195 <layout class="QVBoxLayout" > 196 <item> 197 <widget class="QLabel" name="mPageNameAndOSHdr" > 198 <property name="font" > 199 <font> 200 <family>Arial</family> 201 <pointsize>12</pointsize> 202 <weight>75</weight> 203 <bold>true</bold> 204 </font> 205 </property> 206 <property name="text" > 207 <string>VM Name and OS Type</string> 208 </property> 209 </widget> 210 </item> 211 <item> 212 <widget class="Line" name="line21" > 213 <property name="orientation" > 214 <enum>Qt::Horizontal</enum> 215 </property> 216 </widget> 217 </item> 218 <item> 219 <layout class="QHBoxLayout" > 220 <property name="spacing" > 221 <number>10</number> 222 </property> 223 <item> 224 <widget class="QLabel" name="mLogoNameAndOS" > 225 <property name="sizePolicy" > 226 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 227 <horstretch>0</horstretch> 228 <verstretch>0</verstretch> 229 </sizepolicy> 230 </property> 231 <property name="autoFillBackground" > 232 <bool>true</bool> 233 </property> 234 <property name="text" > 235 <string/> 236 </property> 237 <property name="pixmap" > 238 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_welcome.png</pixmap> 239 </property> 240 <property name="alignment" > 241 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 242 </property> 243 </widget> 244 </item> 245 <item> 246 <layout class="QVBoxLayout" > 247 <property name="spacing" > 248 <number>10</number> 249 </property> 250 <item> 251 <widget class="QILabel" name="mTextNameAndOS" > 252 <property name="sizePolicy" > 253 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 254 <horstretch>0</horstretch> 255 <verstretch>0</verstretch> 256 </sizepolicy> 257 </property> 258 <property name="minimumSize" > 259 <size> 260 <width>300</width> 261 <height>0</height> 262 </size> 263 </property> 264 <property name="text" > 265 <string><p>Enter a name for the new virtual machine and select the type of the guest operating system you plan to install onto the virtual machine.</p><p>The name of the virtual machine usually indicates its software and hardware configuration. It will be used by all VirtualBox components to identify your virtual machine.</p></string> 266 </property> 267 <property name="wordWrap" > 268 <bool>true</bool> 269 </property> 138 270 </widget> 139 </hbox> 271 </item> 272 <item> 273 <widget class="QGroupBox" name="gbName" > 274 <property name="sizePolicy" > 275 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 276 <horstretch>0</horstretch> 277 <verstretch>0</verstretch> 278 </sizepolicy> 279 </property> 280 <property name="title" > 281 <string>N&ame</string> 282 </property> 283 <layout class="QHBoxLayout" > 284 <property name="spacing" > 285 <number>0</number> 286 </property> 287 <property name="leftMargin" > 288 <number>9</number> 289 </property> 290 <property name="topMargin" > 291 <number>4</number> 292 </property> 293 <property name="rightMargin" > 294 <number>9</number> 295 </property> 296 <property name="bottomMargin" > 297 <number>9</number> 298 </property> 299 <item> 300 <widget class="QLineEdit" name="mLeName" /> 301 </item> 302 </layout> 303 </widget> 304 </item> 305 <item> 306 <widget class="QGroupBox" name="gbOSType" > 307 <property name="sizePolicy" > 308 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 309 <horstretch>0</horstretch> 310 <verstretch>0</verstretch> 311 </sizepolicy> 312 </property> 313 <property name="title" > 314 <string>OS &Type</string> 315 </property> 316 <layout class="QHBoxLayout" > 317 <property name="topMargin" > 318 <number>4</number> 319 </property> 320 <item> 321 <layout class="QVBoxLayout" > 322 <property name="spacing" > 323 <number>0</number> 324 </property> 325 <item> 326 <widget class="QComboBox" name="mCbOS" > 327 <property name="sizePolicy" > 328 <sizepolicy vsizetype="Fixed" hsizetype="Minimum" > 329 <horstretch>0</horstretch> 330 <verstretch>0</verstretch> 331 </sizepolicy> 332 </property> 333 </widget> 334 </item> 335 <item> 336 <spacer> 337 <property name="orientation" > 338 <enum>Qt::Vertical</enum> 339 </property> 340 <property name="sizeType" > 341 <enum>QSizePolicy::Expanding</enum> 342 </property> 343 <property name="sizeHint" > 344 <size> 345 <width>0</width> 346 <height>0</height> 347 </size> 348 </property> 349 </spacer> 350 </item> 351 </layout> 352 </item> 353 <item> 354 <spacer> 355 <property name="orientation" > 356 <enum>Qt::Horizontal</enum> 357 </property> 358 <property name="sizeHint" > 359 <size> 360 <width>0</width> 361 <height>0</height> 362 </size> 363 </property> 364 </spacer> 365 </item> 366 <item> 367 <widget class="QLabel" name="mPmOS" > 368 <property name="text" > 369 <string/> 370 </property> 371 <property name="alignment" > 372 <set>Qt::AlignHCenter|Qt::AlignTop</set> 373 </property> 374 </widget> 375 </item> 376 </layout> 377 </widget> 378 </item> 379 <item> 380 <spacer> 381 <property name="orientation" > 382 <enum>Qt::Vertical</enum> 383 </property> 384 <property name="sizeHint" > 385 <size> 386 <width>0</width> 387 <height>0</height> 388 </size> 389 </property> 390 </spacer> 391 </item> 392 </layout> 393 </item> 394 </layout> 395 </item> 396 <item> 397 <widget class="Line" name="line22" > 398 <property name="orientation" > 399 <enum>Qt::Horizontal</enum> 400 </property> 401 </widget> 402 </item> 403 <item> 404 <layout class="QHBoxLayout" > 405 <item> 406 <spacer> 407 <property name="orientation" > 408 <enum>Qt::Horizontal</enum> 409 </property> 410 <property name="sizeHint" > 411 <size> 412 <width>0</width> 413 <height>0</height> 414 </size> 415 </property> 416 </spacer> 417 </item> 418 <item> 419 <widget class="QPushButton" name="mBtnBack2" > 420 <property name="text" > 421 <string>< &Back</string> 422 </property> 423 </widget> 424 </item> 425 <item> 426 <widget class="QPushButton" name="mBtnNext2" > 427 <property name="text" > 428 <string>&Next ></string> 429 </property> 430 </widget> 431 </item> 432 <item> 433 <spacer> 434 <property name="orientation" > 435 <enum>Qt::Horizontal</enum> 436 </property> 437 <property name="sizeType" > 438 <enum>QSizePolicy::Fixed</enum> 439 </property> 440 <property name="sizeHint" > 441 <size> 442 <width>5</width> 443 <height>0</height> 444 </size> 445 </property> 446 </spacer> 447 </item> 448 <item> 449 <widget class="QPushButton" name="mBtnCancel2" > 450 <property name="text" > 451 <string>&Cancel</string> 452 </property> 453 </widget> 454 </item> 455 </layout> 456 </item> 457 </layout> 458 </widget> 459 <widget class="QWidget" name="mPageMemory" > 460 <layout class="QVBoxLayout" > 461 <item> 462 <widget class="QLabel" name="mPageMemoryHdr" > 463 <property name="font" > 464 <font> 465 <family>Arial</family> 466 <pointsize>12</pointsize> 467 <weight>75</weight> 468 <bold>true</bold> 469 </font> 470 </property> 471 <property name="text" > 472 <string>Memory</string> 473 </property> 474 </widget> 475 </item> 476 <item> 477 <widget class="Line" name="line31" > 478 <property name="orientation" > 479 <enum>Qt::Horizontal</enum> 480 </property> 481 </widget> 482 </item> 483 <item> 484 <layout class="QHBoxLayout" > 485 <property name="spacing" > 486 <number>10</number> 487 </property> 488 <item> 489 <widget class="QLabel" name="mLogoMemory" > 490 <property name="sizePolicy" > 491 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 492 <horstretch>0</horstretch> 493 <verstretch>0</verstretch> 494 </sizepolicy> 495 </property> 496 <property name="autoFillBackground" > 497 <bool>true</bool> 498 </property> 499 <property name="text" > 500 <string/> 501 </property> 502 <property name="pixmap" > 503 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_welcome.png</pixmap> 504 </property> 505 <property name="alignment" > 506 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 507 </property> 508 </widget> 509 </item> 510 <item> 511 <layout class="QVBoxLayout" > 512 <property name="spacing" > 513 <number>10</number> 514 </property> 515 <item> 516 <widget class="QILabel" name="mTextMemory" > 517 <property name="sizePolicy" > 518 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 519 <horstretch>0</horstretch> 520 <verstretch>0</verstretch> 521 </sizepolicy> 522 </property> 523 <property name="minimumSize" > 524 <size> 525 <width>300</width> 526 <height>0</height> 527 </size> 528 </property> 529 <property name="text" > 530 <string><p>Select the amount of base memory (RAM) in megabytes to be allocated to the virtual machine.</p></string> 531 </property> 532 <property name="wordWrap" > 533 <bool>true</bool> 534 </property> 535 </widget> 536 </item> 537 <item> 538 <widget class="QILabel" name="mTextRAMBest" > 539 <property name="sizePolicy" > 540 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 541 <horstretch>0</horstretch> 542 <verstretch>0</verstretch> 543 </sizepolicy> 544 </property> 545 <property name="minimumSize" > 546 <size> 547 <width>300</width> 548 <height>0</height> 549 </size> 550 </property> 551 <property name="text" > 552 <string/> 553 </property> 554 <property name="wordWrap" > 555 <bool>true</bool> 556 </property> 557 </widget> 558 </item> 559 <item> 560 <widget class="QGroupBox" name="gbMemory" > 561 <property name="sizePolicy" > 562 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 563 <horstretch>0</horstretch> 564 <verstretch>0</verstretch> 565 </sizepolicy> 566 </property> 567 <property name="title" > 568 <string>Base &Memory Size</string> 569 </property> 570 <layout class="QGridLayout" > 571 <property name="topMargin" > 572 <number>4</number> 573 </property> 574 <item row="0" column="0" colspan="3" > 575 <widget class="QSlider" name="mSlRAM" > 576 <property name="sizePolicy" > 577 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 578 <horstretch>0</horstretch> 579 <verstretch>0</verstretch> 580 </sizepolicy> 581 </property> 582 <property name="minimumSize" > 583 <size> 584 <width>0</width> 585 <height>0</height> 586 </size> 587 </property> 588 <property name="orientation" > 589 <enum>Qt::Horizontal</enum> 590 </property> 591 <property name="tickPosition" > 592 <enum>QSlider::TicksBelow</enum> 593 </property> 594 </widget> 595 </item> 596 <item row="0" column="3" > 597 <widget class="QLineEdit" name="mLeRAM" > 598 <property name="sizePolicy" > 599 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 600 <horstretch>0</horstretch> 601 <verstretch>0</verstretch> 602 </sizepolicy> 603 </property> 604 </widget> 605 </item> 606 <item row="0" column="4" > 607 <widget class="QLabel" name="txRAM" > 608 <property name="sizePolicy" > 609 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 610 <horstretch>0</horstretch> 611 <verstretch>0</verstretch> 612 </sizepolicy> 613 </property> 614 <property name="text" > 615 <string>MB</string> 616 </property> 617 </widget> 618 </item> 619 <item row="1" column="0" > 620 <widget class="QLabel" name="mTxRAMMin" > 621 <property name="sizePolicy" > 622 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > 623 <horstretch>0</horstretch> 624 <verstretch>0</verstretch> 625 </sizepolicy> 626 </property> 627 <property name="text" > 628 <string/> 629 </property> 630 <property name="alignment" > 631 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 632 </property> 633 </widget> 634 </item> 635 <item row="1" column="2" > 636 <widget class="QLabel" name="mTxRAMMax" > 637 <property name="sizePolicy" > 638 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > 639 <horstretch>0</horstretch> 640 <verstretch>0</verstretch> 641 </sizepolicy> 642 </property> 643 <property name="text" > 644 <string/> 645 </property> 646 <property name="alignment" > 647 <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set> 648 </property> 649 </widget> 650 </item> 651 <item row="1" column="1" > 652 <spacer> 653 <property name="orientation" > 654 <enum>Qt::Horizontal</enum> 655 </property> 656 <property name="sizeHint" > 657 <size> 658 <width>40</width> 659 <height>5</height> 660 </size> 661 </property> 662 </spacer> 663 </item> 664 </layout> 665 </widget> 666 </item> 667 <item> 668 <spacer> 669 <property name="orientation" > 670 <enum>Qt::Vertical</enum> 671 </property> 672 <property name="sizeHint" > 673 <size> 674 <width>0</width> 675 <height>0</height> 676 </size> 677 </property> 678 </spacer> 679 </item> 680 </layout> 681 </item> 682 </layout> 683 </item> 684 <item> 685 <widget class="Line" name="line32" > 686 <property name="orientation" > 687 <enum>Qt::Horizontal</enum> 688 </property> 689 </widget> 690 </item> 691 <item> 692 <layout class="QHBoxLayout" > 693 <item> 694 <spacer> 695 <property name="orientation" > 696 <enum>Qt::Horizontal</enum> 697 </property> 698 <property name="sizeHint" > 699 <size> 700 <width>0</width> 701 <height>0</height> 702 </size> 703 </property> 704 </spacer> 705 </item> 706 <item> 707 <widget class="QPushButton" name="mBtnBack3" > 708 <property name="text" > 709 <string>< &Back</string> 710 </property> 711 </widget> 712 </item> 713 <item> 714 <widget class="QPushButton" name="mBtnNext3" > 715 <property name="text" > 716 <string>&Next ></string> 717 </property> 718 </widget> 719 </item> 720 <item> 721 <spacer> 722 <property name="orientation" > 723 <enum>Qt::Horizontal</enum> 724 </property> 725 <property name="sizeType" > 726 <enum>QSizePolicy::Fixed</enum> 727 </property> 728 <property name="sizeHint" > 729 <size> 730 <width>5</width> 731 <height>0</height> 732 </size> 733 </property> 734 </spacer> 735 </item> 736 <item> 737 <widget class="QPushButton" name="mBtnCancel3" > 738 <property name="text" > 739 <string>&Cancel</string> 740 </property> 741 </widget> 742 </item> 743 </layout> 744 </item> 745 </layout> 746 </widget> 747 <widget class="QWidget" name="mPageHDD" > 748 <layout class="QVBoxLayout" > 749 <item> 750 <widget class="QLabel" name="mPageHDDHdr" > 751 <property name="font" > 752 <font> 753 <family>Arial</family> 754 <pointsize>12</pointsize> 755 <weight>75</weight> 756 <bold>true</bold> 757 </font> 758 </property> 759 <property name="text" > 760 <string>Virtual Hard Disk</string> 761 </property> 762 </widget> 763 </item> 764 <item> 765 <widget class="Line" name="line41" > 766 <property name="orientation" > 767 <enum>Qt::Horizontal</enum> 768 </property> 769 </widget> 770 </item> 771 <item> 772 <layout class="QHBoxLayout" > 773 <property name="spacing" > 774 <number>10</number> 775 </property> 776 <item> 777 <widget class="QLabel" name="mLogoHDD" > 778 <property name="sizePolicy" > 779 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 780 <horstretch>0</horstretch> 781 <verstretch>0</verstretch> 782 </sizepolicy> 783 </property> 784 <property name="autoFillBackground" > 785 <bool>true</bool> 786 </property> 787 <property name="text" > 788 <string/> 789 </property> 790 <property name="pixmap" > 791 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_welcome.png</pixmap> 792 </property> 793 <property name="alignment" > 794 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 795 </property> 796 </widget> 797 </item> 798 <item> 799 <layout class="QVBoxLayout" > 800 <property name="spacing" > 801 <number>10</number> 802 </property> 803 <item> 804 <widget class="QILabel" name="mTextVDI" > 805 <property name="sizePolicy" > 806 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 807 <horstretch>0</horstretch> 808 <verstretch>0</verstretch> 809 </sizepolicy> 810 </property> 811 <property name="minimumSize" > 812 <size> 813 <width>300</width> 814 <height>0</height> 815 </size> 816 </property> 817 <property name="text" > 818 <string><p>Select a hard disk image to be used as the boot hard disk of the virtual machine. You can either create a new hard disk using the <b>New</b> button or select an existing hard disk image from the drop-down list or by pressing the <b>Existing</b> button (to invoke the Virtual Disk Manager dialog).</p><p>If you need a more complicated hard disk setup, you can also skip this step and attach hard disks later using the VM Settings dialog.</p></string> 819 </property> 820 <property name="wordWrap" > 821 <bool>true</bool> 822 </property> 823 </widget> 824 </item> 825 <item> 826 <widget class="QILabel" name="mTextVDIBest" > 827 <property name="sizePolicy" > 828 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 829 <horstretch>0</horstretch> 830 <verstretch>0</verstretch> 831 </sizepolicy> 832 </property> 833 <property name="minimumSize" > 834 <size> 835 <width>300</width> 836 <height>0</height> 837 </size> 838 </property> 839 <property name="text" > 840 <string/> 841 </property> 842 <property name="wordWrap" > 843 <bool>true</bool> 844 </property> 845 </widget> 846 </item> 847 <item> 848 <widget class="QGroupBox" name="grbHDA" > 849 <property name="sizePolicy" > 850 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 851 <horstretch>0</horstretch> 852 <verstretch>0</verstretch> 853 </sizepolicy> 854 </property> 855 <property name="title" > 856 <string>B&oot Hard Disk (Primary Master)</string> 857 </property> 858 <layout class="QGridLayout" > 859 <property name="topMargin" > 860 <number>4</number> 861 </property> 862 <item row="1" column="0" > 863 <widget class="QPushButton" name="mPbNewHD" > 864 <property name="text" > 865 <string>N&ew...</string> 866 </property> 867 </widget> 868 </item> 869 <item row="1" column="1" > 870 <widget class="QPushButton" name="mPbExistingHD" > 871 <property name="text" > 872 <string>E&xisting...</string> 873 </property> 874 </widget> 875 </item> 876 <item row="1" column="2" > 877 <spacer> 878 <property name="orientation" > 879 <enum>Qt::Horizontal</enum> 880 </property> 881 <property name="sizeHint" > 882 <size> 883 <width>0</width> 884 <height>0</height> 885 </size> 886 </property> 887 </spacer> 888 </item> 889 <item row="0" column="0" colspan="3" > 890 <widget class="VBoxMediaComboBox" name="mMediaCombo" > 891 <property name="sizePolicy" > 892 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 893 <horstretch>0</horstretch> 894 <verstretch>0</verstretch> 895 </sizepolicy> 896 </property> 897 </widget> 898 </item> 899 </layout> 900 </widget> 901 </item> 902 <item> 903 <spacer> 904 <property name="orientation" > 905 <enum>Qt::Vertical</enum> 906 </property> 907 <property name="sizeHint" > 908 <size> 909 <width>0</width> 910 <height>0</height> 911 </size> 912 </property> 913 </spacer> 914 </item> 915 </layout> 916 </item> 917 </layout> 918 </item> 919 <item> 920 <widget class="Line" name="line42" > 921 <property name="orientation" > 922 <enum>Qt::Horizontal</enum> 923 </property> 924 </widget> 925 </item> 926 <item> 927 <layout class="QHBoxLayout" > 928 <item> 929 <spacer> 930 <property name="orientation" > 931 <enum>Qt::Horizontal</enum> 932 </property> 933 <property name="sizeHint" > 934 <size> 935 <width>0</width> 936 <height>0</height> 937 </size> 938 </property> 939 </spacer> 940 </item> 941 <item> 942 <widget class="QPushButton" name="mBtnBack4" > 943 <property name="text" > 944 <string>< &Back</string> 945 </property> 946 </widget> 947 </item> 948 <item> 949 <widget class="QPushButton" name="mBtnNext4" > 950 <property name="text" > 951 <string>&Next ></string> 952 </property> 953 </widget> 954 </item> 955 <item> 956 <spacer> 957 <property name="orientation" > 958 <enum>Qt::Horizontal</enum> 959 </property> 960 <property name="sizeType" > 961 <enum>QSizePolicy::Fixed</enum> 962 </property> 963 <property name="sizeHint" > 964 <size> 965 <width>5</width> 966 <height>0</height> 967 </size> 968 </property> 969 </spacer> 970 </item> 971 <item> 972 <widget class="QPushButton" name="mBtnCancel4" > 973 <property name="text" > 974 <string>&Cancel</string> 975 </property> 976 </widget> 977 </item> 978 </layout> 979 </item> 980 </layout> 981 </widget> 982 <widget class="QWidget" name="mPageSummary" > 983 <layout class="QVBoxLayout" > 984 <item> 985 <widget class="QLabel" name="mPageSummaryHdr" > 986 <property name="font" > 987 <font> 988 <family>Arial</family> 989 <pointsize>12</pointsize> 990 <weight>75</weight> 991 <bold>true</bold> 992 </font> 993 </property> 994 <property name="text" > 995 <string>Summary</string> 996 </property> 997 </widget> 998 </item> 999 <item> 1000 <widget class="Line" name="line51" > 1001 <property name="orientation" > 1002 <enum>Qt::Horizontal</enum> 1003 </property> 1004 </widget> 1005 </item> 1006 <item> 1007 <layout class="QHBoxLayout" > 1008 <property name="spacing" > 1009 <number>10</number> 1010 </property> 1011 <item> 1012 <widget class="QLabel" name="mLogoSummary" > 1013 <property name="sizePolicy" > 1014 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 1015 <horstretch>0</horstretch> 1016 <verstretch>0</verstretch> 1017 </sizepolicy> 1018 </property> 1019 <property name="autoFillBackground" > 1020 <bool>true</bool> 1021 </property> 1022 <property name="text" > 1023 <string/> 1024 </property> 1025 <property name="pixmap" > 1026 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_welcome.png</pixmap> 1027 </property> 1028 <property name="alignment" > 1029 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 1030 </property> 1031 </widget> 1032 </item> 1033 <item> 1034 <layout class="QVBoxLayout" > 1035 <property name="spacing" > 1036 <number>10</number> 1037 </property> 1038 <item> 1039 <widget class="QILabel" name="mTextSummaryHdr" > 1040 <property name="sizePolicy" > 1041 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 1042 <horstretch>0</horstretch> 1043 <verstretch>0</verstretch> 1044 </sizepolicy> 1045 </property> 1046 <property name="minimumSize" > 1047 <size> 1048 <width>300</width> 1049 <height>0</height> 1050 </size> 1051 </property> 1052 <property name="text" > 1053 <string><p>You are going to create a new virtual machine with the following parameters:</p></string> 1054 </property> 1055 <property name="wordWrap" > 1056 <bool>true</bool> 1057 </property> 1058 </widget> 1059 </item> 1060 <item> 1061 <widget class="QITextEdit" name="mTeSummary" > 1062 <property name="sizePolicy" > 1063 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 1064 <horstretch>0</horstretch> 1065 <verstretch>0</verstretch> 1066 </sizepolicy> 1067 </property> 1068 <property name="minimumSize" > 1069 <size> 1070 <width>300</width> 1071 <height>0</height> 1072 </size> 1073 </property> 1074 <property name="frameShape" > 1075 <enum>QFrame::NoFrame</enum> 1076 </property> 1077 <property name="autoFormatting" > 1078 <set>QTextEdit::AutoAll</set> 1079 </property> 1080 <property name="readOnly" > 1081 <bool>true</bool> 1082 </property> 1083 </widget> 1084 </item> 1085 <item> 1086 <widget class="QILabel" name="mTextSummaryFtr" > 1087 <property name="sizePolicy" > 1088 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 1089 <horstretch>0</horstretch> 1090 <verstretch>0</verstretch> 1091 </sizepolicy> 1092 </property> 1093 <property name="minimumSize" > 1094 <size> 1095 <width>300</width> 1096 <height>0</height> 1097 </size> 1098 </property> 1099 <property name="text" > 1100 <string><p>If the above is correct press the <b>Finish</b> button. Once you press it, a new virtual machine will be created. </p><p>Note that you can alter these and all other setting of the created virtual machine at any time using the <b>Settings</b> dialog accessible through the menu of the main window.</p></string> 1101 </property> 1102 <property name="wordWrap" > 1103 <bool>true</bool> 1104 </property> 1105 </widget> 1106 </item> 1107 <item> 1108 <spacer> 1109 <property name="orientation" > 1110 <enum>Qt::Vertical</enum> 1111 </property> 1112 <property name="sizeType" > 1113 <enum>QSizePolicy::Expanding</enum> 1114 </property> 1115 <property name="sizeHint" > 1116 <size> 1117 <width>0</width> 1118 <height>0</height> 1119 </size> 1120 </property> 1121 </spacer> 1122 </item> 1123 </layout> 1124 </item> 1125 </layout> 1126 </item> 1127 <item> 1128 <widget class="Line" name="line52" > 1129 <property name="orientation" > 1130 <enum>Qt::Horizontal</enum> 1131 </property> 1132 </widget> 1133 </item> 1134 <item> 1135 <layout class="QHBoxLayout" > 1136 <item> 1137 <spacer> 1138 <property name="orientation" > 1139 <enum>Qt::Horizontal</enum> 1140 </property> 1141 <property name="sizeHint" > 1142 <size> 1143 <width>0</width> 1144 <height>0</height> 1145 </size> 1146 </property> 1147 </spacer> 1148 </item> 1149 <item> 1150 <widget class="QPushButton" name="mBtnBack5" > 1151 <property name="text" > 1152 <string>< &Back</string> 1153 </property> 1154 </widget> 1155 </item> 1156 <item> 1157 <widget class="QPushButton" name="mBtnFinish" > 1158 <property name="text" > 1159 <string>&Finish</string> 1160 </property> 1161 </widget> 1162 </item> 1163 <item> 1164 <spacer> 1165 <property name="orientation" > 1166 <enum>Qt::Horizontal</enum> 1167 </property> 1168 <property name="sizeType" > 1169 <enum>QSizePolicy::Fixed</enum> 1170 </property> 1171 <property name="sizeHint" > 1172 <size> 1173 <width>5</width> 1174 <height>0</height> 1175 </size> 1176 </property> 1177 </spacer> 1178 </item> 1179 <item> 1180 <widget class="QPushButton" name="mBtnCancel5" > 1181 <property name="text" > 1182 <string>&Cancel</string> 1183 </property> 1184 </widget> 1185 </item> 1186 </layout> 1187 </item> 1188 </layout> 1189 </widget> 140 1190 </widget> 141 <widget class="QWidget"> 142 <property name="name"> 143 <cstring>pageNameAndOS</cstring> 144 </property> 145 <attribute name="title"> 146 <string>VM Name and OS Type</string> 147 </attribute> 148 <hbox> 149 <property name="name"> 150 <cstring>unnamed</cstring> 151 </property> 152 <property name="spacing"> 153 <number>20</number> 154 </property> 155 <widget class="QLabel"> 156 <property name="name"> 157 <cstring>pmNameAndOS</cstring> 158 </property> 159 <property name="sizePolicy"> 160 <sizepolicy> 161 <hsizetype>4</hsizetype> 162 <vsizetype>5</vsizetype> 163 <horstretch>0</horstretch> 164 <verstretch>0</verstretch> 165 </sizepolicy> 166 </property> 167 <property name="pixmap"> 168 <pixmap>:/vmw_new_welcome.png</pixmap> 169 </property> 170 <property name="alignment"> 171 <set>AlignTop</set> 172 </property> 173 </widget> 174 <widget class="QLayoutWidget"> 175 <property name="name"> 176 <cstring>layout23</cstring> 177 </property> 178 <vbox> 179 <property name="name"> 180 <cstring>unnamed</cstring> 181 </property> 182 <property name="spacing"> 183 <number>15</number> 184 </property> 185 <widget class="QLabel"> 186 <property name="name"> 187 <cstring>txNameAndOS</cstring> 188 </property> 189 <property name="sizePolicy"> 190 <sizepolicy> 191 <hsizetype>1</hsizetype> 192 <vsizetype>0</vsizetype> 193 <horstretch>0</horstretch> 194 <verstretch>0</verstretch> 195 </sizepolicy> 196 </property> 197 <property name="text"> 198 <string><p>Enter a name for the new virtual machine and select the type of the guest operating 199 system you plan to install onto the virtual machine.</p> 200 <p>The name of the virtual machine usually indicates its software and hardware configuration. 201 It will be used by all VirtualBox components to identify your virtual machine.</p></string> 202 </property> 203 <property name="alignment"> 204 <set>WordBreak|AlignTop</set> 205 </property> 206 </widget> 207 <widget class="QGroupBox"> 208 <property name="name"> 209 <cstring>groupBox22</cstring> 210 </property> 211 <property name="sizePolicy"> 212 <sizepolicy> 213 <hsizetype>1</hsizetype> 214 <vsizetype>0</vsizetype> 215 <horstretch>0</horstretch> 216 <verstretch>0</verstretch> 217 </sizepolicy> 218 </property> 219 <property name="title"> 220 <string>N&ame</string> 221 </property> 222 <hbox> 223 <property name="name"> 224 <cstring>unnamed</cstring> 225 </property> 226 <widget class="QLayoutWidget"> 227 <property name="name"> 228 <cstring>layout100</cstring> 229 </property> 230 <hbox> 231 <property name="name"> 232 <cstring>unnamed</cstring> 233 </property> 234 <widget class="QLineEdit"> 235 <property name="name"> 236 <cstring>leName</cstring> 237 </property> 238 <property name="frameShape"> 239 <enum>LineEditPanel</enum> 240 </property> 241 <property name="frameShadow"> 242 <enum>Sunken</enum> 243 </property> 244 </widget> 245 </hbox> 246 </widget> 247 </hbox> 248 </widget> 249 <widget class="QGroupBox"> 250 <property name="name"> 251 <cstring>groupBox22_2</cstring> 252 </property> 253 <property name="sizePolicy"> 254 <sizepolicy> 255 <hsizetype>1</hsizetype> 256 <vsizetype>0</vsizetype> 257 <horstretch>0</horstretch> 258 <verstretch>0</verstretch> 259 </sizepolicy> 260 </property> 261 <property name="title"> 262 <string>OS &Type</string> 263 </property> 264 <hbox> 265 <property name="name"> 266 <cstring>unnamed</cstring> 267 </property> 268 <widget class="QLayoutWidget"> 269 <property name="name"> 270 <cstring>layout22</cstring> 271 </property> 272 <vbox> 273 <property name="name"> 274 <cstring>unnamed</cstring> 275 </property> 276 <widget class="QLayoutWidget"> 277 <property name="name"> 278 <cstring>layout101</cstring> 279 </property> 280 <hbox> 281 <property name="name"> 282 <cstring>unnamed</cstring> 283 </property> 284 <widget class="QComboBox"> 285 <property name="name"> 286 <cstring>cbOS</cstring> 287 </property> 288 </widget> 289 </hbox> 290 </widget> 291 <spacer> 292 <property name="name"> 293 <cstring>spacer15</cstring> 294 </property> 295 <property name="orientation"> 296 <enum>Vertical</enum> 297 </property> 298 <property name="sizeType"> 299 <enum>Expanding</enum> 300 </property> 301 <property name="sizeHint"> 302 <size> 303 <width>0</width> 304 <height>0</height> 305 </size> 306 </property> 307 </spacer> 308 </vbox> 309 </widget> 310 <spacer> 311 <property name="name"> 312 <cstring>spacer16</cstring> 313 </property> 314 <property name="orientation"> 315 <enum>Horizontal</enum> 316 </property> 317 <property name="sizeType"> 318 <enum>Expanding</enum> 319 </property> 320 <property name="sizeHint"> 321 <size> 322 <width>101</width> 323 <height>20</height> 324 </size> 325 </property> 326 </spacer> 327 <widget class="QLabel"> 328 <property name="name"> 329 <cstring>pmOS</cstring> 330 </property> 331 <property name="sizePolicy"> 332 <sizepolicy> 333 <hsizetype>0</hsizetype> 334 <vsizetype>0</vsizetype> 335 <horstretch>0</horstretch> 336 <verstretch>0</verstretch> 337 </sizepolicy> 338 </property> 339 <property name="lineWidth"> 340 <number>1</number> 341 </property> 342 <property name="pixmap"> 343 <pixmap>:/os_other.png</pixmap> 344 </property> 345 <property name="scaledContents"> 346 <bool>false</bool> 347 </property> 348 <property name="alignment"> 349 <set>AlignBottom</set> 350 </property> 351 </widget> 352 </hbox> 353 </widget> 354 <spacer> 355 <property name="name"> 356 <cstring>spacer37</cstring> 357 </property> 358 <property name="orientation"> 359 <enum>Vertical</enum> 360 </property> 361 <property name="sizeType"> 362 <enum>Expanding</enum> 363 </property> 364 <property name="sizeHint"> 365 <size> 366 <width>0</width> 367 <height>0</height> 368 </size> 369 </property> 370 </spacer> 371 </vbox> 372 </widget> 373 </hbox> 374 </widget> 375 <widget class="QWidget"> 376 <property name="name"> 377 <cstring>pageMemory</cstring> 378 </property> 379 <attribute name="title"> 380 <string>Memory</string> 381 </attribute> 382 <hbox> 383 <property name="name"> 384 <cstring>unnamed</cstring> 385 </property> 386 <property name="spacing"> 387 <number>20</number> 388 </property> 389 <widget class="QLabel"> 390 <property name="name"> 391 <cstring>pmMemory</cstring> 392 </property> 393 <property name="sizePolicy"> 394 <sizepolicy> 395 <hsizetype>4</hsizetype> 396 <vsizetype>5</vsizetype> 397 <horstretch>0</horstretch> 398 <verstretch>0</verstretch> 399 </sizepolicy> 400 </property> 401 <property name="pixmap"> 402 <pixmap>:/vmw_new_welcome.png</pixmap> 403 </property> 404 <property name="alignment"> 405 <set>AlignTop</set> 406 </property> 407 </widget> 408 <widget class="QLayoutWidget"> 409 <property name="name"> 410 <cstring>layout35</cstring> 411 </property> 412 <vbox> 413 <property name="name"> 414 <cstring>unnamed</cstring> 415 </property> 416 <property name="spacing"> 417 <number>15</number> 418 </property> 419 <widget class="QLabel"> 420 <property name="name"> 421 <cstring>textLabel1</cstring> 422 </property> 423 <property name="sizePolicy"> 424 <sizepolicy> 425 <hsizetype>1</hsizetype> 426 <vsizetype>0</vsizetype> 427 <horstretch>0</horstretch> 428 <verstretch>0</verstretch> 429 </sizepolicy> 430 </property> 431 <property name="text"> 432 <string><p>Select the amount of base memory (RAM) in megabytes to be allocated to the virtual machine.</p></string> 433 </property> 434 <property name="alignment"> 435 <set>WordBreak|AlignTop</set> 436 </property> 437 </widget> 438 <widget class="QLabel"> 439 <property name="name"> 440 <cstring>txRAMBest2</cstring> 441 </property> 442 <property name="sizePolicy"> 443 <sizepolicy> 444 <hsizetype>1</hsizetype> 445 <vsizetype>0</vsizetype> 446 <horstretch>0</horstretch> 447 <verstretch>0</verstretch> 448 </sizepolicy> 449 </property> 450 <property name="text"> 451 <string></string> 452 </property> 453 <property name="alignment"> 454 <set>WordBreak|AlignTop</set> 455 </property> 456 </widget> 457 <widget class="QGroupBox"> 458 <property name="name"> 459 <cstring>groupBox2</cstring> 460 </property> 461 <property name="sizePolicy"> 462 <sizepolicy> 463 <hsizetype>5</hsizetype> 464 <vsizetype>0</vsizetype> 465 <horstretch>0</horstretch> 466 <verstretch>0</verstretch> 467 </sizepolicy> 468 </property> 469 <property name="title"> 470 <string>Base &Memory Size</string> 471 </property> 472 <hbox> 473 <property name="name"> 474 <cstring>unnamed</cstring> 475 </property> 476 <widget class="QLayoutWidget"> 477 <property name="name"> 478 <cstring>layout33</cstring> 479 </property> 480 <hbox> 481 <property name="name"> 482 <cstring>unnamed</cstring> 483 </property> 484 <widget class="QLayoutWidget"> 485 <property name="name"> 486 <cstring>layout32</cstring> 487 </property> 488 <vbox> 489 <property name="name"> 490 <cstring>unnamed</cstring> 491 </property> 492 <property name="spacing"> 493 <number>0</number> 494 </property> 495 <widget class="QSlider"> 496 <property name="name"> 497 <cstring>slRAM</cstring> 498 </property> 499 <property name="sizePolicy"> 500 <sizepolicy> 501 <hsizetype>7</hsizetype> 502 <vsizetype>0</vsizetype> 503 <horstretch>10</horstretch> 504 <verstretch>0</verstretch> 505 </sizepolicy> 506 </property> 507 <property name="minValue"> 508 <number>4</number> 509 </property> 510 <property name="maxValue"> 511 <number>384</number> 512 </property> 513 <property name="lineStep"> 514 <number>4</number> 515 </property> 516 <property name="pageStep"> 517 <number>32</number> 518 </property> 519 <property name="orientation"> 520 <enum>Horizontal</enum> 521 </property> 522 <property name="tickmarks"> 523 <enum>Below</enum> 524 </property> 525 <property name="tickInterval"> 526 <number>32</number> 527 </property> 528 </widget> 529 <widget class="QLayoutWidget"> 530 <property name="name"> 531 <cstring>layout31</cstring> 532 </property> 533 <hbox> 534 <property name="name"> 535 <cstring>unnamed</cstring> 536 </property> 537 <widget class="QLabel"> 538 <property name="name"> 539 <cstring>txRAMMin</cstring> 540 </property> 541 <property name="text"> 542 <string><</string> 543 </property> 544 <property name="alignment"> 545 <set>WordBreak|AlignVCenter|AlignLeft</set> 546 </property> 547 </widget> 548 <spacer> 549 <property name="name"> 550 <cstring>spacer8_2</cstring> 551 </property> 552 <property name="orientation"> 553 <enum>Horizontal</enum> 554 </property> 555 <property name="sizeType"> 556 <enum>Expanding</enum> 557 </property> 558 <property name="sizeHint"> 559 <size> 560 <width>60</width> 561 <height>20</height> 562 </size> 563 </property> 564 </spacer> 565 <widget class="QLabel"> 566 <property name="name"> 567 <cstring>txRAMBest</cstring> 568 </property> 569 <property name="text"> 570 <string>=</string> 571 </property> 572 <property name="alignment"> 573 <set>AlignCenter</set> 574 </property> 575 </widget> 576 <spacer> 577 <property name="name"> 578 <cstring>spacer8_3</cstring> 579 </property> 580 <property name="orientation"> 581 <enum>Horizontal</enum> 582 </property> 583 <property name="sizeType"> 584 <enum>Expanding</enum> 585 </property> 586 <property name="sizeHint"> 587 <size> 588 <width>60</width> 589 <height>20</height> 590 </size> 591 </property> 592 </spacer> 593 <widget class="QLabel"> 594 <property name="name"> 595 <cstring>txRAMMax</cstring> 596 </property> 597 <property name="text"> 598 <string>></string> 599 </property> 600 <property name="alignment"> 601 <set>WordBreak|AlignVCenter|AlignRight</set> 602 </property> 603 </widget> 604 </hbox> 605 </widget> 606 </vbox> 607 </widget> 608 <widget class="QLayoutWidget"> 609 <property name="name"> 610 <cstring>layout18_2</cstring> 611 </property> 612 <vbox> 613 <property name="name"> 614 <cstring>unnamed</cstring> 615 </property> 616 <widget class="QLayoutWidget"> 617 <property name="name"> 618 <cstring>layout17_2</cstring> 619 </property> 620 <hbox> 621 <property name="name"> 622 <cstring>unnamed</cstring> 623 </property> 624 <widget class="QLineEdit"> 625 <property name="name"> 626 <cstring>leRAM</cstring> 627 </property> 628 <property name="sizePolicy"> 629 <sizepolicy> 630 <hsizetype>4</hsizetype> 631 <vsizetype>0</vsizetype> 632 <horstretch>0</horstretch> 633 <verstretch>0</verstretch> 634 </sizepolicy> 635 </property> 636 </widget> 637 <widget class="QLabel"> 638 <property name="name"> 639 <cstring>txRAM</cstring> 640 </property> 641 <property name="text"> 642 <string>MB</string> 643 </property> 644 <property name="buddy" stdset="0"> 645 <cstring>leRAM</cstring> 646 </property> 647 </widget> 648 </hbox> 649 </widget> 650 <spacer> 651 <property name="name"> 652 <cstring>spacer9_2</cstring> 653 </property> 654 <property name="orientation"> 655 <enum>Vertical</enum> 656 </property> 657 <property name="sizeType"> 658 <enum>Expanding</enum> 659 </property> 660 <property name="sizeHint"> 661 <size> 662 <width>0</width> 663 <height>0</height> 664 </size> 665 </property> 666 </spacer> 667 </vbox> 668 </widget> 669 </hbox> 670 </widget> 671 </hbox> 672 </widget> 673 <spacer> 674 <property name="name"> 675 <cstring>spacer7</cstring> 676 </property> 677 <property name="orientation"> 678 <enum>Vertical</enum> 679 </property> 680 <property name="sizeType"> 681 <enum>Expanding</enum> 682 </property> 683 <property name="sizeHint"> 684 <size> 685 <width>0</width> 686 <height>0</height> 687 </size> 688 </property> 689 </spacer> 690 </vbox> 691 </widget> 692 </hbox> 693 </widget> 694 <widget class="QWidget"> 695 <property name="name"> 696 <cstring>pageHDD</cstring> 697 </property> 698 <attribute name="title"> 699 <string>Virtual Hard Disk</string> 700 </attribute> 701 <hbox> 702 <property name="name"> 703 <cstring>unnamed</cstring> 704 </property> 705 <property name="spacing"> 706 <number>20</number> 707 </property> 708 <widget class="QLabel"> 709 <property name="name"> 710 <cstring>pmHDD</cstring> 711 </property> 712 <property name="sizePolicy"> 713 <sizepolicy> 714 <hsizetype>4</hsizetype> 715 <vsizetype>5</vsizetype> 716 <horstretch>0</horstretch> 717 <verstretch>0</verstretch> 718 </sizepolicy> 719 </property> 720 <property name="pixmap"> 721 <pixmap>:/vmw_new_welcome.png</pixmap> 722 </property> 723 <property name="alignment"> 724 <set>AlignTop</set> 725 </property> 726 </widget> 727 <widget class="QLayoutWidget"> 728 <property name="name"> 729 <cstring>layout76</cstring> 730 </property> 731 <vbox> 732 <property name="name"> 733 <cstring>unnamed</cstring> 734 </property> 735 <property name="spacing"> 736 <number>15</number> 737 </property> 738 <widget class="QLabel"> 739 <property name="name"> 740 <cstring>textLabel1_3</cstring> 741 </property> 742 <property name="sizePolicy"> 743 <sizepolicy> 744 <hsizetype>1</hsizetype> 745 <vsizetype>0</vsizetype> 746 <horstretch>0</horstretch> 747 <verstretch>0</verstretch> 748 </sizepolicy> 749 </property> 750 <property name="text"> 751 <string><p>Select a hard disk image to be used 752 as the boot hard disk of the virtual machine. You can either create a new hard 753 disk using the <b>New</b> button or select an existing hard disk 754 image from the drop-down list or by pressing the <b>Existing</b> 755 button (to invoke the Virtual Disk Manager dialog).</p> 756 <p>If you need a more complicated hard disk setup, you can also skip this 757 step and attach hard disks later using the VM Settings dialog.</p></string> 758 </property> 759 <property name="alignment"> 760 <set>WordBreak|AlignTop</set> 761 </property> 762 </widget> 763 <widget class="QLabel"> 764 <property name="name"> 765 <cstring>txVDIBest</cstring> 766 </property> 767 <property name="sizePolicy"> 768 <sizepolicy> 769 <hsizetype>1</hsizetype> 770 <vsizetype>0</vsizetype> 771 <horstretch>0</horstretch> 772 <verstretch>0</verstretch> 773 </sizepolicy> 774 </property> 775 <property name="text"> 776 <string></string> 777 </property> 778 <property name="alignment"> 779 <set>WordBreak|AlignTop</set> 780 </property> 781 </widget> 782 <widget class="QGroupBox"> 783 <property name="name"> 784 <cstring>grbHDA</cstring> 785 </property> 786 <property name="title"> 787 <string>B&oot Hard Disk (Primary Master)</string> 788 </property> 789 <grid> 790 <property name="name"> 791 <cstring>unnamed</cstring> 792 </property> 793 <widget class="QPushButton" row="1" column="0"> 794 <property name="name"> 795 <cstring>pbNewHD</cstring> 796 </property> 797 <property name="sizePolicy"> 798 <sizepolicy> 799 <hsizetype>1</hsizetype> 800 <vsizetype>1</vsizetype> 801 <horstretch>0</horstretch> 802 <verstretch>0</verstretch> 803 </sizepolicy> 804 </property> 805 <property name="text"> 806 <string>N&ew...</string> 807 </property> 808 </widget> 809 <widget class="QPushButton" row="1" column="1"> 810 <property name="name"> 811 <cstring>pbExistingHD</cstring> 812 </property> 813 <property name="sizePolicy"> 814 <sizepolicy> 815 <hsizetype>1</hsizetype> 816 <vsizetype>1</vsizetype> 817 <horstretch>0</horstretch> 818 <verstretch>0</verstretch> 819 </sizepolicy> 820 </property> 821 <property name="text"> 822 <string>E&xisting...</string> 823 </property> 824 </widget> 825 <spacer row="1" column="2"> 826 <property name="name"> 827 <cstring>spacer33</cstring> 828 </property> 829 <property name="orientation"> 830 <enum>Horizontal</enum> 831 </property> 832 <property name="sizeType"> 833 <enum>Expanding</enum> 834 </property> 835 <property name="sizeHint"> 836 <size> 837 <width>40</width> 838 <height>20</height> 839 </size> 840 </property> 841 </spacer> 842 </grid> 843 </widget> 844 <spacer> 845 <property name="name"> 846 <cstring>spacer103</cstring> 847 </property> 848 <property name="orientation"> 849 <enum>Vertical</enum> 850 </property> 851 <property name="sizeType"> 852 <enum>Expanding</enum> 853 </property> 854 <property name="sizeHint"> 855 <size> 856 <width>0</width> 857 <height>0</height> 858 </size> 859 </property> 860 </spacer> 861 </vbox> 862 </widget> 863 </hbox> 864 </widget> 865 <widget class="QWidget"> 866 <property name="name"> 867 <cstring>pageSummary</cstring> 868 </property> 869 <attribute name="title"> 870 <string>Summary</string> 871 </attribute> 872 <hbox> 873 <property name="name"> 874 <cstring>unnamed</cstring> 875 </property> 876 <property name="spacing"> 877 <number>20</number> 878 </property> 879 <widget class="QLabel"> 880 <property name="name"> 881 <cstring>pmSummary</cstring> 882 </property> 883 <property name="sizePolicy"> 884 <sizepolicy> 885 <hsizetype>4</hsizetype> 886 <vsizetype>5</vsizetype> 887 <horstretch>0</horstretch> 888 <verstretch>0</verstretch> 889 </sizepolicy> 890 </property> 891 <property name="pixmap"> 892 <pixmap>:/vmw_new_welcome.png</pixmap> 893 </property> 894 <property name="alignment"> 895 <set>AlignTop</set> 896 </property> 897 </widget> 898 <widget class="QLayoutWidget"> 899 <property name="name"> 900 <cstring>summaryLayout</cstring> 901 </property> 902 <vbox> 903 <property name="name"> 904 <cstring>unnamed</cstring> 905 </property> 906 <property name="spacing"> 907 <number>15</number> 908 </property> 909 <widget class="QLabel"> 910 <property name="name"> 911 <cstring>txSummaryHdr</cstring> 912 </property> 913 <property name="sizePolicy"> 914 <sizepolicy> 915 <hsizetype>1</hsizetype> 916 <vsizetype>0</vsizetype> 917 <horstretch>0</horstretch> 918 <verstretch>0</verstretch> 919 </sizepolicy> 920 </property> 921 <property name="text"> 922 <string> 923 <p> 924 You are going to create a new virtual machine 925 with the following parameters: 926 </p> 927 </string> 928 </property> 929 <property name="alignment"> 930 <set>WordBreak|AlignTop</set> 931 </property> 932 </widget> 933 <widget class="QLabel"> 934 <property name="name"> 935 <cstring>txSummaryFtr</cstring> 936 </property> 937 <property name="sizePolicy"> 938 <sizepolicy> 939 <hsizetype>1</hsizetype> 940 <vsizetype>0</vsizetype> 941 <horstretch>0</horstretch> 942 <verstretch>0</verstretch> 943 </sizepolicy> 944 </property> 945 <property name="text"> 946 <string> 947 <p> 948 If the above is correct press the <b>Finish</b> button. 949 Once you press it, a new virtual machine will be created. 950 </p><p> 951 Note that you can alter these and all other setting of the 952 created virtual machine at any time using the 953 <b>Settings</b> dialog accessible through 954 the menu of the main window. 955 </p> 956 </string> 957 </property> 958 <property name="alignment"> 959 <set>WordBreak|AlignTop</set> 960 </property> 961 </widget> 962 <spacer> 963 <property name="name"> 964 <cstring>spacer33_2</cstring> 965 </property> 966 <property name="orientation"> 967 <enum>Vertical</enum> 968 </property> 969 <property name="sizeType"> 970 <enum>Expanding</enum> 971 </property> 972 <property name="sizeHint"> 973 <size> 974 <width>0</width> 975 <height>0</height> 976 </size> 977 </property> 978 </spacer> 979 </vbox> 980 </widget> 981 </hbox> 982 </widget> 983 </widget> 984 <connections> 985 <connection> 986 <sender>pbNewHD</sender> 987 <signal>clicked()</signal> 988 <receiver>VBoxNewVMWzd</receiver> 989 <slot>showNewVDIWizard()</slot> 990 </connection> 991 <connection> 992 <sender>pbExistingHD</sender> 993 <signal>clicked()</signal> 994 <receiver>VBoxNewVMWzd</receiver> 995 <slot>showVDIManager()</slot> 996 </connection> 997 <connection> 998 <sender>leRAM</sender> 999 <signal>textChanged(const QString&)</signal> 1000 <receiver>VBoxNewVMWzd</receiver> 1001 <slot>leRAM_textChanged(const QString&)</slot> 1002 </connection> 1003 <connection> 1004 <sender>slRAM</sender> 1005 <signal>valueChanged(int)</signal> 1006 <receiver>VBoxNewVMWzd</receiver> 1007 <slot>slRAM_valueChanged(int)</slot> 1008 </connection> 1009 <connection> 1010 <sender>cbOS</sender> 1011 <signal>activated(int)</signal> 1012 <receiver>VBoxNewVMWzd</receiver> 1013 <slot>cbOS_activated(int)</slot> 1014 </connection> 1015 </connections> 1016 <tabstops> 1017 <tabstop>leName</tabstop> 1018 <tabstop>cbOS</tabstop> 1019 <tabstop>slRAM</tabstop> 1020 <tabstop>leRAM</tabstop> 1021 <tabstop>pbNewHD</tabstop> 1022 <tabstop>pbExistingHD</tabstop> 1023 </tabstops> 1024 <includes> 1025 <include location="global" impldecl="in implementation">qvalidator.h</include> 1026 <include location="local" impldecl="in declaration">qfiledialog.h</include> 1027 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include> 1028 <include location="local" impldecl="in declaration">COMDefs.h</include> 1029 <include location="local" impldecl="in implementation">VBoxUtils.h</include> 1030 <include location="local" impldecl="in implementation">VBoxGlobal.h</include> 1031 <include location="local" impldecl="in implementation">VBoxDiskImageManagerDlg.h</include> 1032 <include location="local" impldecl="in implementation">VBoxNewHDWzd.h</include> 1033 <include location="local" impldecl="in implementation">VBoxMediaComboBox.h</include> 1034 </includes> 1035 <forwards> 1036 <forward>class VBoxMediaComboBox</forward> 1037 <forward>class QITextEdit</forward> 1038 </forwards> 1039 <variables> 1040 <variable access="private">QIWidgetValidator *wvalNameAndOS;</variable> 1041 <variable access="private">QIWidgetValidator *wvalMemory;</variable> 1042 <variable access="private">QIWidgetValidator *wvalHDD;</variable> 1043 <variable access="private">QUuid uuidHD;</variable> 1044 <variable access="private">CHardDisk chd;</variable> 1045 <variable access="private">CMachine cmachine;</variable> 1046 <variable access="private">VBoxMediaComboBox *mediaCombo;</variable> 1047 <variable access="private">QITextEdit *teSummary;</variable> 1048 </variables> 1049 <slots> 1050 <slot>enableNext( const QIWidgetValidator * wval )</slot> 1051 <slot>revalidate( QIWidgetValidator * wval )</slot> 1052 <slot>showVDIManager()</slot> 1053 <slot>showNewVDIWizard()</slot> 1054 <slot>slRAM_valueChanged( int val )</slot> 1055 <slot>leRAM_textChanged( const QString & text )</slot> 1056 <slot>cbOS_activated( int item )</slot> 1057 <slot>currentMediaChanged( int item )</slot> 1058 </slots> 1059 <functions> 1060 <function access="private">init()</function> 1061 <function access="private">destroy()</function> 1062 <function access="private">showEvent( QShowEvent * )</function> 1063 <function>showPage( QWidget * page )</function> 1064 <function>accept()</function> 1065 <function access="private" returnType="bool">constructMachine()</function> 1066 <function access="private">ensureNewHardDiskDeleted()</function> 1067 <function returnType="CMachine">machine()</function> 1068 </functions> 1069 <pixmapinproject/> 1070 <layoutdefaults spacing="6" margin="11"/> 1071 </UI> 1191 </item> 1192 </layout> 1193 </widget> 1194 <customwidgets> 1195 <customwidget> 1196 <class>QILabel</class> 1197 <extends>QLabel</extends> 1198 <header>QIAbstractWizardFramework.h</header> 1199 </customwidget> 1200 <customwidget> 1201 <class>VBoxMediaComboBox</class> 1202 <extends>QComboBox</extends> 1203 <header>VBoxMediaComboBox.h</header> 1204 </customwidget> 1205 <customwidget> 1206 <class>QITextEdit</class> 1207 <extends>QTextEdit</extends> 1208 <header>QIAbstractWizardFramework.h</header> 1209 </customwidget> 1210 </customwidgets> 1211 <tabstops> 1212 <tabstop>mBtnNext1</tabstop> 1213 <tabstop>mBtnCancel1</tabstop> 1214 <tabstop>mLeName</tabstop> 1215 <tabstop>mCbOS</tabstop> 1216 <tabstop>mBtnBack2</tabstop> 1217 <tabstop>mBtnNext2</tabstop> 1218 <tabstop>mBtnCancel2</tabstop> 1219 <tabstop>mSlRAM</tabstop> 1220 <tabstop>mLeRAM</tabstop> 1221 <tabstop>mBtnBack3</tabstop> 1222 <tabstop>mBtnNext3</tabstop> 1223 <tabstop>mBtnCancel3</tabstop> 1224 <tabstop>mMediaCombo</tabstop> 1225 <tabstop>mPbNewHD</tabstop> 1226 <tabstop>mPbExistingHD</tabstop> 1227 <tabstop>mBtnBack4</tabstop> 1228 <tabstop>mBtnNext4</tabstop> 1229 <tabstop>mBtnCancel4</tabstop> 1230 <tabstop>mBtnBack5</tabstop> 1231 <tabstop>mBtnFinish</tabstop> 1232 <tabstop>mBtnCancel5</tabstop> 1233 </tabstops> 1234 <resources> 1235 <include location="../VirtualBox.qrc" /> 1236 </resources> 1237 <connections/> 1238 </ui> -
trunk/src/VBox/Frontends/VirtualBox4/ui/VBoxVMFirstRunWzd.ui
r7235 r7447 1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 2 <class>VBoxVMFirstRunWzd</class> 3 <comment> 4 5 :mode=html:tabSize=4:indentSize=4:noTabs=true: 6 :folding=explicit:collapseFolds=1: 7 8 Copyright (C) 2007 innotek GmbH 9 10 This file is part of VirtualBox Open Source Edition (OSE), as 11 available from http://www.virtualbox.org. This file is free software; 12 you can redistribute it and/or modify it under the terms of the GNU 13 General Public License (GPL) as published by the Free Software 14 Foundation, in version 2 as it comes in the "COPYING" file of the 15 VirtualBox OSE distribution. VirtualBox OSE is distributed in the 16 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 17 </comment> 18 <widget class="QWizard"> 19 <property name="name"> 20 <cstring>VBoxVMFirstRunWzd</cstring> 21 </property> 22 <property name="geometry"> 23 <rect> 24 <x>0</x> 25 <y>0</y> 26 <width>571</width> 27 <height>463</height> 28 </rect> 29 </property> 30 <property name="caption"> 31 <string>First Run Wizard</string> 32 </property> 33 <property name="titleFont"> 34 <font> 35 <family>Arial</family> 36 <pointsize>12</pointsize> 37 <bold>1</bold> 38 </font> 39 </property> 40 <widget class="QWidget"> 41 <property name="name"> 42 <cstring>pageWelcome</cstring> 43 </property> 44 <attribute name="title"> 45 <string>Welcome to the First Run Wizard!</string> 46 </attribute> 47 <hbox> 48 <property name="name"> 49 <cstring>unnamed</cstring> 50 </property> 51 <property name="spacing"> 52 <number>20</number> 53 </property> 54 <property name="resizeMode"> 55 <enum>Minimum</enum> 56 </property> 57 <widget class="QLabel"> 58 <property name="name"> 59 <cstring>pmWelcome</cstring> 1 <ui version="4.0" > 2 <class>VBoxVMFirstRunWzd</class> 3 <widget class="QDialog" name="VBoxVMFirstRunWzd" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>782</width> 9 <height>561</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>First Run Wizard</string> 14 </property> 15 <layout class="QVBoxLayout" > 16 <property name="leftMargin" > 17 <number>0</number> 18 </property> 19 <property name="topMargin" > 20 <number>0</number> 21 </property> 22 <property name="rightMargin" > 23 <number>0</number> 24 </property> 25 <property name="bottomMargin" > 26 <number>0</number> 27 </property> 28 <item> 29 <widget class="QStackedWidget" name="mPageStack" > 30 <property name="currentIndex" > 31 <number>0</number> 32 </property> 33 <widget class="QWidget" name="mPageWelcome" > 34 <layout class="QVBoxLayout" > 35 <item> 36 <widget class="QLabel" name="mPageWelcomeHdr" > 37 <property name="font" > 38 <font> 39 <family>Arial</family> 40 <pointsize>12</pointsize> 41 <weight>75</weight> 42 <bold>true</bold> 43 </font> 44 </property> 45 <property name="text" > 46 <string>Welcome to the First Run Wizard!</string> 47 </property> 48 </widget> 49 </item> 50 <item> 51 <widget class="Line" name="line11" > 52 <property name="orientation" > 53 <enum>Qt::Horizontal</enum> 54 </property> 55 </widget> 56 </item> 57 <item> 58 <layout class="QHBoxLayout" > 59 <property name="spacing" > 60 <number>10</number> 61 </property> 62 <item> 63 <widget class="QLabel" name="mLogoWelcome" > 64 <property name="sizePolicy" > 65 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 66 <horstretch>0</horstretch> 67 <verstretch>0</verstretch> 68 </sizepolicy> 69 </property> 70 <property name="autoFillBackground" > 71 <bool>true</bool> 72 </property> 73 <property name="text" > 74 <string/> 75 </property> 76 <property name="pixmap" > 77 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_harddisk.png</pixmap> 78 </property> 79 <property name="alignment" > 80 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 81 </property> 82 </widget> 83 </item> 84 <item> 85 <layout class="QVBoxLayout" > 86 <property name="spacing" > 87 <number>10</number> 88 </property> 89 <item> 90 <widget class="QILabel" name="mTextWelcome1" > 91 <property name="sizePolicy" > 92 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 93 <horstretch>0</horstretch> 94 <verstretch>0</verstretch> 95 </sizepolicy> 96 </property> 97 <property name="minimumSize" > 98 <size> 99 <width>300</width> 100 <height>0</height> 101 </size> 102 </property> 103 <property name="text" > 104 <string><p>You have started a newly created virtual machine for the first time. This wizard will help you to perform the steps necessary for installing an operating system of your choice onto this virtual machine.</p><p>Use the <b>Next</b> button to go to the next page of the wizard and the <b>Back</b> button to return to the previous page. You can also press <b>Cancel</b> if you want to cancel execution of this wizard.</p></string> 105 </property> 106 <property name="alignment" > 107 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 108 </property> 109 <property name="wordWrap" > 110 <bool>true</bool> 111 </property> 112 </widget> 113 </item> 114 <item> 115 <widget class="QILabel" name="mTextWelcome2" > 116 <property name="sizePolicy" > 117 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 118 <horstretch>0</horstretch> 119 <verstretch>0</verstretch> 120 </sizepolicy> 121 </property> 122 <property name="minimumSize" > 123 <size> 124 <width>300</width> 125 <height>0</height> 126 </size> 127 </property> 128 <property name="text" > 129 <string><p>You have started a newly created virtual machine for the first time. This wizard will help you to perform the steps necessary for booting an operating system of your choice on the virtual machine.</p><p>Note that you will not be able to install an operating system into this virtual machine right now because you did not attach any hard disk to it. If this is not what you want, you can cancel execution of this wizard, select <b>Settings</b> from the <b>Machine</b> menu of the main VirtualBox window to access the settings dialog of this machine and change the hard disk configuration.</p><p>Use the <b>Next</b> button to go to the next page of the wizard and the <b>Back</b> button to return to the previous page. You can also press <b>Cancel</b> if you want to cancel execution of this wizard.</p></string> 130 </property> 131 <property name="wordWrap" > 132 <bool>true</bool> 133 </property> 134 </widget> 135 </item> 136 <item> 137 <spacer> 138 <property name="orientation" > 139 <enum>Qt::Vertical</enum> 140 </property> 141 <property name="sizeHint" > 142 <size> 143 <width>0</width> 144 <height>0</height> 145 </size> 146 </property> 147 </spacer> 148 </item> 149 </layout> 150 </item> 151 </layout> 152 </item> 153 <item> 154 <widget class="Line" name="line12" > 155 <property name="orientation" > 156 <enum>Qt::Horizontal</enum> 157 </property> 158 </widget> 159 </item> 160 <item> 161 <layout class="QHBoxLayout" > 162 <item> 163 <spacer> 164 <property name="orientation" > 165 <enum>Qt::Horizontal</enum> 166 </property> 167 <property name="sizeHint" > 168 <size> 169 <width>0</width> 170 <height>0</height> 171 </size> 172 </property> 173 </spacer> 174 </item> 175 <item> 176 <widget class="QPushButton" name="mBtnBack1" > 177 <property name="enabled" > 178 <bool>false</bool> 179 </property> 180 <property name="text" > 181 <string>< &Back</string> 182 </property> 183 </widget> 184 </item> 185 <item> 186 <widget class="QPushButton" name="mBtnNext1" > 187 <property name="text" > 188 <string>&Next ></string> 189 </property> 190 </widget> 191 </item> 192 <item> 193 <spacer> 194 <property name="orientation" > 195 <enum>Qt::Horizontal</enum> 196 </property> 197 <property name="sizeType" > 198 <enum>QSizePolicy::Fixed</enum> 199 </property> 200 <property name="sizeHint" > 201 <size> 202 <width>5</width> 203 <height>0</height> 204 </size> 205 </property> 206 </spacer> 207 </item> 208 <item> 209 <widget class="QPushButton" name="mBtnCancel1" > 210 <property name="text" > 211 <string>&Cancel</string> 212 </property> 213 </widget> 214 </item> 215 </layout> 216 </item> 217 </layout> 218 </widget> 219 <widget class="QWidget" name="mPageMedia" > 220 <layout class="QVBoxLayout" > 221 <item> 222 <widget class="QLabel" name="mPageMediaHdr" > 223 <property name="font" > 224 <font> 225 <family>Arial</family> 226 <pointsize>12</pointsize> 227 <weight>75</weight> 228 <bold>true</bold> 229 </font> 230 </property> 231 <property name="text" > 232 <string>Select Installation Media</string> 233 </property> 234 </widget> 235 </item> 236 <item> 237 <widget class="Line" name="line21" > 238 <property name="orientation" > 239 <enum>Qt::Horizontal</enum> 240 </property> 241 </widget> 242 </item> 243 <item> 244 <layout class="QHBoxLayout" > 245 <property name="spacing" > 246 <number>10</number> 247 </property> 248 <item> 249 <widget class="QLabel" name="mLogoType" > 250 <property name="sizePolicy" > 251 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 252 <horstretch>0</horstretch> 253 <verstretch>0</verstretch> 254 </sizepolicy> 255 </property> 256 <property name="autoFillBackground" > 257 <bool>true</bool> 258 </property> 259 <property name="text" > 260 <string/> 261 </property> 262 <property name="pixmap" > 263 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_harddisk.png</pixmap> 264 </property> 265 <property name="alignment" > 266 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 267 </property> 268 </widget> 269 </item> 270 <item> 271 <layout class="QVBoxLayout" > 272 <property name="spacing" > 273 <number>10</number> 274 </property> 275 <item> 276 <widget class="QILabel" name="mTextType1" > 277 <property name="sizePolicy" > 278 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 279 <horstretch>0</horstretch> 280 <verstretch>0</verstretch> 281 </sizepolicy> 282 </property> 283 <property name="minimumSize" > 284 <size> 285 <width>300</width> 286 <height>0</height> 287 </size> 288 </property> 289 <property name="text" > 290 <string><p>Select the type of the media you would like to use for installation purposes below.</p></string> 291 </property> 292 <property name="alignment" > 293 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 294 </property> 295 <property name="wordWrap" > 296 <bool>true</bool> 297 </property> 298 </widget> 299 </item> 300 <item> 301 <widget class="QILabel" name="mTextType2" > 302 <property name="sizePolicy" > 303 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 304 <horstretch>0</horstretch> 305 <verstretch>0</verstretch> 306 </sizepolicy> 307 </property> 308 <property name="minimumSize" > 309 <size> 310 <width>300</width> 311 <height>0</height> 312 </size> 313 </property> 314 <property name="text" > 315 <string><p>Select the type of the media you would like to use for booting an operating system.</p></string> 316 </property> 317 <property name="wordWrap" > 318 <bool>true</bool> 319 </property> 320 </widget> 321 </item> 322 <item> 323 <widget class="QGroupBox" name="mGbType" > 324 <property name="sizePolicy" > 325 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 326 <horstretch>0</horstretch> 327 <verstretch>0</verstretch> 328 </sizepolicy> 329 </property> 330 <property name="title" > 331 <string>Media Type</string> 332 </property> 333 <layout class="QVBoxLayout" > 334 <property name="topMargin" > 335 <number>4</number> 336 </property> 337 <item> 338 <widget class="QRadioButton" name="mRbCdType" > 339 <property name="sizePolicy" > 340 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 341 <horstretch>0</horstretch> 342 <verstretch>0</verstretch> 343 </sizepolicy> 60 344 </property> 61 <property name="sizePolicy"> 62 <sizepolicy> 63 <hsizetype>4</hsizetype> 64 <vsizetype>5</vsizetype> 65 <horstretch>0</horstretch> 66 <verstretch>0</verstretch> 67 </sizepolicy> 345 <property name="text" > 346 <string>&CD/DVD-ROM Device</string> 68 347 </property> 69 <property name=" pixmap">70 <pixmap>:/vmw_new_harddisk.png</pixmap>348 <property name="checked" > 349 <bool>true</bool> 71 350 </property> 72 <property name="alignment"> 73 <set>AlignTop</set> 351 </widget> 352 </item> 353 <item> 354 <widget class="QRadioButton" name="mRbFdType" > 355 <property name="sizePolicy" > 356 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 357 <horstretch>0</horstretch> 358 <verstretch>0</verstretch> 359 </sizepolicy> 74 360 </property> 75 </widget> 76 <widget class="QLayoutWidget"> 77 <property name="name"> 78 <cstring>ltWelcome</cstring> 361 <property name="text" > 362 <string>&Floppy Device</string> 79 363 </property> 80 <vbox> 81 <property name="name"> 82 <cstring>unnamed</cstring> 83 </property> 84 <widget class="QLabel"> 85 <property name="name"> 86 <cstring>txWelcome</cstring> 87 </property> 88 <property name="sizePolicy"> 89 <sizepolicy> 90 <hsizetype>1</hsizetype> 91 <vsizetype>5</vsizetype> 92 <horstretch>0</horstretch> 93 <verstretch>0</verstretch> 94 </sizepolicy> 95 </property> 96 <property name="text"> 97 <string><p>You have started a newly created virtual machine for the first time. This wizard will help you to perform the steps necessary for installing an operating system of your choice onto this virtual machine.</p><p>Use the <b>Next</b> button to go to the next page of the wizard and the <b>Back</b> button to return to the previous page. You can also press <b>Cancel</b> if you want to cancel execution of this wizard.</p></string> 98 </property> 99 <property name="alignment"> 100 <set>WordBreak|AlignTop</set> 101 </property> 102 </widget> 103 <widget class="QLabel"> 104 <property name="name"> 105 <cstring>txWelcomeHD</cstring> 106 </property> 107 <property name="sizePolicy"> 108 <sizepolicy> 109 <hsizetype>1</hsizetype> 110 <vsizetype>5</vsizetype> 111 <horstretch>0</horstretch> 112 <verstretch>0</verstretch> 113 </sizepolicy> 114 </property> 115 <property name="text"> 116 <string><p>You have started a newly created virtual machine for the first time. This wizard will help you to perform the steps necessary for booting an operating system of your choice on the virtual machine.</p><p>Note that you will not be able to install an operating system into this virtual machine right now because you did not attach any hard disk to it. If this is not what you want, you can cancel execution of this wizard, select <b>Settings</b> from the <b>Machine</b> menu of the main VirtualBox window to access the settings dialog of this machine and change the hard disk configuration.</p><p>Use the <b>Next</b> button to go to the next page of the wizard and the <b>Back</b> button to return to the previous page. You can also press <b>Cancel</b> if you want to cancel execution of this wizard.</p></string> 117 </property> 118 <property name="alignment"> 119 <set>WordBreak|AlignTop</set> 120 </property> 121 </widget> 122 <spacer> 123 <property name="name"> 124 <cstring>spWelcome</cstring> 125 </property> 126 <property name="orientation"> 127 <enum>Vertical</enum> 128 </property> 129 <property name="sizeType"> 130 <enum>Expanding</enum> 131 </property> 132 <property name="sizeHint"> 133 <size> 134 <width>20</width> 135 <height>0</height> 136 </size> 137 </property> 138 </spacer> 139 <spacer> 140 <property name="name"> 141 <cstring>widthSpacer</cstring> 142 </property> 143 <property name="orientation"> 144 <enum>Horizontal</enum> 145 </property> 146 <property name="sizeType"> 147 <enum>MinimumExpanding</enum> 148 </property> 149 <property name="sizeHint"> 150 <size> 151 <width>400</width> 152 <height>1</height> 153 </size> 154 </property> 155 </spacer> 156 </vbox> 157 </widget> 158 </hbox> 364 </widget> 365 </item> 366 </layout> 367 </widget> 368 </item> 369 <item> 370 <widget class="QILabel" name="mTextSource1" > 371 <property name="sizePolicy" > 372 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 373 <horstretch>0</horstretch> 374 <verstretch>0</verstretch> 375 </sizepolicy> 376 </property> 377 <property name="minimumSize" > 378 <size> 379 <width>300</width> 380 <height>0</height> 381 </size> 382 </property> 383 <property name="text" > 384 <string><p>Select the media which contains the setup program of the operating system you want to install. This media must be bootable, otherwise the setup program will not be able to start.</p></string> 385 </property> 386 <property name="wordWrap" > 387 <bool>true</bool> 388 </property> 389 </widget> 390 </item> 391 <item> 392 <widget class="QILabel" name="mTextSource2" > 393 <property name="sizePolicy" > 394 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 395 <horstretch>0</horstretch> 396 <verstretch>0</verstretch> 397 </sizepolicy> 398 </property> 399 <property name="minimumSize" > 400 <size> 401 <width>300</width> 402 <height>0</height> 403 </size> 404 </property> 405 <property name="text" > 406 <string><p>Select the media that contains the operating system you want to work with. This media must be bootable, otherwise the operating system will not be able to start.</p></string> 407 </property> 408 <property name="wordWrap" > 409 <bool>true</bool> 410 </property> 411 </widget> 412 </item> 413 <item> 414 <widget class="QGroupBox" name="mGbSource" > 415 <property name="sizePolicy" > 416 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 417 <horstretch>0</horstretch> 418 <verstretch>0</verstretch> 419 </sizepolicy> 420 </property> 421 <property name="title" > 422 <string>Media Source</string> 423 </property> 424 <layout class="QVBoxLayout" > 425 <property name="topMargin" > 426 <number>4</number> 427 </property> 428 <item> 429 <layout class="QHBoxLayout" > 430 <item> 431 <widget class="QRadioButton" name="mRbHost" > 432 <property name="text" > 433 <string>&Host Drive</string> 434 </property> 435 </widget> 436 </item> 437 <item> 438 <widget class="QComboBox" name="mCbHost" > 439 <property name="sizeAdjustPolicy" > 440 <enum>QComboBox::AdjustToContentsOnFirstShow</enum> 441 </property> 442 </widget> 443 </item> 444 <item> 445 <spacer> 446 <property name="orientation" > 447 <enum>Qt::Horizontal</enum> 448 </property> 449 <property name="sizeHint" > 450 <size> 451 <width>40</width> 452 <height>5</height> 453 </size> 454 </property> 455 </spacer> 456 </item> 457 </layout> 458 </item> 459 <item> 460 <widget class="QRadioButton" name="mRbImage" > 461 <property name="text" > 462 <string>&Image File</string> 463 </property> 464 </widget> 465 </item> 466 <item> 467 <layout class="QHBoxLayout" > 468 <item> 469 <widget class="VBoxMediaComboBox" name="mCbImage" /> 470 </item> 471 <item> 472 <widget class="QToolButton" name="mTbVdm" > 473 <property name="icon" > 474 <iconset resource="../VirtualBox.qrc" >:/select_file_16px.png</iconset> 475 </property> 476 </widget> 477 </item> 478 </layout> 479 </item> 480 </layout> 481 </widget> 482 </item> 483 <item> 484 <spacer> 485 <property name="orientation" > 486 <enum>Qt::Vertical</enum> 487 </property> 488 <property name="sizeHint" > 489 <size> 490 <width>0</width> 491 <height>0</height> 492 </size> 493 </property> 494 </spacer> 495 </item> 496 </layout> 497 </item> 498 </layout> 499 </item> 500 <item> 501 <widget class="Line" name="line22" > 502 <property name="orientation" > 503 <enum>Qt::Horizontal</enum> 504 </property> 505 </widget> 506 </item> 507 <item> 508 <layout class="QHBoxLayout" > 509 <item> 510 <spacer> 511 <property name="orientation" > 512 <enum>Qt::Horizontal</enum> 513 </property> 514 <property name="sizeHint" > 515 <size> 516 <width>0</width> 517 <height>0</height> 518 </size> 519 </property> 520 </spacer> 521 </item> 522 <item> 523 <widget class="QPushButton" name="mBtnBack2" > 524 <property name="text" > 525 <string>< &Back</string> 526 </property> 527 </widget> 528 </item> 529 <item> 530 <widget class="QPushButton" name="mBtnNext2" > 531 <property name="text" > 532 <string>&Next ></string> 533 </property> 534 </widget> 535 </item> 536 <item> 537 <spacer> 538 <property name="orientation" > 539 <enum>Qt::Horizontal</enum> 540 </property> 541 <property name="sizeType" > 542 <enum>QSizePolicy::Fixed</enum> 543 </property> 544 <property name="sizeHint" > 545 <size> 546 <width>5</width> 547 <height>0</height> 548 </size> 549 </property> 550 </spacer> 551 </item> 552 <item> 553 <widget class="QPushButton" name="mBtnCancel2" > 554 <property name="text" > 555 <string>&Cancel</string> 556 </property> 557 </widget> 558 </item> 559 </layout> 560 </item> 561 </layout> 562 </widget> 563 <widget class="QWidget" name="mPageSummary" > 564 <layout class="QVBoxLayout" > 565 <item> 566 <widget class="QLabel" name="mPageSummaryHdr" > 567 <property name="font" > 568 <font> 569 <family>Arial</family> 570 <pointsize>12</pointsize> 571 <weight>75</weight> 572 <bold>true</bold> 573 </font> 574 </property> 575 <property name="text" > 576 <string>Summary</string> 577 </property> 578 </widget> 579 </item> 580 <item> 581 <widget class="Line" name="line31" > 582 <property name="orientation" > 583 <enum>Qt::Horizontal</enum> 584 </property> 585 </widget> 586 </item> 587 <item> 588 <layout class="QHBoxLayout" > 589 <property name="spacing" > 590 <number>10</number> 591 </property> 592 <item> 593 <widget class="QLabel" name="mLogoSummary" > 594 <property name="sizePolicy" > 595 <sizepolicy vsizetype="Minimum" hsizetype="Maximum" > 596 <horstretch>0</horstretch> 597 <verstretch>0</verstretch> 598 </sizepolicy> 599 </property> 600 <property name="autoFillBackground" > 601 <bool>true</bool> 602 </property> 603 <property name="text" > 604 <string/> 605 </property> 606 <property name="pixmap" > 607 <pixmap resource="../VirtualBox.qrc" >:/vmw_new_harddisk.png</pixmap> 608 </property> 609 <property name="alignment" > 610 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 611 </property> 612 </widget> 613 </item> 614 <item> 615 <layout class="QVBoxLayout" > 616 <property name="spacing" > 617 <number>10</number> 618 </property> 619 <item> 620 <widget class="QILabel" name="mTextSummaryHdr1" > 621 <property name="sizePolicy" > 622 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 623 <horstretch>0</horstretch> 624 <verstretch>0</verstretch> 625 </sizepolicy> 626 </property> 627 <property name="minimumSize" > 628 <size> 629 <width>300</width> 630 <height>0</height> 631 </size> 632 </property> 633 <property name="text" > 634 <string><p>You have selected the following media to boot from:</p></string> 635 </property> 636 <property name="alignment" > 637 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 638 </property> 639 <property name="wordWrap" > 640 <bool>true</bool> 641 </property> 642 </widget> 643 </item> 644 <item> 645 <widget class="QILabel" name="mTextSummaryHdr2" > 646 <property name="sizePolicy" > 647 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 648 <horstretch>0</horstretch> 649 <verstretch>0</verstretch> 650 </sizepolicy> 651 </property> 652 <property name="minimumSize" > 653 <size> 654 <width>300</width> 655 <height>0</height> 656 </size> 657 </property> 658 <property name="text" > 659 <string><p>You have selected the following media to boot an operating system from:</p></string> 660 </property> 661 <property name="wordWrap" > 662 <bool>true</bool> 663 </property> 664 </widget> 665 </item> 666 <item> 667 <widget class="QITextEdit" name="mTeSummary" > 668 <property name="sizePolicy" > 669 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 670 <horstretch>0</horstretch> 671 <verstretch>0</verstretch> 672 </sizepolicy> 673 </property> 674 <property name="minimumSize" > 675 <size> 676 <width>300</width> 677 <height>0</height> 678 </size> 679 </property> 680 <property name="frameShape" > 681 <enum>QFrame::NoFrame</enum> 682 </property> 683 <property name="autoFormatting" > 684 <set>QTextEdit::AutoAll</set> 685 </property> 686 <property name="readOnly" > 687 <bool>true</bool> 688 </property> 689 </widget> 690 </item> 691 <item> 692 <widget class="QILabel" name="mTextSummaryFtr1" > 693 <property name="sizePolicy" > 694 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 695 <horstretch>0</horstretch> 696 <verstretch>0</verstretch> 697 </sizepolicy> 698 </property> 699 <property name="minimumSize" > 700 <size> 701 <width>300</width> 702 <height>0</height> 703 </size> 704 </property> 705 <property name="text" > 706 <string><html><head><meta name="qrichtext" content="1" /><style type="text/css"> 707 p, li { white-space: pre-wrap; } 708 </style></head><body style=" font-family:'Arial'; font-size:9pt; font-weight:400; font-style:normal;"> 709 <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">If the above is correct, press the <span style=" font-weight:600;">Finish</span> button. Once you press it, the selected media will be temporarily mounted on the virtual machine and the machine will start execution.</p> 710 <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Please note that when you close the virtual machine, the specified media will be automatically unmounted and the boot device will be set back to the first hard disk.</p> 711 <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Depending on the type of the setup program, you may need to manually unmount (eject) the media after the setup program reboots the virtual machine, to prevent the installation process from starting again. You can do this by selecting the corresponding <span style=" font-weight:600;">Unmount...</span> action in the <span style=" font-weight:600;">Devices</span> menu<span style=" font-weight:600;">.</span></p></body></html></string> 712 </property> 713 <property name="alignment" > 714 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 715 </property> 716 <property name="wordWrap" > 717 <bool>true</bool> 718 </property> 719 </widget> 720 </item> 721 <item> 722 <widget class="QILabel" name="mTextSummaryFtr2" > 723 <property name="sizePolicy" > 724 <sizepolicy vsizetype="Minimum" hsizetype="Minimum" > 725 <horstretch>0</horstretch> 726 <verstretch>0</verstretch> 727 </sizepolicy> 728 </property> 729 <property name="minimumSize" > 730 <size> 731 <width>300</width> 732 <height>0</height> 733 </size> 734 </property> 735 <property name="text" > 736 <string><p>If the above is correct, press the <b>Finish</b> button. Once you press it, the selected media will be mounted on the virtual machine and the machine will start execution.</p></string> 737 </property> 738 <property name="wordWrap" > 739 <bool>true</bool> 740 </property> 741 </widget> 742 </item> 743 <item> 744 <spacer> 745 <property name="orientation" > 746 <enum>Qt::Vertical</enum> 747 </property> 748 <property name="sizeType" > 749 <enum>QSizePolicy::Expanding</enum> 750 </property> 751 <property name="sizeHint" > 752 <size> 753 <width>0</width> 754 <height>0</height> 755 </size> 756 </property> 757 </spacer> 758 </item> 759 </layout> 760 </item> 761 </layout> 762 </item> 763 <item> 764 <widget class="Line" name="line32" > 765 <property name="orientation" > 766 <enum>Qt::Horizontal</enum> 767 </property> 768 </widget> 769 </item> 770 <item> 771 <layout class="QHBoxLayout" > 772 <item> 773 <spacer> 774 <property name="orientation" > 775 <enum>Qt::Horizontal</enum> 776 </property> 777 <property name="sizeHint" > 778 <size> 779 <width>0</width> 780 <height>0</height> 781 </size> 782 </property> 783 </spacer> 784 </item> 785 <item> 786 <widget class="QPushButton" name="mBtnBack4" > 787 <property name="text" > 788 <string>< &Back</string> 789 </property> 790 </widget> 791 </item> 792 <item> 793 <widget class="QPushButton" name="mBtnFinish" > 794 <property name="text" > 795 <string>&Finish</string> 796 </property> 797 </widget> 798 </item> 799 <item> 800 <spacer> 801 <property name="orientation" > 802 <enum>Qt::Horizontal</enum> 803 </property> 804 <property name="sizeType" > 805 <enum>QSizePolicy::Fixed</enum> 806 </property> 807 <property name="sizeHint" > 808 <size> 809 <width>5</width> 810 <height>0</height> 811 </size> 812 </property> 813 </spacer> 814 </item> 815 <item> 816 <widget class="QPushButton" name="mBtnCancel4" > 817 <property name="text" > 818 <string>&Cancel</string> 819 </property> 820 </widget> 821 </item> 822 </layout> 823 </item> 824 </layout> 825 </widget> 159 826 </widget> 160 <widget class="QWidget"> 161 <property name="name"> 162 <cstring>pageType</cstring> 163 </property> 164 <attribute name="title"> 165 <string>Select Installation Media</string> 166 </attribute> 167 <hbox> 168 <property name="name"> 169 <cstring>unnamed</cstring> 170 </property> 171 <property name="spacing"> 172 <number>20</number> 173 </property> 174 <property name="resizeMode"> 175 <enum>Minimum</enum> 176 </property> 177 <widget class="QLabel"> 178 <property name="name"> 179 <cstring>pmType</cstring> 180 </property> 181 <property name="sizePolicy"> 182 <sizepolicy> 183 <hsizetype>4</hsizetype> 184 <vsizetype>5</vsizetype> 185 <horstretch>0</horstretch> 186 <verstretch>0</verstretch> 187 </sizepolicy> 188 </property> 189 <property name="pixmap"> 190 <pixmap>:/vmw_new_harddisk.png</pixmap> 191 </property> 192 <property name="alignment"> 193 <set>AlignTop</set> 194 </property> 195 </widget> 196 <widget class="QLayoutWidget"> 197 <property name="name"> 198 <cstring>ltSelect</cstring> 199 </property> 200 <vbox> 201 <property name="name"> 202 <cstring>unnamed</cstring> 203 </property> 204 <property name="spacing"> 205 <number>10</number> 206 </property> 207 <widget class="QLabel"> 208 <property name="name"> 209 <cstring>txType</cstring> 210 </property> 211 <property name="sizePolicy"> 212 <sizepolicy> 213 <hsizetype>1</hsizetype> 214 <vsizetype>5</vsizetype> 215 <horstretch>0</horstretch> 216 <verstretch>0</verstretch> 217 </sizepolicy> 218 </property> 219 <property name="text"> 220 <string><p>Select the type of the media you would like to use for installation purposes below.</p></string> 221 </property> 222 <property name="alignment"> 223 <set>WordBreak|AlignTop</set> 224 </property> 225 </widget> 226 <widget class="QLabel"> 227 <property name="name"> 228 <cstring>txTypeHD</cstring> 229 </property> 230 <property name="sizePolicy"> 231 <sizepolicy> 232 <hsizetype>1</hsizetype> 233 <vsizetype>5</vsizetype> 234 <horstretch>0</horstretch> 235 <verstretch>0</verstretch> 236 </sizepolicy> 237 </property> 238 <property name="text"> 239 <string><p>Select the type of the media you would like to use for booting an operating system.</p></string> 240 </property> 241 <property name="alignment"> 242 <set>WordBreak|AlignTop</set> 243 </property> 244 </widget> 245 <widget class="QButtonGroup"> 246 <property name="name"> 247 <cstring>bgType</cstring> 248 </property> 249 <property name="title"> 250 <string>Media Type</string> 251 </property> 252 <property name="exclusive"> 253 <bool>true</bool> 254 </property> 255 <vbox> 256 <property name="name"> 257 <cstring>unnamed</cstring> 258 </property> 259 <widget class="QRadioButton"> 260 <property name="name"> 261 <cstring>rbCdType</cstring> 262 </property> 263 <property name="focusPolicy"> 264 <enum>StrongFocus</enum> 265 </property> 266 <property name="text"> 267 <string>&CD/DVD-ROM Device</string> 268 </property> 269 <property name="checked"> 270 <bool>false</bool> 271 </property> 272 </widget> 273 <widget class="QRadioButton"> 274 <property name="name"> 275 <cstring>rbFdType</cstring> 276 </property> 277 <property name="focusPolicy"> 278 <enum>StrongFocus</enum> 279 </property> 280 <property name="text"> 281 <string>&Floppy Device</string> 282 </property> 283 </widget> 284 </vbox> 285 </widget> 286 <widget class="QLabel"> 287 <property name="name"> 288 <cstring>txSource</cstring> 289 </property> 290 <property name="sizePolicy"> 291 <sizepolicy> 292 <hsizetype>1</hsizetype> 293 <vsizetype>5</vsizetype> 294 <horstretch>0</horstretch> 295 <verstretch>0</verstretch> 296 </sizepolicy> 297 </property> 298 <property name="text"> 299 <string><p>Select the media which contains the setup program of the operating system you want to install. This media must be bootable, otherwise the setup program will not be able to start.</p></string> 300 </property> 301 <property name="alignment"> 302 <set>WordBreak|AlignTop</set> 303 </property> 304 </widget> 305 <widget class="QLabel"> 306 <property name="name"> 307 <cstring>txSourceHD</cstring> 308 </property> 309 <property name="sizePolicy"> 310 <sizepolicy> 311 <hsizetype>1</hsizetype> 312 <vsizetype>5</vsizetype> 313 <horstretch>0</horstretch> 314 <verstretch>0</verstretch> 315 </sizepolicy> 316 </property> 317 <property name="text"> 318 <string><p>Select the media that contains the operating system you want to work with. This media must be bootable, otherwise the operating system will not be able to start.</p></string> 319 </property> 320 <property name="alignment"> 321 <set>WordBreak|AlignTop</set> 322 </property> 323 </widget> 324 <widget class="QButtonGroup"> 325 <property name="name"> 326 <cstring>bgSource</cstring> 327 </property> 328 <property name="title"> 329 <string>Media Source</string> 330 </property> 331 <vbox> 332 <property name="name"> 333 <cstring>unnamed</cstring> 334 </property> 335 <widget class="QLayoutWidget"> 336 <property name="name"> 337 <cstring>ltHost</cstring> 338 </property> 339 <hbox> 340 <property name="name"> 341 <cstring>unnamed</cstring> 342 </property> 343 <widget class="QRadioButton"> 344 <property name="name"> 345 <cstring>rbHost</cstring> 346 </property> 347 <property name="focusPolicy"> 348 <enum>StrongFocus</enum> 349 </property> 350 <property name="text"> 351 <string>&Host Drive</string> 352 </property> 353 <property name="checked"> 354 <bool>false</bool> 355 </property> 356 </widget> 357 <widget class="QComboBox"> 358 <property name="name"> 359 <cstring>cbHost</cstring> 360 </property> 361 <property name="sizePolicy"> 362 <sizepolicy> 363 <hsizetype>1</hsizetype> 364 <vsizetype>0</vsizetype> 365 <horstretch>0</horstretch> 366 <verstretch>0</verstretch> 367 </sizepolicy> 368 </property> 369 </widget> 370 <spacer> 371 <property name="name"> 372 <cstring>spHost</cstring> 373 </property> 374 <property name="orientation"> 375 <enum>Horizontal</enum> 376 </property> 377 <property name="sizeType"> 378 <enum>Expanding</enum> 379 </property> 380 <property name="sizeHint"> 381 <size> 382 <width>161</width> 383 <height>21</height> 384 </size> 385 </property> 386 </spacer> 387 </hbox> 388 </widget> 389 <widget class="QLayoutWidget"> 390 <property name="name"> 391 <cstring>ltImage</cstring> 392 </property> 393 <hbox> 394 <property name="name"> 395 <cstring>unnamed</cstring> 396 </property> 397 <widget class="QRadioButton"> 398 <property name="name"> 399 <cstring>rbImage</cstring> 400 </property> 401 <property name="focusPolicy"> 402 <enum>StrongFocus</enum> 403 </property> 404 <property name="text"> 405 <string>&Image File</string> 406 </property> 407 </widget> 408 <spacer> 409 <property name="name"> 410 <cstring>spImage</cstring> 411 </property> 412 <property name="orientation"> 413 <enum>Horizontal</enum> 414 </property> 415 <property name="sizeType"> 416 <enum>Expanding</enum> 417 </property> 418 <property name="sizeHint"> 419 <size> 420 <width>211</width> 421 <height>20</height> 422 </size> 423 </property> 424 </spacer> 425 </hbox> 426 </widget> 427 <widget class="QLayoutWidget"> 428 <property name="name"> 429 <cstring>ltVdm</cstring> 430 </property> 431 <hbox> 432 <property name="name"> 433 <cstring>unnamed</cstring> 434 </property> 435 <widget class="QToolButton"> 436 <property name="name"> 437 <cstring>tbVdm</cstring> 438 </property> 439 <property name="focusPolicy"> 440 <enum>TabFocus</enum> 441 </property> 442 <property name="text"> 443 <string>VDM</string> 444 </property> 445 </widget> 446 </hbox> 447 </widget> 448 </vbox> 449 </widget> 450 <spacer> 451 <property name="name"> 452 <cstring>spSelect</cstring> 453 </property> 454 <property name="orientation"> 455 <enum>Vertical</enum> 456 </property> 457 <property name="sizeType"> 458 <enum>Expanding</enum> 459 </property> 460 <property name="sizeHint"> 461 <size> 462 <width>20</width> 463 <height>0</height> 464 </size> 465 </property> 466 </spacer> 467 </vbox> 468 </widget> 469 </hbox> 470 </widget> 471 <widget class="QWidget"> 472 <property name="name"> 473 <cstring>pageSummary</cstring> 474 </property> 475 <attribute name="title"> 476 <string>Summary</string> 477 </attribute> 478 <hbox> 479 <property name="name"> 480 <cstring>unnamed</cstring> 481 </property> 482 <property name="spacing"> 483 <number>20</number> 484 </property> 485 <property name="resizeMode"> 486 <enum>Minimum</enum> 487 </property> 488 <widget class="QLabel"> 489 <property name="name"> 490 <cstring>pmSummary</cstring> 491 </property> 492 <property name="sizePolicy"> 493 <sizepolicy> 494 <hsizetype>4</hsizetype> 495 <vsizetype>5</vsizetype> 496 <horstretch>0</horstretch> 497 <verstretch>0</verstretch> 498 </sizepolicy> 499 </property> 500 <property name="pixmap"> 501 <pixmap>:/vmw_new_harddisk.png</pixmap> 502 </property> 503 <property name="alignment"> 504 <set>AlignTop</set> 505 </property> 506 </widget> 507 <widget class="QLayoutWidget"> 508 <property name="name"> 509 <cstring>ltSummary</cstring> 510 </property> 511 <vbox> 512 <property name="name"> 513 <cstring>unnamed</cstring> 514 </property> 515 <property name="spacing"> 516 <number>10</number> 517 </property> 518 <widget class="QLabel"> 519 <property name="name"> 520 <cstring>txSummaryHdr</cstring> 521 </property> 522 <property name="sizePolicy"> 523 <sizepolicy> 524 <hsizetype>1</hsizetype> 525 <vsizetype>5</vsizetype> 526 <horstretch>0</horstretch> 527 <verstretch>0</verstretch> 528 </sizepolicy> 529 </property> 530 <property name="text"> 531 <string><p>You have selected the following media to boot from:</p></string> 532 </property> 533 <property name="alignment"> 534 <set>WordBreak|AlignTop</set> 535 </property> 536 </widget> 537 <widget class="QLabel"> 538 <property name="name"> 539 <cstring>txSummaryHdrHD</cstring> 540 </property> 541 <property name="sizePolicy"> 542 <sizepolicy> 543 <hsizetype>1</hsizetype> 544 <vsizetype>5</vsizetype> 545 <horstretch>0</horstretch> 546 <verstretch>0</verstretch> 547 </sizepolicy> 548 </property> 549 <property name="text"> 550 <string><p>You have selected the following media to boot an operating system from:</p></string> 551 </property> 552 <property name="alignment"> 553 <set>WordBreak|AlignTop</set> 554 </property> 555 </widget> 556 <widget class="QLabel"> 557 <property name="name"> 558 <cstring>txSummaryFtr</cstring> 559 </property> 560 <property name="sizePolicy"> 561 <sizepolicy> 562 <hsizetype>1</hsizetype> 563 <vsizetype>5</vsizetype> 564 <horstretch>0</horstretch> 565 <verstretch>0</verstretch> 566 </sizepolicy> 567 </property> 568 <property name="text"> 569 <string><p>If the above is correct, press the <b>Finish</b> button. Once you press it, the selected media will be temporarily mounted on the virtual machine and the machine will start execution.</p><p>Please note that when you close the virtual machine, the specified media will be automatically unmounted and the boot device will be set back to the first hard disk.</p><p>Depending on the type of the setup program, you may need to manually unmount (eject) the media after the setup program reboots the virtual machine, to prevent the installation process from starting again. You can do this by selecting the corresponding <b>Unmount...</b> action in the <b>Devices</b> menu.</p></string> 570 </property> 571 <property name="alignment"> 572 <set>WordBreak|AlignTop</set> 573 </property> 574 </widget> 575 <widget class="QLabel"> 576 <property name="name"> 577 <cstring>txSummaryFtrHD</cstring> 578 </property> 579 <property name="sizePolicy"> 580 <sizepolicy> 581 <hsizetype>1</hsizetype> 582 <vsizetype>5</vsizetype> 583 <horstretch>0</horstretch> 584 <verstretch>0</verstretch> 585 </sizepolicy> 586 </property> 587 <property name="text"> 588 <string><p>If the above is correct, press the <b>Finish</b> button. Once you press it, the selected media will be mounted on the virtual machine and the machine will start execution.</p></string> 589 </property> 590 <property name="alignment"> 591 <set>WordBreak|AlignTop</set> 592 </property> 593 </widget> 594 <spacer> 595 <property name="name"> 596 <cstring>spSummary</cstring> 597 </property> 598 <property name="orientation"> 599 <enum>Vertical</enum> 600 </property> 601 <property name="sizeType"> 602 <enum>Expanding</enum> 603 </property> 604 <property name="sizeHint"> 605 <size> 606 <width>20</width> 607 <height>0</height> 608 </size> 609 </property> 610 </spacer> 611 </vbox> 612 </widget> 613 </hbox> 614 </widget> 615 </widget> 616 <connections> 617 <connection> 618 <sender>rbCdType</sender> 619 <signal>clicked()</signal> 620 <receiver>VBoxVMFirstRunWzd</receiver> 621 <slot>mediaTypeChanged()</slot> 622 </connection> 623 <connection> 624 <sender>rbFdType</sender> 625 <signal>clicked()</signal> 626 <receiver>VBoxVMFirstRunWzd</receiver> 627 <slot>mediaTypeChanged()</slot> 628 </connection> 629 <connection> 630 <sender>rbHost</sender> 631 <signal>clicked()</signal> 632 <receiver>VBoxVMFirstRunWzd</receiver> 633 <slot>mediaSourceChanged()</slot> 634 </connection> 635 <connection> 636 <sender>rbImage</sender> 637 <signal>clicked()</signal> 638 <receiver>VBoxVMFirstRunWzd</receiver> 639 <slot>mediaSourceChanged()</slot> 640 </connection> 641 <connection> 642 <sender>tbVdm</sender> 643 <signal>clicked()</signal> 644 <receiver>VBoxVMFirstRunWzd</receiver> 645 <slot>openVdm()</slot> 646 </connection> 647 </connections> 648 <includes> 649 <include location="global" impldecl="in declaration">qvaluevector.h</include> 650 <include location="local" impldecl="in declaration">QIWidgetValidator.h</include> 651 <include location="local" impldecl="in declaration">COMDefs.h</include> 652 <include location="local" impldecl="in declaration">VBoxUtils.h</include> 653 <include location="local" impldecl="in implementation">VBoxGlobal.h</include> 654 <include location="local" impldecl="in implementation">VBoxMediaComboBox.h</include> 655 <include location="local" impldecl="in implementation">VBoxDiskImageManagerDlg.h</include> 656 </includes> 657 <forwards> 658 <forward>class VBoxMediaComboBox</forward> 659 <forward>class QITextEdit</forward> 660 </forwards> 661 <variables> 662 <variable access="private">QIWidgetValidator *wvalType;</variable> 663 <variable access="private">VBoxMediaComboBox *cbImage;</variable> 664 <variable access="private">QITextEdit *teSummary;</variable> 665 <variable access="private">CMachine machine;</variable> 666 <variable access="private">QValueVector < CHostDVDDrive > hostDVDs;</variable> 667 <variable access="private">QValueVector < CHostFloppyDrive > hostFloppys;</variable> 668 </variables> 669 <slots> 670 <slot>enableNext( const QIWidgetValidator* )</slot> 671 <slot>revalidate( QIWidgetValidator* )</slot> 672 <slot>mediaTypeChanged()</slot> 673 <slot>mediaSourceChanged()</slot> 674 <slot>openVdm()</slot> 675 </slots> 676 <functions> 677 <function access="private">init()</function> 678 <function>setup( const CMachine & )</function> 679 <function access="private">showEvent( QShowEvent* )</function> 680 <function>showPage( QWidget* )</function> 681 <function>accept()</function> 682 </functions> 683 <pixmapinproject/> 684 <layoutdefaults spacing="6" margin="11"/> 685 </UI> 827 </item> 828 </layout> 829 </widget> 830 <customwidgets> 831 <customwidget> 832 <class>QILabel</class> 833 <extends>QLabel</extends> 834 <header>QIAbstractWizardFramework.h</header> 835 </customwidget> 836 <customwidget> 837 <class>VBoxMediaComboBox</class> 838 <extends>QComboBox</extends> 839 <header>VBoxMediaComboBox.h</header> 840 </customwidget> 841 <customwidget> 842 <class>QITextEdit</class> 843 <extends>QTextEdit</extends> 844 <header>QIAbstractWizardFramework.h</header> 845 </customwidget> 846 </customwidgets> 847 <tabstops> 848 <tabstop>mBtnNext1</tabstop> 849 <tabstop>mBtnCancel1</tabstop> 850 <tabstop>mBtnBack2</tabstop> 851 <tabstop>mBtnNext2</tabstop> 852 <tabstop>mBtnCancel2</tabstop> 853 <tabstop>mBtnBack4</tabstop> 854 <tabstop>mBtnFinish</tabstop> 855 <tabstop>mBtnCancel4</tabstop> 856 </tabstops> 857 <resources> 858 <include location="../VirtualBox.qrc" /> 859 </resources> 860 <connections/> 861 </ui>
Note:
See TracChangeset
for help on using the changeset viewer.