VirtualBox

Ignore:
Timestamp:
Mar 2, 2022 2:41:57 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Global preferences: Get rid of QIComboBox objects for Update page.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUpdateSettingsEditor.cpp

    r93986 r94059  
    1919#include <QButtonGroup>
    2020#include <QCheckBox>
     21#include <QComboBox>
    2122#include <QGridLayout>
    2223#include <QLabel>
     
    2425
    2526/* GUI includes: */
    26 #include "QIComboBox.h"
    2727#include "UIUpdateSettingsEditor.h"
    2828
     
    198198                }
    199199                /* Prepare update period combo: */
    200                 m_pComboUpdatePeriod = new QIComboBox(m_pWidgetUpdateSettings);
     200                m_pComboUpdatePeriod = new QComboBox(m_pWidgetUpdateSettings);
    201201                if (m_pComboUpdatePeriod)
    202202                {
     
    266266        connect(m_pCheckBox, &QCheckBox::toggled, this, &UIUpdateSettingsEditor::sltHandleUpdateToggle);
    267267    if (m_pComboUpdatePeriod)
    268         connect(m_pComboUpdatePeriod, static_cast<void(QIComboBox::*)(int)>(&QIComboBox::activated),
     268        connect(m_pComboUpdatePeriod, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated),
    269269                this, &UIUpdateSettingsEditor::sltHandleUpdatePeriodChange);
    270270}
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUpdateSettingsEditor.h

    r93990 r94059  
    3333class QButtonGroup;
    3434class QCheckBox;
     35class QComboBox;
    3536class QLabel;
    36 class QIComboBox;
    3737
    3838/** QWidget subclass used as a update settings editor. */
     
    8383     * @{ */
    8484        /** Holds the update check-box instance. */
    85         QCheckBox    *m_pCheckBox;
     85        QCheckBox *m_pCheckBox;
    8686        /** Holds the update settings widget instance. */
    87         QWidget      *m_pWidgetUpdateSettings;
     87        QWidget   *m_pWidgetUpdateSettings;
    8888        /** Holds the update period label instance. */
    89         QLabel       *m_pLabelUpdatePeriod;
     89        QLabel    *m_pLabelUpdatePeriod;
    9090        /** Holds the update period combo instance. */
    91         QIComboBox  *m_pComboUpdatePeriod;
     91        QComboBox *m_pComboUpdatePeriod;
    9292        /** Holds the update date label instance. */
    93         QLabel       *m_pLabelUpdateDate;
     93        QLabel    *m_pLabelUpdateDate;
    9494        /** Holds the update date field instance. */
    95         QLabel       *m_pFieldUpdateDate;
     95        QLabel    *m_pFieldUpdateDate;
    9696        /** Holds the update filter label instance. */
    97         QLabel       *m_pLabelUpdateFilter;
     97        QLabel    *m_pLabelUpdateFilter;
    9898
    9999        /** Holds the radio button group instance. */
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