Changeset 85056 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 3, 2020 2:59:53 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138959
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic2.cpp
r85055 r85056 27 27 #include "QIRichTextLabel.h" 28 28 #include "UIFilePathSelector.h" 29 #include "UIIconPool.h" 29 30 #include "UIUserNamePasswordEditor.h" 30 31 #include "UIWizardNewVMPageBasic2.h" … … 177 178 pGridLayout->addWidget(m_pHostnameLineEdit, 3, 1, 1, 3); 178 179 179 m_pToolBox->insertItem(Tabs_UserNameHostname, pContainer, QString());180 m_pToolBox->insertItem(Tabs_UserNameHostname, pContainer, UIIconPool::iconSet(":/cloud_profile_manager_16px.png"), QString()); 180 181 181 182 } … … 209 210 pContainerLayout->addWidget(m_pISOFilePathSelector, 1, 2, 1, 4); 210 211 211 m_pToolBox->insertItem(Tabs_GAInstall, pContainer, QString());212 m_pToolBox->insertItem(Tabs_GAInstall, pContainer, UIIconPool::iconSet(":/cloud_profile_manager_16px.png"), QString()); 212 213 } 213 214 … … 226 227 pGridLayout->addWidget(m_pProductKeyLineEdit, 0, 1, 1, 3); 227 228 228 m_pToolBox->insertItem(Tabs_ProductKey, pContainer, QString());229 m_pToolBox->insertItem(Tabs_ProductKey, pContainer, UIIconPool::iconSet(":/cloud_profile_manager_16px.png"), QString()); 229 230 } 230 231 231 232 void UIWizardNewVMPageBasic2::retranslateUi() 232 233 { 233 setTitle(UIWizardNewVM::tr("U ser Name/Password and Hostname Settings"));234 setTitle(UIWizardNewVM::tr("Unattended Guest OS Install Setup")); 234 235 if (m_pLabel) 235 m_pLabel->setText(UIWizardNewVM::tr("<p>Here you can specify the user name/password and hostname. " 236 "The values you enter here will be used during the unattended install.</p>")); 236 m_pLabel->setText(UIWizardNewVM::tr("<p>Here you can configure the unattended install by modifying user name, password, and " 237 "hostname. You can additionally enable guest additions install and a product key for " 238 "Microsoft Windows guests.</p>")); 237 239 if (m_pHostnameLabel) 238 240 m_pHostnameLabel->setText(UIWizardNewVM::tr("Hostname:")); … … 282 284 } 283 285 286 284 287 void UIWizardNewVMPageBasic2::sltInstallGACheckBoxToggle(bool fEnabled) 285 288 { -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic2.h
r85055 r85056 105 105 106 106 virtual void showEvent(QShowEvent *pEvent) /* override */; 107 /** Don't reset the user entered values in case of "back" button press. */ 108 virtual void cleanupPage() /* override */; 107 109 108 110 private slots: … … 123 125 bool isProductKeyWidgetVisible() const; 124 126 125 /** Override the default behavior which resets the fields to proginal values. */126 void cleanupPage() /* override */;127 128 127 QIRichTextLabel *m_pLabel; 129 128 };
Note:
See TracChangeset
for help on using the changeset viewer.