Changeset 35234 in vbox for trunk/src/VBox
- Timestamp:
- Dec 20, 2010 9:40:31 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69079
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIWizard.cpp
r29723 r35234 205 205 } 206 206 207 void QIWizardPage::startProcessing() 208 { 209 if (isFinalPage()) 210 wizard()->button(QWizard::FinishButton)->setEnabled(false); 211 } 212 213 void QIWizardPage::endProcessing() 214 { 215 if (isFinalPage()) 216 wizard()->button(QWizard::FinishButton)->setEnabled(true); 217 } 218 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIWizard.h
r29722 r35234 69 69 QString standardHelpText() const; 70 70 71 void startProcessing(); 72 void endProcessing(); 73 71 74 private: 72 75 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIExportApplianceWzd.cpp
r34530 r35234 517 517 bool UIExportApplianceWzdPage4::validatePage() 518 518 { 519 return exportAppliance(); 519 startProcessing(); 520 bool fResult = exportAppliance(); 521 endProcessing(); 522 return fResult; 520 523 } 521 524 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/firstrun/UIFirstRunWzd.cpp
r33882 r35234 305 305 bool UIFirstRunWzdPage3::validatePage() 306 306 { 307 return insertDevice(); 307 startProcessing(); 308 bool fResult = insertDevice(); 309 endProcessing(); 310 return fResult; 308 311 } 309 312 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIImportApplianceWzd.cpp
r34496 r35234 252 252 bool UIImportApplianceWzdPage2::validatePage() 253 253 { 254 startProcessing(); 255 bool fResult = import(); 256 endProcessing(); 257 return fResult; 258 } 259 260 bool UIImportApplianceWzdPage2::import() 261 { 254 262 /* Make sure the final values are puted back */ 255 263 m_pSettingsCnt->prepareImport(); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIImportApplianceWzd.h
r34496 r35234 118 118 119 119 bool validatePage(); 120 bool import(); 120 121 121 122 private: -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newhd/UINewHDWzd.cpp
r34983 r35234 485 485 bool UINewHDWzdPage4::validatePage() 486 486 { 487 startProcessing(); 487 488 /* Try to construct hard disk */ 488 return createHardDisk(); 489 bool fResult = createHardDisk(); 490 endProcessing(); 491 return fResult; 489 492 } 490 493 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r35120 r35234 688 688 bool UINewVMWzdPage5::validatePage() 689 689 { 690 startProcessing(); 690 691 /* Try to construct machine */ 691 return constructMachine(); 692 bool fResult = constructMachine(); 693 endProcessing(); 694 return fResult; 692 695 } 693 696 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/registration/UIRegistrationWzd.cpp
r33550 r35234 568 568 569 569 bool UIRegistrationWzdPage1::validatePage() 570 { 571 startProcessing(); 572 bool fResult = registration(); 573 endProcessing(); 574 return fResult; 575 } 576 577 bool UIRegistrationWzdPage1::registration() 570 578 { 571 579 /* Create registration engine */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/registration/UIRegistrationWzd.h
r28800 r35234 64 64 bool isComplete() const; 65 65 bool validatePage(); 66 bool registration(); 66 67 67 68 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.