VirtualBox

Changeset 105742 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 20, 2024 6:18:33 PM (3 months ago)
Author:
vboxsync
Message:

FE/Qt: Wizards stuff: Make sure QIComboBox isn't used in wizards, no point in this since we have migrated to Qt 6.x.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/wizards
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp

    r105626 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2727
    2828/* Qt includes: */
     29#include <QComboBox>
    2930#include <QGridLayout>
    3031#include <QHBoxLayout>
     
    3637
    3738/* GUI includes: */
    38 #include "QIComboBox.h"
    3939#include "QIListWidget.h"
    4040#include "QIToolButton.h"
     
    7676
    7777        /* Prepare provider combo-box: */
    78         m_pProviderComboBox = new QIComboBox(this);
     78        m_pProviderComboBox = new QComboBox(this);
    7979        if (m_pProviderComboBox)
    8080        {
     
    9696
    9797            /* Prepare profile combo-box: */
    98             m_pProfileComboBox = new QIComboBox(this);
     98            m_pProfileComboBox = new QComboBox(this);
    9999            if (m_pProfileComboBox)
    100100            {
     
    149149    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged,
    150150            this, &UIWizardAddCloudVMPageExpert::sltHandleProviderComboChange);
    151     connect(m_pProviderComboBox, &QIComboBox::activated,
     151    connect(m_pProviderComboBox, &QComboBox::activated,
    152152            this, &UIWizardAddCloudVMPageExpert::sltHandleProviderComboChange);
    153     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     153    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    154154            this, &UIWizardAddCloudVMPageExpert::sltHandleProfileComboChange);
    155155    connect(m_pProfileToolButton, &QIToolButton::clicked,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h

    r105626 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    3636
    3737/* Forward declarations: */
     38class QComboBox;
    3839class QGridLayout;
    3940class QLabel;
     
    8990    QLabel       *m_pProviderLabel;
    9091    /** Holds the provider type combo-box instance. */
    91     QIComboBox   *m_pProviderComboBox;
     92    QComboBox    *m_pProviderComboBox;
    9293    /** Holds the profile label instance. */
    9394    QLabel       *m_pProfileLabel;
    9495    /** Holds the profile combo-box instance. */
    95     QIComboBox   *m_pProfileComboBox;
     96    QComboBox    *m_pProfileComboBox;
    9697    /** Holds the profile management tool-button instance. */
    9798    QIToolButton *m_pProfileToolButton;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.cpp

    r105626 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2727
    2828/* Qt includes: */
     29#include <QComboBox>
    2930#include <QGridLayout>
    3031#include <QHeaderView>
     
    3435
    3536/* GUI includes: */
    36 #include "QIComboBox.h"
    3737#include "QIListWidget.h"
    3838#include "QIRichTextLabel.h"
     
    5757*********************************************************************************************************************************/
    5858
    59 void UIWizardAddCloudVMSource::populateProviders(QIComboBox *pCombo, UINotificationCenter *pCenter)
     59void UIWizardAddCloudVMSource::populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter)
    6060{
    6161    /* Sanity check: */
     
    112112}
    113113
    114 void UIWizardAddCloudVMSource::populateProfiles(QIComboBox *pCombo,
     114void UIWizardAddCloudVMSource::populateProfiles(QComboBox *pCombo,
    115115                                                UINotificationCenter *pCenter,
    116116                                                const QString &strProviderShortName,
     
    286286
    287287            /* Prepare provider combo-box: */
    288             m_pProviderComboBox = new QIComboBox(this);
     288            m_pProviderComboBox = new QComboBox(this);
    289289            if (m_pProviderComboBox)
    290290            {
     
    325325
    326326                /* Prepare profile combo-box: */
    327                 m_pProfileComboBox = new QIComboBox(this);
     327                m_pProfileComboBox = new QComboBox(this);
    328328                if (m_pProfileComboBox)
    329329                {
     
    382382    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged,
    383383            this, &UIWizardAddCloudVMPageSource::sltHandleProviderComboChange);
    384     connect(m_pProviderComboBox, &QIComboBox::activated,
     384    connect(m_pProviderComboBox, &QComboBox::activated,
    385385            this, &UIWizardAddCloudVMPageSource::sltHandleProviderComboChange);
    386     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     386    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    387387            this, &UIWizardAddCloudVMPageSource::sltHandleProfileComboChange);
    388388    connect(m_pProfileToolButton, &QIToolButton::clicked,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.h

    r104567 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    3939
    4040/* Forward declarations: */
     41class QComboBox;
    4142class QGridLayout;
    4243class QLabel;
    43 class QIComboBox;
    4444class QIListWidget;
    4545class QIRichTextLabel;
     
    6565{
    6666    /** Populates @a pCombo with known providers. */
    67     void populateProviders(QIComboBox *pCombo, UINotificationCenter *pCenter);
     67    void populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter);
    6868    /** Populates @a pCombo with known profiles.
    6969      * @param  strProviderShortName  Brings the short name of provider profiles related to.
    7070      * @param  strProfileName        Brings the name of profile to be chosen by default. */
    71     void populateProfiles(QIComboBox *pCombo, UINotificationCenter *pCenter, const QString &strProviderShortName, const QString &strProfileName);
     71    void populateProfiles(QComboBox *pCombo,
     72                          UINotificationCenter *pCenter,
     73                          const QString &strProviderShortName,
     74                          const QString &strProfileName);
    7275    /** Populates @a pList with profile instances available in @a comClient. */
    7376    void populateProfileInstances(QIListWidget *pList, UINotificationCenter *pCenter, const CCloudClient &comClient);
     
    128131    QLabel      *m_pProviderLabel;
    129132    /** Holds the provider type combo-box instance. */
    130     QIComboBox  *m_pProviderComboBox;
     133    QComboBox   *m_pProviderComboBox;
    131134
    132135    /** Holds the description label instance. */
     
    138141    QLabel       *m_pProfileLabel;
    139142    /** Holds the profile combo-box instance. */
    140     QIComboBox   *m_pProfileComboBox;
     143    QComboBox    *m_pProfileComboBox;
    141144    /** Holds the profile management tool-button instance. */
    142145    QIToolButton *m_pProfileToolButton;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.h

    r105567 r105742  
    55
    66/*
    7  * Copyright (C) 2006-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2006-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    4040class QGridLayout;
    4141class QLabel;
    42 class QIComboBox;
    4342class QILineEdit;
    4443class UIBaseMemoryEditor;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp

    r105363 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2929#include <QButtonGroup>
    3030#include <QCheckBox>
     31#include <QComboBox>
    3132#include <QGridLayout>
    3233#include <QGroupBox>
     
    4142
    4243/* GUI includes: */
    43 #include "QIComboBox.h"
    4444#include "QIListWidget.h"
    4545#include "QIToolButton.h"
     
    150150                        }
    151151                        /* Create format combo-box: */
    152                         m_pFormatComboBox = new QIComboBox(pWidgetSettings);
     152                        m_pFormatComboBox = new QComboBox(pWidgetSettings);
    153153                        if (m_pFormatComboBox)
    154154                        {
     
    207207                                }
    208208                                /* Create MAC policy combo-box: */
    209                                 m_pMACComboBox = new QIComboBox(pSettingsPane1);
     209                                m_pMACComboBox = new QComboBox(pSettingsPane1);
    210210                                if (m_pMACComboBox)
    211211                                {
     
    270270
    271271                                    /* Create profile combo-box: */
    272                                     m_pProfileComboBox = new QIComboBox(pSettingsPane2);
     272                                    m_pProfileComboBox = new QComboBox(pSettingsPane2);
    273273                                    if (m_pProfileComboBox)
    274274                                    {
     
    411411    connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged,
    412412            this, &UIWizardExportAppPageExpert::sltHandleFileSelectorChange);
    413     connect(m_pFormatComboBox, &QIComboBox::currentIndexChanged,
     413    connect(m_pFormatComboBox, &QComboBox::currentIndexChanged,
    414414            this, &UIWizardExportAppPageExpert::sltHandleFormatComboChange);
    415     connect(m_pMACComboBox, &QIComboBox::currentIndexChanged,
     415    connect(m_pMACComboBox, &QComboBox::currentIndexChanged,
    416416            this, &UIWizardExportAppPageExpert::sltHandleMACAddressExportPolicyComboChange);
    417417    connect(m_pManifestCheckbox, &QCheckBox::stateChanged,
     
    419419    connect(m_pIncludeISOsCheckbox, &QCheckBox::stateChanged,
    420420            this, &UIWizardExportAppPageExpert::sltHandleIncludeISOsCheckBoxChange);
    421     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     421    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    422422            this, &UIWizardExportAppPageExpert::sltHandleProfileComboChange);
    423423    connect(m_pExportModeButtonGroup, &QButtonGroup::buttonToggled,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.h

    r104515 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    4747class QButtonGroup;
    4848class QCheckBox;
     49class QComboBox;
    4950class QGridLayout;
    5051class QGroupBox;
     
    5253class QIListWidget;
    5354class QStackedWidget;
    54 class QIComboBox;
    5555class QIToolButton;
    5656class UIApplianceExportEditorWidget;
     
    154154    QLabel      *m_pFormatComboBoxLabel;
    155155    /** Holds the format combo-box instance. */
    156     QIComboBox  *m_pFormatComboBox;
     156    QComboBox   *m_pFormatComboBox;
    157157
    158158    /** Holds the settings widget 1 instance. */
     
    168168    QLabel                  *m_pMACComboBoxLabel;
    169169    /** Holds the MAC address policy check-box instance. */
    170     QIComboBox              *m_pMACComboBox;
     170    QComboBox               *m_pMACComboBox;
    171171    /** Holds the additional label instance. */
    172172    QLabel                  *m_pAdditionalLabel;
     
    181181    QLabel        *m_pProfileLabel;
    182182    /** Holds the profile combo-box instance. */
    183     QIComboBox    *m_pProfileComboBox;
     183    QComboBox     *m_pProfileComboBox;
    184184    /** Holds the profile management tool-button instance. */
    185185    QIToolButton  *m_pProfileToolButton;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageFormat.cpp

    r105363 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    3030#include <QButtonGroup>
    3131#include <QCheckBox>
     32#include <QComboBox>
    3233#include <QDir>
    3334#include <QGridLayout>
     
    3940
    4041/* GUI includes: */
    41 #include "QIComboBox.h"
    4242#include "QIRichTextLabel.h"
    4343#include "QIToolButton.h"
     
    6666*********************************************************************************************************************************/
    6767
    68 void UIWizardExportAppFormat::populateFormats(QIComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault)
     68void UIWizardExportAppFormat::populateFormats(QComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault)
    6969{
    7070    /* Sanity check: */
     
    140140}
    141141
    142 void UIWizardExportAppFormat::populateMACAddressPolicies(QIComboBox *pCombo)
     142void UIWizardExportAppFormat::populateMACAddressPolicies(QComboBox *pCombo)
    143143{
    144144    /* Sanity check: */
     
    200200}
    201201
    202 QString UIWizardExportAppFormat::format(QIComboBox *pCombo)
     202QString UIWizardExportAppFormat::format(QComboBox *pCombo)
    203203{
    204204    /* Sanity check: */
     
    209209}
    210210
    211 bool UIWizardExportAppFormat::isFormatCloudOne(QIComboBox *pCombo, int iIndex /* = -1 */)
     211bool UIWizardExportAppFormat::isFormatCloudOne(QComboBox *pCombo, int iIndex /* = -1 */)
    212212{
    213213    /* Sanity check: */
     
    374374}
    375375
    376 void UIWizardExportAppFormat::refreshProfileCombo(QIComboBox *pCombo,
     376void UIWizardExportAppFormat::refreshProfileCombo(QComboBox *pCombo,
    377377                                                  UINotificationCenter *pCenter,
    378378                                                  const QString &strFormat,
     
    591591}
    592592
    593 QString UIWizardExportAppFormat::profileName(QIComboBox *pCombo)
     593QString UIWizardExportAppFormat::profileName(QComboBox *pCombo)
    594594{
    595595    return pCombo->currentData(ProfileData_Name).toString();
    596596}
    597597
    598 void UIWizardExportAppFormat::updateFormatComboToolTip(QIComboBox *pCombo)
     598void UIWizardExportAppFormat::updateFormatComboToolTip(QComboBox *pCombo)
    599599{
    600600    AssertPtrReturnVoid(pCombo);
     
    608608}
    609609
    610 void UIWizardExportAppFormat::updateMACAddressExportPolicyComboToolTip(QIComboBox *pCombo)
     610void UIWizardExportAppFormat::updateMACAddressExportPolicyComboToolTip(QComboBox *pCombo)
    611611{
    612612    AssertPtrReturnVoid(pCombo);
     
    679679            }
    680680            /* Create format combo-box: */
    681             m_pFormatComboBox = new QIComboBox(this);
     681            m_pFormatComboBox = new QComboBox(this);
    682682            if (m_pFormatComboBox)
    683683            {
     
    737737
    738738                    /* Create MAC policy combo-box: */
    739                     m_pMACComboBox = new QIComboBox(pSettingsPane1);
     739                    m_pMACComboBox = new QComboBox(pSettingsPane1);
    740740                    if (m_pMACComboBox)
    741741                        m_pSettingsLayout1->addWidget(m_pMACComboBox, 1, 1, 1, 2);
     
    810810
    811811                        /* Create profile combo-box: */
    812                         m_pProfileComboBox = new QIComboBox(pSettingsPane2);
     812                        m_pProfileComboBox = new QComboBox(pSettingsPane2);
    813813                        if (m_pProfileComboBox)
    814814                        {
     
    881881    connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged,
    882882            this, &UIWizardExportAppPageFormat::sltHandleFileSelectorChange);
    883     connect(m_pFormatComboBox, &QIComboBox::currentIndexChanged,
     883    connect(m_pFormatComboBox, &QComboBox::currentIndexChanged,
    884884            this, &UIWizardExportAppPageFormat::sltHandleFormatComboChange);
    885     connect(m_pMACComboBox, &QIComboBox::currentIndexChanged,
     885    connect(m_pMACComboBox, &QComboBox::currentIndexChanged,
    886886            this, &UIWizardExportAppPageFormat::sltHandleMACAddressExportPolicyComboChange);
    887887    connect(m_pManifestCheckbox, &QCheckBox::stateChanged,
     
    889889    connect(m_pIncludeISOsCheckbox, &QCheckBox::stateChanged,
    890890            this, &UIWizardExportAppPageFormat::sltHandleIncludeISOsCheckBoxChange);
    891     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     891    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    892892            this, &UIWizardExportAppPageFormat::sltHandleProfileComboChange);
    893893    connect(m_pExportModeButtonGroup, &QButtonGroup::buttonToggled,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageFormat.h

    r105603 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    4747class QButtonGroup;
    4848class QCheckBox;
     49class QComboBox;
    4950class QGridLayout;
    5051class QLabel;
    5152class QStackedWidget;
    52 class QIComboBox;
    5353class QIRichTextLabel;
    5454class QIToolButton;
     
    7474{
    7575    /** Populates formats. */
    76     void populateFormats(QIComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault);
     76    void populateFormats(QComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault);
    7777    /** Populates MAC address policies. */
    78     void populateMACAddressPolicies(QIComboBox *pCombo);
     78    void populateMACAddressPolicies(QComboBox *pCombo);
    7979
    8080    /** Returns current format of @a pCombo specified. */
    81     QString format(QIComboBox *pCombo);
     81    QString format(QComboBox *pCombo);
    8282    /** Returns whether format under certain @a iIndex is cloud one. */
    83     bool isFormatCloudOne(QIComboBox *pCombo, int iIndex = -1);
     83    bool isFormatCloudOne(QComboBox *pCombo, int iIndex = -1);
    8484
    8585    /** Refresh stacked widget. */
     
    114114
    115115    /** Refresh profile combo. */
    116     void refreshProfileCombo(QIComboBox *pCombo,
     116    void refreshProfileCombo(QComboBox *pCombo,
    117117                             UINotificationCenter *pCenter,
    118118                             const QString &strFormat,
     
    139139
    140140    /** Returns current profile name of @a pCombo specified. */
    141     QString profileName(QIComboBox *pCombo);
     141    QString profileName(QComboBox *pCombo);
    142142    /** Returns current cloud export mode chosen in @a radioButtons specified. */
    143143    CloudExportMode cloudExportMode(const QMap<CloudExportMode, QAbstractButton*> &radioButtons);
    144144
    145145    /** Updates format combo tool-tips. */
    146     void updateFormatComboToolTip(QIComboBox *pCombo);
     146    void updateFormatComboToolTip(QComboBox *pCombo);
    147147    /** Updates MAC address export policy combo tool-tips. */
    148     void updateMACAddressExportPolicyComboToolTip(QIComboBox *pCombo);
     148    void updateMACAddressExportPolicyComboToolTip(QComboBox *pCombo);
    149149}
    150150
     
    234234    QLabel      *m_pFormatComboBoxLabel;
    235235    /** Holds the format combo-box instance. */
    236     QIComboBox  *m_pFormatComboBox;
     236    QComboBox   *m_pFormatComboBox;
    237237
    238238    /** Holds the settings widget 1 instance. */
     
    248248    QLabel                  *m_pMACComboBoxLabel;
    249249    /** Holds the MAC address policy check-box instance. */
    250     QIComboBox              *m_pMACComboBox;
     250    QComboBox               *m_pMACComboBox;
    251251    /** Holds the additional label instance. */
    252252    QLabel                  *m_pAdditionalLabel;
     
    261261    QLabel        *m_pProfileLabel;
    262262    /** Holds the profile combo-box instance. */
    263     QIComboBox    *m_pProfileComboBox;
     263    QComboBox     *m_pProfileComboBox;
    264264    /** Holds the profile management tool-button instance. */
    265265    QIToolButton  *m_pProfileToolButton;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp

    r105363 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2828/* Qt includes: */
    2929#include <QCheckBox>
     30#include <QComboBox>
    3031#include <QFileInfo>
    3132#include <QGroupBox>
     
    3940
    4041/* GUI includes: */
    41 #include "QIComboBox.h"
    4242#include "QIToolButton.h"
    4343#include "UIApplianceImportEditorWidget.h"
     
    123123                            m_pSourceLayout->addWidget(m_pSourceLabel, 0, 0, Qt::AlignRight);
    124124                        /* Prepare source combo: */
    125                         m_pSourceComboBox = new QIComboBox(pWidgetSourceWrapper);
     125                        m_pSourceComboBox = new QComboBox(pWidgetSourceWrapper);
    126126                        if (m_pSourceComboBox)
    127127                        {
     
    198198
    199199                                    /* Prepare profile combo-box: */
    200                                     m_pProfileComboBox = new QIComboBox(pContainerCloud);
     200                                    m_pProfileComboBox = new QComboBox(pContainerCloud);
    201201                                    if (m_pProfileComboBox)
    202202                                    {
     
    299299                        }
    300300                        /* Prepare MAC address policy combo: */
    301                         m_pComboMACImportPolicy = new QIComboBox(pContainerAppliance);
     301                        m_pComboMACImportPolicy = new QComboBox(pContainerAppliance);
    302302                        if (m_pComboMACImportPolicy)
    303303                        {
     
    363363    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged,
    364364            this, &UIWizardImportAppPageExpert::sltHandleSourceComboChange);
    365     connect(m_pSourceComboBox, &QIComboBox::activated,
     365    connect(m_pSourceComboBox, &QComboBox::activated,
    366366            this, &UIWizardImportAppPageExpert::sltHandleSourceComboChange);
    367367    connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged,
    368368            this, &UIWizardImportAppPageExpert::sltHandleImportedFileSelectorChange);
    369     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     369    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    370370            this, &UIWizardImportAppPageExpert::sltHandleProfileComboChange);
    371371    connect(m_pProfileToolButton, &QIToolButton::clicked,
     
    375375    connect(m_pEditorImportFilePath, &UIFilePathSelector::pathChanged,
    376376            this, &UIWizardImportAppPageExpert::sltHandleImportPathEditorChange);
    377     connect(m_pComboMACImportPolicy, &QIComboBox::currentIndexChanged,
     377    connect(m_pComboMACImportPolicy, &QComboBox::currentIndexChanged,
    378378            this, &UIWizardImportAppPageExpert::sltHandleMACImportPolicyComboChange);
    379379    connect(m_pCheckboxImportHDsAsVDI, &QCheckBox::stateChanged,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.h

    r104475 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    3737/* Forward declarations: */
    3838class QCheckBox;
     39class QComboBox;
    3940class QGridLayout;
    4041class QLabel;
    4142class QListWidget;
    4243class QStackedWidget;
    43 class QIComboBox;
    4444class QIToolButton;
    4545class UIApplianceImportEditorWidget;
     
    123123    QLabel      *m_pSourceLabel;
    124124    /** Holds the source type combo-box instance. */
    125     QIComboBox  *m_pSourceComboBox;
     125    QComboBox   *m_pSourceComboBox;
    126126
    127127    /** Holds the settings widget 1 instance. */
     
    140140    QLabel       *m_pProfileLabel;
    141141    /** Holds the profile combo-box instance. */
    142     QIComboBox   *m_pProfileComboBox;
     142    QComboBox    *m_pProfileComboBox;
    143143    /** Holds the profile management tool-button instance. */
    144144    QIToolButton *m_pProfileToolButton;
     
    160160    QLabel                        *m_pLabelMACImportPolicy;
    161161    /** Holds the MAC address combo instance. */
    162     QIComboBox                    *m_pComboMACImportPolicy;
     162    QComboBox                     *m_pComboMACImportPolicy;
    163163    /** Holds the additional options label instance. */
    164164    QLabel                        *m_pLabelAdditionalOptions;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSettings.cpp

    r104496 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2828/* Qt includes: */
    2929#include <QCheckBox>
     30#include <QComboBox>
    3031#include <QLabel>
    3132#include <QStackedWidget>
     
    3334
    3435/* GUI includes: */
    35 #include "QIComboBox.h"
    3636#include "QIRichTextLabel.h"
    3737#include "UIApplianceImportEditorWidget.h"
     
    9090}
    9191
    92 void UIWizardImportAppSettings::refreshMACAddressImportPolicies(QIComboBox *pCombo,
     92void UIWizardImportAppSettings::refreshMACAddressImportPolicies(QComboBox *pCombo,
    9393                                                                bool fIsSourceCloudOne)
    9494{
     
    193193}
    194194
    195 MACAddressImportPolicy UIWizardImportAppSettings::macAddressImportPolicy(QIComboBox *pCombo)
     195MACAddressImportPolicy UIWizardImportAppSettings::macAddressImportPolicy(QComboBox *pCombo)
    196196{
    197197    /* Sanity check: */
     
    211211}
    212212
    213 void UIWizardImportAppSettings::retranslateMACImportPolicyCombo(QIComboBox *pCombo)
     213void UIWizardImportAppSettings::retranslateMACImportPolicyCombo(QComboBox *pCombo)
    214214{
    215215    /* Sanity check: */
     
    287287}
    288288
    289 void UIWizardImportAppSettings::updateMACImportPolicyComboToolTip(QIComboBox *pCombo)
     289void UIWizardImportAppSettings::updateMACImportPolicyComboToolTip(QComboBox *pCombo)
    290290{
    291291    /* Sanity check: */
     
    376376                    }
    377377                    /* Prepare MAC address policy combo: */
    378                     m_pComboMACImportPolicy = new QIComboBox(pContainerAppliance);
     378                    m_pComboMACImportPolicy = new QComboBox(pContainerAppliance);
    379379                    if (m_pComboMACImportPolicy)
    380380                    {
     
    436436    connect(m_pEditorImportFilePath, &UIFilePathSelector::pathChanged,
    437437            this, &UIWizardImportAppPageSettings::sltHandleImportPathEditorChange);
    438     connect(m_pComboMACImportPolicy, &QIComboBox::currentIndexChanged,
     438    connect(m_pComboMACImportPolicy, &QComboBox::currentIndexChanged,
    439439            this, &UIWizardImportAppPageSettings::sltHandleMACImportPolicyComboChange);
    440440    connect(m_pCheckboxImportHDsAsVDI, &QCheckBox::stateChanged,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSettings.h

    r103982 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    3838/* Forward declarations: */
    3939class QCheckBox;
    40 class QIComboBox;
     40class QComboBox;
    4141class QLabel;
    4242class QStackedWidget;
     
    7171                                bool fIsSourceCloudOne);
    7272    /** Refresh MAC address import policies. */
    73     void refreshMACAddressImportPolicies(QIComboBox *pCombo,
     73    void refreshMACAddressImportPolicies(QComboBox *pCombo,
    7474                                         bool fIsSourceCloudOne);
    7575
     
    8080
    8181    /** Returns MAC address import policy. */
    82     MACAddressImportPolicy macAddressImportPolicy(QIComboBox *pCombo);
     82    MACAddressImportPolicy macAddressImportPolicy(QComboBox *pCombo);
    8383    /** Returns whether hard disks should be imported as VDIs. */
    8484    bool isImportHDsAsVDI(QCheckBox *pCheckBox);
    8585
    8686    /** Translates MAC import policy combo. */
    87     void retranslateMACImportPolicyCombo(QIComboBox *pCombo);
     87    void retranslateMACImportPolicyCombo(QComboBox *pCombo);
    8888    /** Translates certificate label. */
    8989    void retranslateCertificateLabel(QLabel *pLabel, const kCertText &enmType, const QString &strSignedBy);
    9090
    9191    /** Updates MAC import policy combo tool-tips. */
    92     void updateMACImportPolicyComboToolTip(QIComboBox *pCombo);
     92    void updateMACImportPolicyComboToolTip(QComboBox *pCombo);
    9393}
    9494
     
    153153    QLabel                        *m_pLabelMACImportPolicy;
    154154    /** Holds the MAC address combo instance. */
    155     QIComboBox                    *m_pComboMACImportPolicy;
     155    QComboBox                     *m_pComboMACImportPolicy;
    156156    /** Holds the additional options label instance. */
    157157    QLabel                        *m_pLabelAdditionalOptions;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSource.cpp

    r105363 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2727
    2828/* Qt includes: */
     29#include <QComboBox>
    2930#include <QGridLayout>
    3031#include <QLabel>
     
    3435
    3536/* GUI includes: */
    36 #include "QIComboBox.h"
    3737#include "QIRichTextLabel.h"
    3838#include "QIToolButton.h"
     
    6262*********************************************************************************************************************************/
    6363
    64 void UIWizardImportAppSource::populateSources(QIComboBox *pCombo,
     64void UIWizardImportAppSource::populateSources(QComboBox *pCombo,
    6565                                              UINotificationCenter *pCenter,
    6666                                              bool fImportFromOCIByDefault,
     
    137137}
    138138
    139 QString UIWizardImportAppSource::source(QIComboBox *pCombo)
     139QString UIWizardImportAppSource::source(QComboBox *pCombo)
    140140{
    141141    /* Sanity check: */
     
    146146}
    147147
    148 bool UIWizardImportAppSource::isSourceCloudOne(QIComboBox *pCombo, int iIndex /* = -1 */)
     148bool UIWizardImportAppSource::isSourceCloudOne(QComboBox *pCombo, int iIndex /* = -1 */)
    149149{
    150150    /* Sanity check: */
     
    169169}
    170170
    171 void UIWizardImportAppSource::refreshProfileCombo(QIComboBox *pCombo,
     171void UIWizardImportAppSource::refreshProfileCombo(QComboBox *pCombo,
    172172                                                  UINotificationCenter *pCenter,
    173173                                                  const QString &strSource,
     
    404404}
    405405
    406 QString UIWizardImportAppSource::profileName(QIComboBox *pCombo)
     406QString UIWizardImportAppSource::profileName(QComboBox *pCombo)
    407407{
    408408    /* Sanity check: */
     
    423423}
    424424
    425 void UIWizardImportAppSource::updateSourceComboToolTip(QIComboBox *pCombo)
     425void UIWizardImportAppSource::updateSourceComboToolTip(QComboBox *pCombo)
    426426{
    427427    /* Sanity check: */
     
    479479                m_pSourceLayout->addWidget(m_pSourceLabel, 0, 0, Qt::AlignRight);
    480480            /* Prepare source selector: */
    481             m_pSourceComboBox = new QIComboBox(this);
     481            m_pSourceComboBox = new QComboBox(this);
    482482            if (m_pSourceComboBox)
    483483            {
     
    559559
    560560                        /* Prepare profile combo-box: */
    561                         m_pProfileComboBox = new QIComboBox(pContainerCloud);
     561                        m_pProfileComboBox = new QComboBox(pContainerCloud);
    562562                        if (m_pProfileComboBox)
    563563                        {
     
    613613    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged,
    614614            this, &UIWizardImportAppPageSource::sltHandleSourceComboChange);
    615     connect(m_pSourceComboBox, &QIComboBox::currentIndexChanged,
     615    connect(m_pSourceComboBox, &QComboBox::currentIndexChanged,
    616616            this, &UIWizardImportAppPageSource::sltHandleSourceComboChange);
    617617    connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged,
    618618            this, &UIWizardImportAppPageSource::completeChanged);
    619     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     619    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    620620            this, &UIWizardImportAppPageSource::sltHandleProfileComboChange);
    621621    connect(m_pProfileToolButton, &QIToolButton::clicked,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSource.h

    r103982 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    3636
    3737/* Forward declarations: */
     38class QComboBox;
    3839class QGridLayout;
    3940class QLabel;
    4041class QListWidget;
    4142class QStackedWidget;
    42 class QIComboBox;
    4343class QIRichTextLabel;
    4444class QIToolButton;
     
    6767{
    6868    /** Populates sources. */
    69     void populateSources(QIComboBox *pCombo,
     69    void populateSources(QComboBox *pCombo,
    7070                         UINotificationCenter *pCenter,
    7171                         bool fImportFromOCIByDefault,
     
    7373
    7474    /** Returns current source of @a pCombo specified. */
    75     QString source(QIComboBox *pCombo);
     75    QString source(QComboBox *pCombo);
    7676    /** Returns whether source under certain @a iIndex is cloud one. */
    77     bool isSourceCloudOne(QIComboBox *pCombo, int iIndex = -1);
     77    bool isSourceCloudOne(QComboBox *pCombo, int iIndex = -1);
    7878
    7979    /** Refresh stacked widget. */
     
    8282
    8383    /** Refresh profile combo. */
    84     void refreshProfileCombo(QIComboBox *pCombo,
     84    void refreshProfileCombo(QComboBox *pCombo,
    8585                             UINotificationCenter *pCenter,
    8686                             const QString &strSource,
     
    106106
    107107    /** Returns profile name. */
    108     QString profileName(QIComboBox *pCombo);
     108    QString profileName(QComboBox *pCombo);
    109109    /** Returns machine ID. */
    110110    QString machineId(QListWidget *pListWidget);
    111111
    112112    /** Updates source combo tool-tips. */
    113     void updateSourceComboToolTip(QIComboBox *pCombo);
     113    void updateSourceComboToolTip(QComboBox *pCombo);
    114114}
    115115
     
    181181    QLabel      *m_pSourceLabel;
    182182    /** Holds the source type combo-box instance. */
    183     QIComboBox  *m_pSourceComboBox;
     183    QComboBox   *m_pSourceComboBox;
    184184
    185185    /** Holds the settings widget 1 instance. */
     
    198198    QLabel       *m_pProfileLabel;
    199199    /** Holds the profile combo-box instance. */
    200     QIComboBox   *m_pProfileComboBox;
     200    QComboBox    *m_pProfileComboBox;
    201201    /** Holds the profile management tool-button instance. */
    202202    QIToolButton *m_pProfileToolButton;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp

    r105735 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2727
    2828/* Qt includes: */
     29#include <QComboBox>
    2930#include <QGridLayout>
    3031#include <QHeaderView>
     
    3435
    3536/* GUI includes: */
    36 #include "QIComboBox.h"
    3737#include "QIListWidget.h"
    3838#include "QIToolButton.h"
     
    8181
    8282        /* Prepare provider combo-box: */
    83         m_pProviderComboBox = new QIComboBox(this);
     83        m_pProviderComboBox = new QComboBox(this);
    8484        if (m_pProviderComboBox)
    8585        {
     
    101101
    102102            /* Prepare profile combo-box: */
    103             m_pProfileComboBox = new QIComboBox(this);
     103            m_pProfileComboBox = new QComboBox(this);
    104104            if (m_pProfileComboBox)
    105105            {
     
    202202    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged,
    203203            this, &UIWizardNewCloudVMPageExpert::sltHandleProviderComboChange);
    204     connect(m_pProviderComboBox, &QIComboBox::activated,
     204    connect(m_pProviderComboBox, &QComboBox::activated,
    205205            this, &UIWizardNewCloudVMPageExpert::sltHandleProviderComboChange);
    206     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     206    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    207207            this, &UIWizardNewCloudVMPageExpert::sltHandleProfileComboChange);
    208208    connect(m_pProfileToolButton, &QIToolButton::clicked,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h

    r105735 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    9898    QLabel       *m_pProviderLabel;
    9999    /** Holds the provider type combo-box instance. */
    100     QIComboBox   *m_pProviderComboBox;
     100    QComboBox    *m_pProviderComboBox;
    101101    /** Holds the profile label instance. */
    102102    QLabel       *m_pProfileLabel;
    103103    /** Holds the profile combo-box instance. */
    104     QIComboBox   *m_pProfileComboBox;
     104    QComboBox    *m_pProfileComboBox;
    105105    /** Holds the profile management tool-button instance. */
    106106    QIToolButton *m_pProfileToolButton;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.cpp

    r105363 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    2727
    2828/* Qt includes: */
     29#include <QComboBox>
    2930#include <QGridLayout>
    3031#include <QLabel>
     
    3435
    3536/* GUI includes: */
    36 #include "QIComboBox.h"
    3737#include "QIListWidget.h"
    3838#include "QIRichTextLabel.h"
     
    5858*********************************************************************************************************************************/
    5959
    60 void UIWizardNewCloudVMSource::populateProviders(QIComboBox *pCombo, UINotificationCenter *pCenter)
     60void UIWizardNewCloudVMSource::populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter)
    6161{
    6262    /* Sanity check: */
     
    113113}
    114114
    115 void UIWizardNewCloudVMSource::populateProfiles(QIComboBox *pCombo,
     115void UIWizardNewCloudVMSource::populateProfiles(QComboBox *pCombo,
    116116                                                UINotificationCenter *pCenter,
    117117                                                const QString &strProviderShortName,
     
    325325
    326326            /* Prepare provider combo-box: */
    327             m_pProviderComboBox = new QIComboBox(this);
     327            m_pProviderComboBox = new QComboBox(this);
    328328            if (m_pProviderComboBox)
    329329            {
     
    364364
    365365                /* Prepare profile combo-box: */
    366                 m_pProfileComboBox = new QIComboBox(this);
     366                m_pProfileComboBox = new QComboBox(this);
    367367                if (m_pProfileComboBox)
    368368                {
     
    443443    connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged,
    444444            this, &UIWizardNewCloudVMPageSource::sltHandleProviderComboChange);
    445     connect(m_pProviderComboBox, &QIComboBox::activated,
     445    connect(m_pProviderComboBox, &QComboBox::activated,
    446446            this, &UIWizardNewCloudVMPageSource::sltHandleProviderComboChange);
    447     connect(m_pProfileComboBox, &QIComboBox::currentIndexChanged,
     447    connect(m_pProfileComboBox, &QComboBox::currentIndexChanged,
    448448            this, &UIWizardNewCloudVMPageSource::sltHandleProfileComboChange);
    449449    connect(m_pProfileToolButton, &QIToolButton::clicked,
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.h

    r104566 r105742  
    55
    66/*
    7  * Copyright (C) 2009-2023 Oracle and/or its affiliates.
     7 * Copyright (C) 2009-2024 Oracle and/or its affiliates.
    88 *
    99 * This file is part of VirtualBox base platform packages, as
     
    3939
    4040/* Forward declarations: */
     41class QComboBox;
    4142class QGridLayout;
    4243class QLabel;
    4344class QIListWidget;
    4445class QTabBar;
    45 class QIComboBox;
    4646class QIRichTextLabel;
    4747class QIToolButton;
     
    6868{
    6969    /** Populates @a pCombo with known providers. */
    70     void populateProviders(QIComboBox *pCombo, UINotificationCenter *pCenter);
     70    void populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter);
    7171    /** Populates @a pCombo with known profiles.
    7272      * @param  strProviderShortName  Brings the short name of provider profiles related to.
    7373      * @param  strProfileName        Brings the name of profile to be chosen by default. */
    74     void populateProfiles(QIComboBox *pCombo,
     74    void populateProfiles(QComboBox *pCombo,
    7575                          UINotificationCenter *pCenter,
    7676                          const QString &strProviderShortName,
     
    153153    QLabel      *m_pProviderLabel;
    154154    /** Holds the provider type combo-box instance. */
    155     QIComboBox  *m_pProviderComboBox;
     155    QComboBox   *m_pProviderComboBox;
    156156
    157157    /** Holds the description label instance. */
     
    163163    QLabel       *m_pProfileLabel;
    164164    /** Holds the profile combo-box instance. */
    165     QIComboBox   *m_pProfileComboBox;
     165    QComboBox    *m_pProfileComboBox;
    166166    /** Holds the profile management tool-button instance. */
    167167    QIToolButton *m_pProfileToolButton;
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