Changeset 85039 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 2, 2020 6:13:37 AM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r84964 r85039 83 83 #include "CExtPackFile.h" 84 84 #include "CHostNetworkInterface.h" 85 #include "CUnattended.h" 85 86 #include "CVFSExplorer.h" 86 87 #include "CVirtualSystemDescription.h" … … 2261 2262 } 2262 2263 2264 void UIMessageCenter::cannotRunUnattendedGuestInstall(const CUnattended &comUnattendedInstall, QWidget *pParent /* = 0 */) 2265 { 2266 COMErrorInfo comErrorInfo = comUnattendedInstall.errorInfo(); \ 2267 error(pParent, MessageType_Error, 2268 tr("An error has occured during unattended guest install setup."), 2269 UIErrorString::formatErrorInfo(comErrorInfo)); 2270 } 2271 2272 2263 2273 void UIMessageCenter::showRuntimeError(const CConsole &console, bool fFatal, const QString &strErrorId, const QString &strErrorMsg) const 2264 2274 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r84217 r85039 446 446 bool cannotExportAppliance(const CProgress &comProgress, const QString &strPath, QWidget *pParent = 0) const; 447 447 bool cannotAddDiskEncryptionPassword(const CAppliance &comAppliance, QWidget *pParent = 0); 448 void cannotRunUnattendedGuestInstall(const CUnattended &comUnattendedInstall, QWidget *pParent = 0); 448 449 449 450 /* API: Runtime UI warnings: */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r85001 r85039 82 82 COMErrorInfo comErrorInfo = comUnattendedInstaller.errorInfo(); \ 83 83 QString strErrorInfo = UIErrorString::formatErrorInfo(comErrorInfo); \ 84 printf("unattended install error %s\n", qPrintable(strErrorInfo)); \84 msgCenter().cannotRunUnattendedGuestInstall(comUnattendedInstaller); \ 85 85 return; \ 86 86 } \ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicGAInstall.cpp
r85001 r85039 139 139 void UIWizardNewVMPageBasicGAInstall::retranslateUi() 140 140 { 141 /* Translate page: */142 setTitle(UIWizardNewVM::tr("Unattended Guest OS Install"));143 141 144 /* Translate widgets: */ 145 m_pLabel->setText(UIWizardNewVM::tr("<p>Guest Additions install</p>")); 146 m_pInstallGACheckBox->setText(UIWizardNewVM::tr("Install guest additions")); 147 m_pISOPathLabel->setText(UIWizardNewVM::tr("Installation medium:")); 148 m_pISOFilePathSelector->setToolTip(UIWizardNewVM::tr("Please select an installation medium (ISO file)")); 142 setTitle(UIWizardNewVM::tr("Guest Additions install")); 143 if (m_pLabel) 144 m_pLabel->setText(UIWizardNewVM::tr("<p>You can enable the guest additions install which will be performed during the unattended " 145 "guest OS install. </p>")); 146 147 if (m_pInstallGACheckBox) 148 m_pInstallGACheckBox->setText(UIWizardNewVM::tr("Install guest additions")); 149 if (m_pISOPathLabel) 150 m_pISOPathLabel->setText(UIWizardNewVM::tr("Installation medium:")); 151 if (m_pISOFilePathSelector) 152 m_pISOFilePathSelector->setToolTip(UIWizardNewVM::tr("Please select an installation medium (ISO file)")); 149 153 } 150 154 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasicUnattended.cpp
r85001 r85039 215 215 216 216 /* Translate widgets: */ 217 m_pLabel->setText(UIWizardNewVM::tr("You can enable the unattended (automated) guest OS install " 218 "and select an installation medium. The guest OS will be " 219 "installed after this wizard is closed. ")); 220 m_pUnattendedCheckBox->setText(UIWizardNewVM::tr("Enable unattended guest OS Install")); 217 m_pLabel->setText(UIWizardNewVM::tr("<p>You can enable the unattended (automated) guest OS install. " 218 "Optionally you can select to start the unattended on the background by selecting " 219 "a headless virtual machine start.</p>")); 220 if (m_pUnattendedCheckBox) 221 { 222 m_pUnattendedCheckBox->setText(UIWizardNewVM::tr("Enable unattended guest OS Install")); 223 m_pUnattendedCheckBox->setToolTip(UIWizardNewVM::tr("When checkedan unattended guest OS will be initialized after this wizard is closed")); 224 } 221 225 m_pISOSelectorLabel->setText(UIWizardNewVM::tr("Installation medium:")); 222 226 if (m_pStartHeadlessCheckBox)
Note:
See TracChangeset
for help on using the changeset viewer.