VirtualBox

Ignore:
Timestamp:
Jul 5, 2019 2:15:59 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131844
Message:

FE/Qt: bugref:9484: Export Appliance wizard: Expert page: A bit of improvements for Export to OCI action handling in Expert mode; This requires much more polishing than usual Basic mode.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.cpp

    r78994 r79557  
    242242    /* Now, when we are ready, we can
    243243     * fast traver to page 2 if requested: */
    244     if (m_fFastTraverToExportOCI)
     244    if (   mode() == WizardMode_Basic
     245        && m_fFastTraverToExportOCI)
    245246        button(QWizard::NextButton)->click();
    246247}
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp

    r79542 r79557  
    5050UIWizardExportAppPageExpert::UIWizardExportAppPageExpert(const QStringList &selectedVMNames, bool fExportToOCIByDefault)
    5151    : UIWizardExportAppPage2(fExportToOCIByDefault)
     52    , m_fPolished(false)
    5253    , m_pSelectorCnt(0)
    5354    , m_pApplianceCnt(0)
     
    391392    /* Populate MAC address policies: */
    392393    populateMACAddressPolicies();
    393     /* Populate accounts: */
    394     populateAccounts();
    395     /* Populate account properties: */
    396     populateAccountProperties();
    397     /* Populate form properties: */
    398     populateFormProperties();
    399394
    400395    /* Setup connections: */
     
    534529void UIWizardExportAppPageExpert::initializePage()
    535530{
     531    /* If wasn't polished yet: */
     532    if (!m_fPolished)
     533    {
     534        QMetaObject::invokeMethod(this, "sltHandleFormatComboChange", Qt::QueuedConnection);
     535        m_fPolished = true;
     536    }
     537
    536538    /* Translate page: */
    537539    retranslateUi();
    538 
    539     /* Refresh file selector name: */
    540     // refreshFileSelectorName(); already called from retranslateUi();
    541     /* Refresh file selector extension: */
    542     refreshFileSelectorExtension();
    543     /* Refresh manifest check-box access: */
    544     refreshManifestCheckBoxAccess();
    545     /* Refresh include ISOs check-box access: */
    546     refreshIncludeISOsCheckBoxAccess();
    547 
    548     /* Check whether there was cloud target selected: */
    549     const bool fIsFormatCloudOne = field("isFormatCloudOne").toBool();
    550     if (fIsFormatCloudOne)
    551         refreshFormPropertiesTable();
    552     else
    553         refreshApplianceSettingsWidget();
    554540}
    555541
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.h

    r79542 r79557  
    104104private:
    105105
     106    /** Holds whether starting page was polished. */
     107    bool  m_fPolished;
     108
    106109    /** Holds the VM selector container instance. */
    107110    QGroupBox *m_pSelectorCnt;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette