VirtualBox

Ignore:
Timestamp:
Oct 20, 2023 2:42:35 PM (16 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159599
Message:

FE/Qt: bugref:10513: UIMachineSettingsNetwork: Make sure adapters from 2nd for 4th invisible in Basic experience mode (are they excessive?).

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp

    r101497 r101522  
    854854}
    855855
     856void UIMachineSettingsNetworkPage::filterOut(bool fExpertMode, const QString &strFilter)
     857{
     858    /* Call to base class: */
     859    UISettingsPageMachine::filterOut(fExpertMode, strFilter);
     860
     861    /* Show tabs from 2nd to 4th in expert mode only: */
     862    if (m_pTabWidget)
     863        for (int i = 1; i < m_pTabWidget->count(); ++i)
     864            m_pTabWidget->setTabVisible(i, m_fInExpertMode);
     865}
     866
    856867void UIMachineSettingsNetworkPage::sltHandleAlternativeNameChange()
    857868{
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.h

    r98103 r101522  
    103103    virtual void polishPage() RT_OVERRIDE;
    104104
     105    /** Filters out contents.
     106      * @param  fExpertMode  Brings whether settings expert mode is requested.
     107      * @param  strFilter    Brings the filter description should correspond to. */
     108    virtual void filterOut(bool fExpertMode, const QString &strFilter) RT_OVERRIDE;
     109
    105110private slots:
    106111
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