VirtualBox

Ignore:
Timestamp:
Jul 3, 2020 2:59:53 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138959
Message:

FE/Qt: bugref:9515. Some fixes

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  
    2727#include "QIRichTextLabel.h"
    2828#include "UIFilePathSelector.h"
     29#include "UIIconPool.h"
    2930#include "UIUserNamePasswordEditor.h"
    3031#include "UIWizardNewVMPageBasic2.h"
     
    177178    pGridLayout->addWidget(m_pHostnameLineEdit, 3, 1, 1, 3);
    178179
    179     m_pToolBox->insertItem(Tabs_UserNameHostname, pContainer, QString());
     180    m_pToolBox->insertItem(Tabs_UserNameHostname, pContainer, UIIconPool::iconSet(":/cloud_profile_manager_16px.png"), QString());
    180181
    181182}
     
    209210    pContainerLayout->addWidget(m_pISOFilePathSelector, 1, 2, 1, 4);
    210211
    211     m_pToolBox->insertItem(Tabs_GAInstall, pContainer, QString());
     212    m_pToolBox->insertItem(Tabs_GAInstall, pContainer, UIIconPool::iconSet(":/cloud_profile_manager_16px.png"), QString());
    212213}
    213214
     
    226227    pGridLayout->addWidget(m_pProductKeyLineEdit, 0, 1, 1, 3);
    227228
    228     m_pToolBox->insertItem(Tabs_ProductKey, pContainer, QString());
     229    m_pToolBox->insertItem(Tabs_ProductKey, pContainer, UIIconPool::iconSet(":/cloud_profile_manager_16px.png"), QString());
    229230}
    230231
    231232void UIWizardNewVMPageBasic2::retranslateUi()
    232233{
    233     setTitle(UIWizardNewVM::tr("User Name/Password and Hostname Settings"));
     234    setTitle(UIWizardNewVM::tr("Unattended Guest OS Install Setup"));
    234235    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>"));
    237239    if (m_pHostnameLabel)
    238240        m_pHostnameLabel->setText(UIWizardNewVM::tr("Hostname:"));
     
    282284}
    283285
     286
    284287void UIWizardNewVMPageBasic2::sltInstallGACheckBoxToggle(bool fEnabled)
    285288{
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic2.h

    r85055 r85056  
    105105
    106106    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 */;
    107109
    108110private slots:
     
    123125    bool isProductKeyWidgetVisible() const;
    124126
    125     /** Override the default behavior which resets the fields to proginal values. */
    126     void cleanupPage() /* override */;
    127 
    128127    QIRichTextLabel *m_pLabel;
    129128};
Note: See TracChangeset for help on using the changeset viewer.

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