VirtualBox

Changeset 88109 in vbox


Ignore:
Timestamp:
Mar 12, 2021 5:14:38 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9950. Adding a check box

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp

    r88108 r88109  
    181181    : m_pNameAndSystemEditor(0)
    182182    , m_pISOPathSelectorLabel(0)
     183    , m_pSkipUnattendedCheckBox(0)
    183184    , m_strGroup(strGroup)
    184185{
     
    348349void UIWizardNewVMPage1::retranslateWidgets()
    349350{
     351    if (m_pSkipUnattendedCheckBox)
     352    {
     353        m_pSkipUnattendedCheckBox->setText(UIWizardNewVM::tr("Skip unattended installation"));
     354        m_pSkipUnattendedCheckBox->setToolTip(UIWizardNewVM::tr("<p>When checked selected ISO file will be mounted to the CD drive "
     355                                                                "of the virtual machine but the unattended installation will "
     356                                                                "not start</p>"));
     357    }
    350358}
    351359
     
    430438        /* Prepare Name and OS Type editor: */
    431439        pPageLayout->addWidget(createNameOSTypeWidgets());
     440
     441        m_pSkipUnattendedCheckBox = new QCheckBox;
     442        pPageLayout->addWidget(m_pSkipUnattendedCheckBox);
     443
    432444        pPageLayout->addStretch();
    433445    }
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.h

    r88108 r88109  
    8989        UINameAndSystemEditor *m_pNameAndSystemEditor;
    9090        QLabel                *m_pISOPathSelectorLabel;
     91        QCheckBox             *m_pSkipUnattendedCheckBox;
    9192    /** @} */
    9293
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