Changeset 78970 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jun 4, 2019 3:02:03 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic2.cpp
r78893 r78970 44 44 } 45 45 46 void UIWizardImportAppPage2::populateFormPropertiesTable()47 {48 CVirtualSystemDescriptionForm comForm = fieldImp("vsdForm").value<CVirtualSystemDescriptionForm>();49 if (comForm.isNotNull())50 m_pFormEditor->setVirtualSystemDescriptionForm(comForm);51 }52 53 46 void UIWizardImportAppPage2::updatePageAppearance() 54 47 { … … 57 50 /* Update page appearance according to chosen source: */ 58 51 m_pSettingsCntLayout->setCurrentIndex((int)fIsSourceCloudOne); 52 } 53 54 void UIWizardImportAppPage2::refreshFormPropertiesTable() 55 { 56 /* Acquire VSD form: */ 57 CVirtualSystemDescriptionForm comForm = fieldImp("vsdForm").value<CVirtualSystemDescriptionForm>(); 58 /* Make sure the properties table get the new description form: */ 59 if (comForm.isNotNull()) 60 m_pFormEditor->setVirtualSystemDescriptionForm(comForm); 59 61 } 60 62 … … 200 202 const bool fIsSourceCloudOne = field("isSourceCloudOne").toBool(); 201 203 if (fIsSourceCloudOne) 202 populateFormPropertiesTable();204 refreshFormPropertiesTable(); 203 205 else 204 206 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic2.h
r78853 r78970 40 40 UIWizardImportAppPage2(); 41 41 42 /** Populates form properties table. */43 void populateFormPropertiesTable();44 45 42 /** Updates page appearance. */ 46 43 virtual void updatePageAppearance(); 44 45 /** Refreshes form properties table. */ 46 void refreshFormPropertiesTable(); 47 47 48 48 /** Returns appliance widget instance. */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
r78894 r78970 258 258 /* Populate form properties: */ 259 259 populateFormProperties(); 260 populateFormPropertiesTable();260 refreshFormPropertiesTable(); 261 261 262 262 /* Setup connections: */ … … 433 433 populateAccountInstances(); 434 434 populateFormProperties(); 435 populateFormPropertiesTable();435 refreshFormPropertiesTable(); 436 436 emit completeChanged(); 437 437 } … … 456 456 populateAccountInstances(); 457 457 populateFormProperties(); 458 populateFormPropertiesTable();458 refreshFormPropertiesTable(); 459 459 emit completeChanged(); 460 460 } … … 470 470 { 471 471 populateFormProperties(); 472 populateFormPropertiesTable();472 refreshFormPropertiesTable(); 473 473 emit completeChanged(); 474 474 }
Note:
See TracChangeset
for help on using the changeset viewer.