VirtualBox

Changeset 87621 in vbox


Ignore:
Timestamp:
Feb 5, 2021 8:31:08 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142656
Message:

FE/Qt: bugref:9515. Changing the order of pages in expert mode.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIToolBox.cpp

    r87414 r87621  
    279279    if (m_pages.contains(iIndex))
    280280        return false;
     281
     282    /* Remove the stretch from the end of the layout: */
     283    QLayoutItem *pItem = m_pMainLayout->takeAt(m_pMainLayout->count() - 1);
     284    delete pItem;
     285
    281286    ++m_iPageCount;
    282287    UIToolBoxPage *pNewPage = new UIToolBoxPage(fAddEnableCheckBox, 0);;
     
    308313                     iTotalTitleHeight +
    309314                     iMaxPageHeight);
    310 
     315    /* Add stretch at the end: */
     316    m_pMainLayout->addStretch();
    311317    return iIndex;
    312318}
     
    354360    m_pMainLayout = new QVBoxLayout(this);
    355361    m_pMainLayout->addStretch();
    356     //m_pMainLayout->setContentsMargins(0, 0, 0, 0);
    357362
    358363    retranslateUi();
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic3.cpp

    r87612 r87621  
    6464    if (m_pEFICheckBox)
    6565    {
    66         m_pEFICheckBox->setText(UIWizardNewVM::tr("Enable &EFI (special OSes only)"));
    67         m_pEFICheckBox->setWhatsThis(UIWizardNewVM::tr("When checked, the guest will support the "
    68                                                        "Extended Firmware Interface (EFI), which is required to boot certain "
     66        m_pEFICheckBox->setText(UIWizardNewVM::tr("Enable EFI (special OSes only)"));
     67        m_pEFICheckBox->setToolTip(UIWizardNewVM::tr("When checked, the guest will support the\n"
     68                                                       "Extended Firmware Interface (EFI), which is required to boot certain\n"
    6969                                                       "guest OSes. Non-EFI aware OSes will not be able to boot if this option is activated."));
    7070    }
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageExpert.h

    r87612 r87621  
    100100        ExpertToolboxItems_NameAndOSType,
    101101        ExpertToolboxItems_Unattended,
    102         ExpertToolboxItems_Disk,
    103102        ExpertToolboxItems_Hardware,
     103        ExpertToolboxItems_Disk
    104104    };
    105105
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