Changeset 78274 in vbox for trunk/src/VBox
- Timestamp:
- Apr 24, 2019 2:38:53 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic2.cpp
r78260 r78274 40 40 UIWizardImportAppPage2::UIWizardImportAppPage2() 41 41 { 42 } 43 44 void UIWizardImportAppPage2::populateFormPropertiesTable() 45 { 46 CVirtualSystemDescriptionForm comForm = fieldImp("vsdForm").value<CVirtualSystemDescriptionForm>(); 47 if (comForm.isNotNull()) 48 m_pFormEditor->setVirtualSystemDescriptionForm(comForm); 42 49 } 43 50 … … 157 164 158 165 if (fIsSourceCloudOne) 159 m_pFormEditor->setVirtualSystemDescriptionForm(field("vsdForm").value<CVirtualSystemDescriptionForm>());166 populateFormPropertiesTable(); 160 167 else 161 168 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic2.h
r78217 r78274 39 39 UIWizardImportAppPage2(); 40 40 41 /** Populates form properties table. */ 42 void populateFormPropertiesTable(); 43 41 44 /** Returns appliance widget instance. */ 42 45 ImportAppliancePointer applianceWidget() const { return m_pApplianceWidget; } … … 60 63 UIWizardImportAppPageBasic2(const QString &strFileName); 61 64 62 private: 65 protected: 66 67 /** Allows to access 'field()' from base part. */ 68 virtual QVariant fieldImp(const QString &strFieldName) const /* override */ { return UIWizardPage::field(strFieldName); } 63 69 64 70 /** Handles translation event. */ … … 76 82 virtual bool validatePage() /* override */; 77 83 84 private: 85 78 86 /** Holds the label instance. */ 79 87 QIRichTextLabel *m_pLabel; … … 90 98 91 99 /** Holds the "signed by" information. */ 92 QString m_strSignedBy;100 QString m_strSignedBy; 93 101 }; 94 102
Note:
See TracChangeset
for help on using the changeset viewer.