VirtualBox

Changeset 79656 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 10, 2019 8:21:59 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131964
Message:

FE/Qt: bugref:9495: New Cloud VM wizard: Make it possible to omit final (creating/launching) step making this wizard able to gather information without actual VM creating/launching; it's required for 2 phase'd export, s.a. bugref:9489.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.cpp

    r79580 r79656  
    3434    , m_comVSD(comDescription)
    3535    , m_fFullWizard(m_comClient.isNull() || m_comVSD.isNull())
     36    , m_fFinalStepPrevented(false)
    3637{
    3738#ifndef VBOX_WS_MAC
     
    122123    do
    123124    {
     125        /* Do nothing if prevented: */
     126        if (m_fFinalStepPrevented)
     127        {
     128            fResult = true;
     129            break;
     130        }
     131
    124132        /* Acquire prepared client and description: */
    125133        CCloudClient comClient = client();
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.h

    r79580 r79656  
    6161    virtual void prepare() /* override */;
    6262
     63    /** Sets whether the final step is @a fPrevented. */
     64    void setFinalStepPrevented(bool fPrevented) { m_fFinalStepPrevented = fPrevented; }
     65
    6366    /** Defines Cloud @a comClient object. */
    6467    void setClient(const CCloudClient &comClient) { m_comClient = comClient; }
     
    98101    /** Holds whether we want full wizard form or short one. */
    99102    bool  m_fFullWizard;
     103    /** Holds whether the final step is prevented. */
     104    bool  m_fFinalStepPrevented;
    100105};
    101106
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