VirtualBox

Changeset 72932 in vbox


Ignore:
Timestamp:
Jul 6, 2018 11:30:18 AM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9152: Export Appliance wizard: Destination page: Do not use group-box in basic mode, it's for expert wizard mode only.

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

Legend:

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

    r72930 r72932  
    9292        }
    9393
    94         /* Create storage type container: */
    95         m_pTypeCnt = new QGroupBox;
    96         if (m_pTypeCnt)
     94        /* Create Local LocalFilesystem radio-button: */
     95        m_pTypeLocalFilesystem = new QRadioButton;
     96        if (m_pTypeLocalFilesystem)
    9797        {
    98             /* Create storage type container layout: */
    99             QVBoxLayout *pTypeCntLayout = new QVBoxLayout(m_pTypeCnt);
    100             if (pTypeCntLayout)
    101             {
    102                 /* Create Local LocalFilesystem radio-button: */
    103                 m_pTypeLocalFilesystem = new QRadioButton;
    104                 if (m_pTypeLocalFilesystem)
    105                 {
    106                     /* Add into layout: */
    107                     pTypeCntLayout->addWidget(m_pTypeLocalFilesystem);
    108                 }
    109                 /* Create CloudProvider radio-button: */
    110                 m_pTypeCloudServiceProvider = new QRadioButton;
    111                 if (m_pTypeCloudServiceProvider)
    112                 {
    113                     /* Add into layout: */
    114                     pTypeCntLayout->addWidget(m_pTypeCloudServiceProvider);
    115                 }
    116             }
    117 
    11898            /* Add into layout: */
    119             pMainLayout->addWidget(m_pTypeCnt);
     99            pMainLayout->addWidget(m_pTypeLocalFilesystem);
     100        }
     101        /* Create CloudProvider radio-button: */
     102        m_pTypeCloudServiceProvider = new QRadioButton;
     103        if (m_pTypeCloudServiceProvider)
     104        {
     105            /* Add into layout: */
     106            pMainLayout->addWidget(m_pTypeCloudServiceProvider);
    120107        }
    121108
     
    141128{
    142129    /* Translate page: */
    143     setTitle(UIWizardExportApp::tr("Appliance settings"));
     130    setTitle(UIWizardExportApp::tr("Create on"));
    144131
    145132    /* Translate widgets: */
     
    147134                                            "You can create it on your own computer "
    148135                                            "or on one of cloud servers you have registered."));
    149     m_pTypeCnt->setTitle(UIWizardExportApp::tr("Create on"));
    150136    m_pTypeLocalFilesystem->setText(UIWizardExportApp::tr("&This computer"));
    151137    m_pTypeCloudServiceProvider->setText(UIWizardExportApp::tr("&Cloud Service Provider"));
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.h

    r72930 r72932  
    4545    void setStorageType(StorageType enmStorageType);
    4646
    47     /** Holds the storage type container instance. */
    48     QGroupBox    *m_pTypeCnt;
    4947    /** Holds the Local Filesystem radio-button. */
    5048    QRadioButton *m_pTypeLocalFilesystem;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.h

    r72920 r72932  
    9494    /** Holds the appliance widget container reference. */
    9595    QGroupBox *m_pApplianceCnt;
     96    /** Holds the storage type container instance. */
     97    QGroupBox *m_pTypeCnt;
    9698    /** Holds the settings widget container reference. */
    9799    QGroupBox *m_pSettingsCnt;
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