Changeset 72932 in vbox
- Timestamp:
- Jul 6, 2018 11:30:18 AM (6 years ago)
- 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 92 92 } 93 93 94 /* Create storage type container: */95 m_pType Cnt = new QGroupBox;96 if (m_pType Cnt)94 /* Create Local LocalFilesystem radio-button: */ 95 m_pTypeLocalFilesystem = new QRadioButton; 96 if (m_pTypeLocalFilesystem) 97 97 { 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 118 98 /* 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); 120 107 } 121 108 … … 141 128 { 142 129 /* Translate page: */ 143 setTitle(UIWizardExportApp::tr(" Appliance settings"));130 setTitle(UIWizardExportApp::tr("Create on")); 144 131 145 132 /* Translate widgets: */ … … 147 134 "You can create it on your own computer " 148 135 "or on one of cloud servers you have registered.")); 149 m_pTypeCnt->setTitle(UIWizardExportApp::tr("Create on"));150 136 m_pTypeLocalFilesystem->setText(UIWizardExportApp::tr("&This computer")); 151 137 m_pTypeCloudServiceProvider->setText(UIWizardExportApp::tr("&Cloud Service Provider")); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.h
r72930 r72932 45 45 void setStorageType(StorageType enmStorageType); 46 46 47 /** Holds the storage type container instance. */48 QGroupBox *m_pTypeCnt;49 47 /** Holds the Local Filesystem radio-button. */ 50 48 QRadioButton *m_pTypeLocalFilesystem; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.h
r72920 r72932 94 94 /** Holds the appliance widget container reference. */ 95 95 QGroupBox *m_pApplianceCnt; 96 /** Holds the storage type container instance. */ 97 QGroupBox *m_pTypeCnt; 96 98 /** Holds the settings widget container reference. */ 97 99 QGroupBox *m_pSettingsCnt;
Note:
See TracChangeset
for help on using the changeset viewer.