Changeset 73009 in vbox
- Timestamp:
- Jul 9, 2018 12:39:29 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp
r73007 r73009 72 72 } 73 73 74 void UIWizardExportAppPage3:: refreshCurrentSettings()75 { 76 /* Setup components forchosen storage-type: */74 void UIWizardExportAppPage3::updatePageAppearance() 75 { 76 /* Update page appearance according to chosen storage-type: */ 77 77 const StorageType enmStorageType = fieldImp("storageType").value<StorageType>(); 78 78 switch (enmStorageType) … … 103 103 } 104 104 } 105 105 } 106 107 void UIWizardExportAppPage3::refreshCurrentSettings() 108 { 106 109 /* Compose file-name: */ 107 110 QString strName; … … 142 145 143 146 /* Copose file-path for 'LocalFilesystem' storage case: */ 147 const StorageType enmStorageType = fieldImp("storageType").value<StorageType>(); 144 148 if (enmStorageType == LocalFilesystem) 145 149 strName = QDir::toNativeSeparators(QString("%1/%2").arg(vboxGlobal().documentsPath()).arg(strName)); … … 391 395 /* Refresh current settings: */ 392 396 refreshCurrentSettings(); 397 398 /* Update page appearance: */ 399 updatePageAppearance(); 400 401 /* Update tool-tips: */ 393 402 updateFormatComboToolTip(); 394 403 updateProviderComboToolTip(); … … 435 444 } 436 445 437 void UIWizardExportAppPageBasic3:: refreshCurrentSettings()438 { 439 /* Refresh base-class settings: */440 UIWizardExportAppPage3:: refreshCurrentSettings();441 442 /* Setup components forchosen storage-type: */446 void UIWizardExportAppPageBasic3::updatePageAppearance() 447 { 448 /* Call to base-class: */ 449 UIWizardExportAppPage3::updatePageAppearance(); 450 451 /* Update page appearance according to chosen storage-type: */ 443 452 const StorageType enmStorageType = field("storageType").value<StorageType>(); 444 453 switch (enmStorageType) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.h
r73007 r73009 48 48 void chooseDefaultSettings(); 49 49 50 /** Updates page appearance. */ 51 virtual void updatePageAppearance(); 52 50 53 /** Refreshes current settings. */ 51 v irtual void refreshCurrentSettings();54 void refreshCurrentSettings(); 52 55 53 56 /** Updates format combo tool-tips. */ 54 v irtual void updateFormatComboToolTip();57 void updateFormatComboToolTip(); 55 58 /** Updates provider combo tool-tips. */ 56 v irtual void updateProviderComboToolTip();59 void updateProviderComboToolTip(); 57 60 58 61 /** Returns path. */ … … 129 132 virtual bool isComplete() const /* override */; 130 133 131 /** Refreshes current settings. */132 virtual void refreshCurrentSettings() /* override */;134 /** Updates page appearance. */ 135 virtual void updatePageAppearance() /* override */; 133 136 134 137 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.