VirtualBox

Changeset 79816 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 16, 2019 5:38:52 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9495: New Cloud VM wizard: Ability to propagate parent wizard mode; Using it from within Export Appliance wizard.

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

Legend:

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

    r79699 r79816  
    331331                    CVirtualSystemDescription comDescription = field("vsd").value<CVirtualSystemDescription>();
    332332                    /* Create and run wizard as modal dialog, but prevent final step: */
    333                     pNewCloudVMWizard = new UIWizardNewCloudVM(this, comClient, comDescription);
     333                    pNewCloudVMWizard = new UIWizardNewCloudVM(this, comClient, comDescription, mode());
    334334                    pNewCloudVMWizard->setFinalStepPrevented(true);
    335335                    pNewCloudVMWizard->prepare();
     
    392392                    /* Create and run short wizard mode as modal dialog: */
    393393                    QWidget *pWizardParent = windowManager().realParentWindow(this);
    394                     pNewCloudVMWizard = new UIWizardNewCloudVM(pWizardParent, comClient, comDescription);
     394                    pNewCloudVMWizard = new UIWizardNewCloudVM(pWizardParent, comClient, comDescription, mode());
    395395                    windowManager().registerNewParent(pNewCloudVMWizard, pWizardParent);
    396396                    pNewCloudVMWizard->prepare();
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.cpp

    r79700 r79816  
    3232UIWizardNewCloudVM::UIWizardNewCloudVM(QWidget *pParent,
    3333                                       const CCloudClient &comClient /* = CCloudClient() */,
    34                                        const CVirtualSystemDescription &comDescription /* = CVirtualSystemDescription() */)
    35     : UIWizard(pParent, WizardType_NewCloudVM)
     34                                       const CVirtualSystemDescription &comDescription /* = CVirtualSystemDescription() */,
     35                                       WizardMode enmMode /* = WizardMode_Auto */)
     36    : UIWizard(pParent, WizardType_NewCloudVM, enmMode)
    3637    , m_comClient(comClient)
    3738    , m_comVSD(comDescription)
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.h

    r79682 r79816  
    5656    UIWizardNewCloudVM(QWidget *pParent,
    5757                       const CCloudClient &comClient = CCloudClient(),
    58                        const CVirtualSystemDescription &comDescription = CVirtualSystemDescription());
     58                       const CVirtualSystemDescription &comDescription = CVirtualSystemDescription(),
     59                       WizardMode enmMode = WizardMode_Auto);
    5960
    6061    /** Prepares all. */
Note: See TracChangeset for help on using the changeset viewer.

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