Changeset 105742 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 20, 2024 6:18:33 PM (3 months ago)
- 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 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 27 27 28 28 /* Qt includes: */ 29 #include <QComboBox> 29 30 #include <QGridLayout> 30 31 #include <QHBoxLayout> … … 36 37 37 38 /* GUI includes: */ 38 #include "QIComboBox.h"39 39 #include "QIListWidget.h" 40 40 #include "QIToolButton.h" … … 76 76 77 77 /* Prepare provider combo-box: */ 78 m_pProviderComboBox = new Q IComboBox(this);78 m_pProviderComboBox = new QComboBox(this); 79 79 if (m_pProviderComboBox) 80 80 { … … 96 96 97 97 /* Prepare profile combo-box: */ 98 m_pProfileComboBox = new Q IComboBox(this);98 m_pProfileComboBox = new QComboBox(this); 99 99 if (m_pProfileComboBox) 100 100 { … … 149 149 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 150 150 this, &UIWizardAddCloudVMPageExpert::sltHandleProviderComboChange); 151 connect(m_pProviderComboBox, &Q IComboBox::activated,151 connect(m_pProviderComboBox, &QComboBox::activated, 152 152 this, &UIWizardAddCloudVMPageExpert::sltHandleProviderComboChange); 153 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,153 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 154 154 this, &UIWizardAddCloudVMPageExpert::sltHandleProfileComboChange); 155 155 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h
r105626 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 36 36 37 37 /* Forward declarations: */ 38 class QComboBox; 38 39 class QGridLayout; 39 40 class QLabel; … … 89 90 QLabel *m_pProviderLabel; 90 91 /** Holds the provider type combo-box instance. */ 91 Q IComboBox*m_pProviderComboBox;92 QComboBox *m_pProviderComboBox; 92 93 /** Holds the profile label instance. */ 93 94 QLabel *m_pProfileLabel; 94 95 /** Holds the profile combo-box instance. */ 95 Q IComboBox*m_pProfileComboBox;96 QComboBox *m_pProfileComboBox; 96 97 /** Holds the profile management tool-button instance. */ 97 98 QIToolButton *m_pProfileToolButton; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.cpp
r105626 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 27 27 28 28 /* Qt includes: */ 29 #include <QComboBox> 29 30 #include <QGridLayout> 30 31 #include <QHeaderView> … … 34 35 35 36 /* GUI includes: */ 36 #include "QIComboBox.h"37 37 #include "QIListWidget.h" 38 38 #include "QIRichTextLabel.h" … … 57 57 *********************************************************************************************************************************/ 58 58 59 void UIWizardAddCloudVMSource::populateProviders(Q IComboBox *pCombo, UINotificationCenter *pCenter)59 void UIWizardAddCloudVMSource::populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter) 60 60 { 61 61 /* Sanity check: */ … … 112 112 } 113 113 114 void UIWizardAddCloudVMSource::populateProfiles(Q IComboBox *pCombo,114 void UIWizardAddCloudVMSource::populateProfiles(QComboBox *pCombo, 115 115 UINotificationCenter *pCenter, 116 116 const QString &strProviderShortName, … … 286 286 287 287 /* Prepare provider combo-box: */ 288 m_pProviderComboBox = new Q IComboBox(this);288 m_pProviderComboBox = new QComboBox(this); 289 289 if (m_pProviderComboBox) 290 290 { … … 325 325 326 326 /* Prepare profile combo-box: */ 327 m_pProfileComboBox = new Q IComboBox(this);327 m_pProfileComboBox = new QComboBox(this); 328 328 if (m_pProfileComboBox) 329 329 { … … 382 382 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 383 383 this, &UIWizardAddCloudVMPageSource::sltHandleProviderComboChange); 384 connect(m_pProviderComboBox, &Q IComboBox::activated,384 connect(m_pProviderComboBox, &QComboBox::activated, 385 385 this, &UIWizardAddCloudVMPageSource::sltHandleProviderComboChange); 386 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,386 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 387 387 this, &UIWizardAddCloudVMPageSource::sltHandleProfileComboChange); 388 388 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.h
r104567 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 39 39 40 40 /* Forward declarations: */ 41 class QComboBox; 41 42 class QGridLayout; 42 43 class QLabel; 43 class QIComboBox;44 44 class QIListWidget; 45 45 class QIRichTextLabel; … … 65 65 { 66 66 /** Populates @a pCombo with known providers. */ 67 void populateProviders(Q IComboBox *pCombo, UINotificationCenter *pCenter);67 void populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter); 68 68 /** Populates @a pCombo with known profiles. 69 69 * @param strProviderShortName Brings the short name of provider profiles related to. 70 70 * @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); 72 75 /** Populates @a pList with profile instances available in @a comClient. */ 73 76 void populateProfileInstances(QIListWidget *pList, UINotificationCenter *pCenter, const CCloudClient &comClient); … … 128 131 QLabel *m_pProviderLabel; 129 132 /** Holds the provider type combo-box instance. */ 130 Q IComboBox*m_pProviderComboBox;133 QComboBox *m_pProviderComboBox; 131 134 132 135 /** Holds the description label instance. */ … … 138 141 QLabel *m_pProfileLabel; 139 142 /** Holds the profile combo-box instance. */ 140 Q IComboBox*m_pProfileComboBox;143 QComboBox *m_pProfileComboBox; 141 144 /** Holds the profile management tool-button instance. */ 142 145 QIToolButton *m_pProfileToolButton; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/editors/UIWizardNewVMEditors.h
r105567 r105742 5 5 6 6 /* 7 * Copyright (C) 2006-202 3Oracle and/or its affiliates.7 * Copyright (C) 2006-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 40 40 class QGridLayout; 41 41 class QLabel; 42 class QIComboBox;43 42 class QILineEdit; 44 43 class UIBaseMemoryEditor; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp
r105363 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 29 29 #include <QButtonGroup> 30 30 #include <QCheckBox> 31 #include <QComboBox> 31 32 #include <QGridLayout> 32 33 #include <QGroupBox> … … 41 42 42 43 /* GUI includes: */ 43 #include "QIComboBox.h"44 44 #include "QIListWidget.h" 45 45 #include "QIToolButton.h" … … 150 150 } 151 151 /* Create format combo-box: */ 152 m_pFormatComboBox = new Q IComboBox(pWidgetSettings);152 m_pFormatComboBox = new QComboBox(pWidgetSettings); 153 153 if (m_pFormatComboBox) 154 154 { … … 207 207 } 208 208 /* Create MAC policy combo-box: */ 209 m_pMACComboBox = new Q IComboBox(pSettingsPane1);209 m_pMACComboBox = new QComboBox(pSettingsPane1); 210 210 if (m_pMACComboBox) 211 211 { … … 270 270 271 271 /* Create profile combo-box: */ 272 m_pProfileComboBox = new Q IComboBox(pSettingsPane2);272 m_pProfileComboBox = new QComboBox(pSettingsPane2); 273 273 if (m_pProfileComboBox) 274 274 { … … 411 411 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 412 412 this, &UIWizardExportAppPageExpert::sltHandleFileSelectorChange); 413 connect(m_pFormatComboBox, &Q IComboBox::currentIndexChanged,413 connect(m_pFormatComboBox, &QComboBox::currentIndexChanged, 414 414 this, &UIWizardExportAppPageExpert::sltHandleFormatComboChange); 415 connect(m_pMACComboBox, &Q IComboBox::currentIndexChanged,415 connect(m_pMACComboBox, &QComboBox::currentIndexChanged, 416 416 this, &UIWizardExportAppPageExpert::sltHandleMACAddressExportPolicyComboChange); 417 417 connect(m_pManifestCheckbox, &QCheckBox::stateChanged, … … 419 419 connect(m_pIncludeISOsCheckbox, &QCheckBox::stateChanged, 420 420 this, &UIWizardExportAppPageExpert::sltHandleIncludeISOsCheckBoxChange); 421 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,421 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 422 422 this, &UIWizardExportAppPageExpert::sltHandleProfileComboChange); 423 423 connect(m_pExportModeButtonGroup, &QButtonGroup::buttonToggled, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageExpert.h
r104515 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 47 47 class QButtonGroup; 48 48 class QCheckBox; 49 class QComboBox; 49 50 class QGridLayout; 50 51 class QGroupBox; … … 52 53 class QIListWidget; 53 54 class QStackedWidget; 54 class QIComboBox;55 55 class QIToolButton; 56 56 class UIApplianceExportEditorWidget; … … 154 154 QLabel *m_pFormatComboBoxLabel; 155 155 /** Holds the format combo-box instance. */ 156 Q IComboBox*m_pFormatComboBox;156 QComboBox *m_pFormatComboBox; 157 157 158 158 /** Holds the settings widget 1 instance. */ … … 168 168 QLabel *m_pMACComboBoxLabel; 169 169 /** Holds the MAC address policy check-box instance. */ 170 Q IComboBox*m_pMACComboBox;170 QComboBox *m_pMACComboBox; 171 171 /** Holds the additional label instance. */ 172 172 QLabel *m_pAdditionalLabel; … … 181 181 QLabel *m_pProfileLabel; 182 182 /** Holds the profile combo-box instance. */ 183 Q IComboBox*m_pProfileComboBox;183 QComboBox *m_pProfileComboBox; 184 184 /** Holds the profile management tool-button instance. */ 185 185 QIToolButton *m_pProfileToolButton; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageFormat.cpp
r105363 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 30 30 #include <QButtonGroup> 31 31 #include <QCheckBox> 32 #include <QComboBox> 32 33 #include <QDir> 33 34 #include <QGridLayout> … … 39 40 40 41 /* GUI includes: */ 41 #include "QIComboBox.h"42 42 #include "QIRichTextLabel.h" 43 43 #include "QIToolButton.h" … … 66 66 *********************************************************************************************************************************/ 67 67 68 void UIWizardExportAppFormat::populateFormats(Q IComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault)68 void UIWizardExportAppFormat::populateFormats(QComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault) 69 69 { 70 70 /* Sanity check: */ … … 140 140 } 141 141 142 void UIWizardExportAppFormat::populateMACAddressPolicies(Q IComboBox *pCombo)142 void UIWizardExportAppFormat::populateMACAddressPolicies(QComboBox *pCombo) 143 143 { 144 144 /* Sanity check: */ … … 200 200 } 201 201 202 QString UIWizardExportAppFormat::format(Q IComboBox *pCombo)202 QString UIWizardExportAppFormat::format(QComboBox *pCombo) 203 203 { 204 204 /* Sanity check: */ … … 209 209 } 210 210 211 bool UIWizardExportAppFormat::isFormatCloudOne(Q IComboBox *pCombo, int iIndex /* = -1 */)211 bool UIWizardExportAppFormat::isFormatCloudOne(QComboBox *pCombo, int iIndex /* = -1 */) 212 212 { 213 213 /* Sanity check: */ … … 374 374 } 375 375 376 void UIWizardExportAppFormat::refreshProfileCombo(Q IComboBox *pCombo,376 void UIWizardExportAppFormat::refreshProfileCombo(QComboBox *pCombo, 377 377 UINotificationCenter *pCenter, 378 378 const QString &strFormat, … … 591 591 } 592 592 593 QString UIWizardExportAppFormat::profileName(Q IComboBox *pCombo)593 QString UIWizardExportAppFormat::profileName(QComboBox *pCombo) 594 594 { 595 595 return pCombo->currentData(ProfileData_Name).toString(); 596 596 } 597 597 598 void UIWizardExportAppFormat::updateFormatComboToolTip(Q IComboBox *pCombo)598 void UIWizardExportAppFormat::updateFormatComboToolTip(QComboBox *pCombo) 599 599 { 600 600 AssertPtrReturnVoid(pCombo); … … 608 608 } 609 609 610 void UIWizardExportAppFormat::updateMACAddressExportPolicyComboToolTip(Q IComboBox *pCombo)610 void UIWizardExportAppFormat::updateMACAddressExportPolicyComboToolTip(QComboBox *pCombo) 611 611 { 612 612 AssertPtrReturnVoid(pCombo); … … 679 679 } 680 680 /* Create format combo-box: */ 681 m_pFormatComboBox = new Q IComboBox(this);681 m_pFormatComboBox = new QComboBox(this); 682 682 if (m_pFormatComboBox) 683 683 { … … 737 737 738 738 /* Create MAC policy combo-box: */ 739 m_pMACComboBox = new Q IComboBox(pSettingsPane1);739 m_pMACComboBox = new QComboBox(pSettingsPane1); 740 740 if (m_pMACComboBox) 741 741 m_pSettingsLayout1->addWidget(m_pMACComboBox, 1, 1, 1, 2); … … 810 810 811 811 /* Create profile combo-box: */ 812 m_pProfileComboBox = new Q IComboBox(pSettingsPane2);812 m_pProfileComboBox = new QComboBox(pSettingsPane2); 813 813 if (m_pProfileComboBox) 814 814 { … … 881 881 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 882 882 this, &UIWizardExportAppPageFormat::sltHandleFileSelectorChange); 883 connect(m_pFormatComboBox, &Q IComboBox::currentIndexChanged,883 connect(m_pFormatComboBox, &QComboBox::currentIndexChanged, 884 884 this, &UIWizardExportAppPageFormat::sltHandleFormatComboChange); 885 connect(m_pMACComboBox, &Q IComboBox::currentIndexChanged,885 connect(m_pMACComboBox, &QComboBox::currentIndexChanged, 886 886 this, &UIWizardExportAppPageFormat::sltHandleMACAddressExportPolicyComboChange); 887 887 connect(m_pManifestCheckbox, &QCheckBox::stateChanged, … … 889 889 connect(m_pIncludeISOsCheckbox, &QCheckBox::stateChanged, 890 890 this, &UIWizardExportAppPageFormat::sltHandleIncludeISOsCheckBoxChange); 891 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,891 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 892 892 this, &UIWizardExportAppPageFormat::sltHandleProfileComboChange); 893 893 connect(m_pExportModeButtonGroup, &QButtonGroup::buttonToggled, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageFormat.h
r105603 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 47 47 class QButtonGroup; 48 48 class QCheckBox; 49 class QComboBox; 49 50 class QGridLayout; 50 51 class QLabel; 51 52 class QStackedWidget; 52 class QIComboBox;53 53 class QIRichTextLabel; 54 54 class QIToolButton; … … 74 74 { 75 75 /** Populates formats. */ 76 void populateFormats(Q IComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault);76 void populateFormats(QComboBox *pCombo, UINotificationCenter *pCenter, bool fExportToOCIByDefault); 77 77 /** Populates MAC address policies. */ 78 void populateMACAddressPolicies(Q IComboBox *pCombo);78 void populateMACAddressPolicies(QComboBox *pCombo); 79 79 80 80 /** Returns current format of @a pCombo specified. */ 81 QString format(Q IComboBox *pCombo);81 QString format(QComboBox *pCombo); 82 82 /** Returns whether format under certain @a iIndex is cloud one. */ 83 bool isFormatCloudOne(Q IComboBox *pCombo, int iIndex = -1);83 bool isFormatCloudOne(QComboBox *pCombo, int iIndex = -1); 84 84 85 85 /** Refresh stacked widget. */ … … 114 114 115 115 /** Refresh profile combo. */ 116 void refreshProfileCombo(Q IComboBox *pCombo,116 void refreshProfileCombo(QComboBox *pCombo, 117 117 UINotificationCenter *pCenter, 118 118 const QString &strFormat, … … 139 139 140 140 /** Returns current profile name of @a pCombo specified. */ 141 QString profileName(Q IComboBox *pCombo);141 QString profileName(QComboBox *pCombo); 142 142 /** Returns current cloud export mode chosen in @a radioButtons specified. */ 143 143 CloudExportMode cloudExportMode(const QMap<CloudExportMode, QAbstractButton*> &radioButtons); 144 144 145 145 /** Updates format combo tool-tips. */ 146 void updateFormatComboToolTip(Q IComboBox *pCombo);146 void updateFormatComboToolTip(QComboBox *pCombo); 147 147 /** Updates MAC address export policy combo tool-tips. */ 148 void updateMACAddressExportPolicyComboToolTip(Q IComboBox *pCombo);148 void updateMACAddressExportPolicyComboToolTip(QComboBox *pCombo); 149 149 } 150 150 … … 234 234 QLabel *m_pFormatComboBoxLabel; 235 235 /** Holds the format combo-box instance. */ 236 Q IComboBox*m_pFormatComboBox;236 QComboBox *m_pFormatComboBox; 237 237 238 238 /** Holds the settings widget 1 instance. */ … … 248 248 QLabel *m_pMACComboBoxLabel; 249 249 /** Holds the MAC address policy check-box instance. */ 250 Q IComboBox*m_pMACComboBox;250 QComboBox *m_pMACComboBox; 251 251 /** Holds the additional label instance. */ 252 252 QLabel *m_pAdditionalLabel; … … 261 261 QLabel *m_pProfileLabel; 262 262 /** Holds the profile combo-box instance. */ 263 Q IComboBox*m_pProfileComboBox;263 QComboBox *m_pProfileComboBox; 264 264 /** Holds the profile management tool-button instance. */ 265 265 QIToolButton *m_pProfileToolButton; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
r105363 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 28 28 /* Qt includes: */ 29 29 #include <QCheckBox> 30 #include <QComboBox> 30 31 #include <QFileInfo> 31 32 #include <QGroupBox> … … 39 40 40 41 /* GUI includes: */ 41 #include "QIComboBox.h"42 42 #include "QIToolButton.h" 43 43 #include "UIApplianceImportEditorWidget.h" … … 123 123 m_pSourceLayout->addWidget(m_pSourceLabel, 0, 0, Qt::AlignRight); 124 124 /* Prepare source combo: */ 125 m_pSourceComboBox = new Q IComboBox(pWidgetSourceWrapper);125 m_pSourceComboBox = new QComboBox(pWidgetSourceWrapper); 126 126 if (m_pSourceComboBox) 127 127 { … … 198 198 199 199 /* Prepare profile combo-box: */ 200 m_pProfileComboBox = new Q IComboBox(pContainerCloud);200 m_pProfileComboBox = new QComboBox(pContainerCloud); 201 201 if (m_pProfileComboBox) 202 202 { … … 299 299 } 300 300 /* Prepare MAC address policy combo: */ 301 m_pComboMACImportPolicy = new Q IComboBox(pContainerAppliance);301 m_pComboMACImportPolicy = new QComboBox(pContainerAppliance); 302 302 if (m_pComboMACImportPolicy) 303 303 { … … 363 363 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 364 364 this, &UIWizardImportAppPageExpert::sltHandleSourceComboChange); 365 connect(m_pSourceComboBox, &Q IComboBox::activated,365 connect(m_pSourceComboBox, &QComboBox::activated, 366 366 this, &UIWizardImportAppPageExpert::sltHandleSourceComboChange); 367 367 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 368 368 this, &UIWizardImportAppPageExpert::sltHandleImportedFileSelectorChange); 369 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,369 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 370 370 this, &UIWizardImportAppPageExpert::sltHandleProfileComboChange); 371 371 connect(m_pProfileToolButton, &QIToolButton::clicked, … … 375 375 connect(m_pEditorImportFilePath, &UIFilePathSelector::pathChanged, 376 376 this, &UIWizardImportAppPageExpert::sltHandleImportPathEditorChange); 377 connect(m_pComboMACImportPolicy, &Q IComboBox::currentIndexChanged,377 connect(m_pComboMACImportPolicy, &QComboBox::currentIndexChanged, 378 378 this, &UIWizardImportAppPageExpert::sltHandleMACImportPolicyComboChange); 379 379 connect(m_pCheckboxImportHDsAsVDI, &QCheckBox::stateChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageExpert.h
r104475 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 37 37 /* Forward declarations: */ 38 38 class QCheckBox; 39 class QComboBox; 39 40 class QGridLayout; 40 41 class QLabel; 41 42 class QListWidget; 42 43 class QStackedWidget; 43 class QIComboBox;44 44 class QIToolButton; 45 45 class UIApplianceImportEditorWidget; … … 123 123 QLabel *m_pSourceLabel; 124 124 /** Holds the source type combo-box instance. */ 125 Q IComboBox*m_pSourceComboBox;125 QComboBox *m_pSourceComboBox; 126 126 127 127 /** Holds the settings widget 1 instance. */ … … 140 140 QLabel *m_pProfileLabel; 141 141 /** Holds the profile combo-box instance. */ 142 Q IComboBox*m_pProfileComboBox;142 QComboBox *m_pProfileComboBox; 143 143 /** Holds the profile management tool-button instance. */ 144 144 QIToolButton *m_pProfileToolButton; … … 160 160 QLabel *m_pLabelMACImportPolicy; 161 161 /** Holds the MAC address combo instance. */ 162 Q IComboBox*m_pComboMACImportPolicy;162 QComboBox *m_pComboMACImportPolicy; 163 163 /** Holds the additional options label instance. */ 164 164 QLabel *m_pLabelAdditionalOptions; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSettings.cpp
r104496 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 28 28 /* Qt includes: */ 29 29 #include <QCheckBox> 30 #include <QComboBox> 30 31 #include <QLabel> 31 32 #include <QStackedWidget> … … 33 34 34 35 /* GUI includes: */ 35 #include "QIComboBox.h"36 36 #include "QIRichTextLabel.h" 37 37 #include "UIApplianceImportEditorWidget.h" … … 90 90 } 91 91 92 void UIWizardImportAppSettings::refreshMACAddressImportPolicies(Q IComboBox *pCombo,92 void UIWizardImportAppSettings::refreshMACAddressImportPolicies(QComboBox *pCombo, 93 93 bool fIsSourceCloudOne) 94 94 { … … 193 193 } 194 194 195 MACAddressImportPolicy UIWizardImportAppSettings::macAddressImportPolicy(Q IComboBox *pCombo)195 MACAddressImportPolicy UIWizardImportAppSettings::macAddressImportPolicy(QComboBox *pCombo) 196 196 { 197 197 /* Sanity check: */ … … 211 211 } 212 212 213 void UIWizardImportAppSettings::retranslateMACImportPolicyCombo(Q IComboBox *pCombo)213 void UIWizardImportAppSettings::retranslateMACImportPolicyCombo(QComboBox *pCombo) 214 214 { 215 215 /* Sanity check: */ … … 287 287 } 288 288 289 void UIWizardImportAppSettings::updateMACImportPolicyComboToolTip(Q IComboBox *pCombo)289 void UIWizardImportAppSettings::updateMACImportPolicyComboToolTip(QComboBox *pCombo) 290 290 { 291 291 /* Sanity check: */ … … 376 376 } 377 377 /* Prepare MAC address policy combo: */ 378 m_pComboMACImportPolicy = new Q IComboBox(pContainerAppliance);378 m_pComboMACImportPolicy = new QComboBox(pContainerAppliance); 379 379 if (m_pComboMACImportPolicy) 380 380 { … … 436 436 connect(m_pEditorImportFilePath, &UIFilePathSelector::pathChanged, 437 437 this, &UIWizardImportAppPageSettings::sltHandleImportPathEditorChange); 438 connect(m_pComboMACImportPolicy, &Q IComboBox::currentIndexChanged,438 connect(m_pComboMACImportPolicy, &QComboBox::currentIndexChanged, 439 439 this, &UIWizardImportAppPageSettings::sltHandleMACImportPolicyComboChange); 440 440 connect(m_pCheckboxImportHDsAsVDI, &QCheckBox::stateChanged, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSettings.h
r103982 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 38 38 /* Forward declarations: */ 39 39 class QCheckBox; 40 class Q IComboBox;40 class QComboBox; 41 41 class QLabel; 42 42 class QStackedWidget; … … 71 71 bool fIsSourceCloudOne); 72 72 /** Refresh MAC address import policies. */ 73 void refreshMACAddressImportPolicies(Q IComboBox *pCombo,73 void refreshMACAddressImportPolicies(QComboBox *pCombo, 74 74 bool fIsSourceCloudOne); 75 75 … … 80 80 81 81 /** Returns MAC address import policy. */ 82 MACAddressImportPolicy macAddressImportPolicy(Q IComboBox *pCombo);82 MACAddressImportPolicy macAddressImportPolicy(QComboBox *pCombo); 83 83 /** Returns whether hard disks should be imported as VDIs. */ 84 84 bool isImportHDsAsVDI(QCheckBox *pCheckBox); 85 85 86 86 /** Translates MAC import policy combo. */ 87 void retranslateMACImportPolicyCombo(Q IComboBox *pCombo);87 void retranslateMACImportPolicyCombo(QComboBox *pCombo); 88 88 /** Translates certificate label. */ 89 89 void retranslateCertificateLabel(QLabel *pLabel, const kCertText &enmType, const QString &strSignedBy); 90 90 91 91 /** Updates MAC import policy combo tool-tips. */ 92 void updateMACImportPolicyComboToolTip(Q IComboBox *pCombo);92 void updateMACImportPolicyComboToolTip(QComboBox *pCombo); 93 93 } 94 94 … … 153 153 QLabel *m_pLabelMACImportPolicy; 154 154 /** Holds the MAC address combo instance. */ 155 Q IComboBox*m_pComboMACImportPolicy;155 QComboBox *m_pComboMACImportPolicy; 156 156 /** Holds the additional options label instance. */ 157 157 QLabel *m_pLabelAdditionalOptions; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSource.cpp
r105363 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 27 27 28 28 /* Qt includes: */ 29 #include <QComboBox> 29 30 #include <QGridLayout> 30 31 #include <QLabel> … … 34 35 35 36 /* GUI includes: */ 36 #include "QIComboBox.h"37 37 #include "QIRichTextLabel.h" 38 38 #include "QIToolButton.h" … … 62 62 *********************************************************************************************************************************/ 63 63 64 void UIWizardImportAppSource::populateSources(Q IComboBox *pCombo,64 void UIWizardImportAppSource::populateSources(QComboBox *pCombo, 65 65 UINotificationCenter *pCenter, 66 66 bool fImportFromOCIByDefault, … … 137 137 } 138 138 139 QString UIWizardImportAppSource::source(Q IComboBox *pCombo)139 QString UIWizardImportAppSource::source(QComboBox *pCombo) 140 140 { 141 141 /* Sanity check: */ … … 146 146 } 147 147 148 bool UIWizardImportAppSource::isSourceCloudOne(Q IComboBox *pCombo, int iIndex /* = -1 */)148 bool UIWizardImportAppSource::isSourceCloudOne(QComboBox *pCombo, int iIndex /* = -1 */) 149 149 { 150 150 /* Sanity check: */ … … 169 169 } 170 170 171 void UIWizardImportAppSource::refreshProfileCombo(Q IComboBox *pCombo,171 void UIWizardImportAppSource::refreshProfileCombo(QComboBox *pCombo, 172 172 UINotificationCenter *pCenter, 173 173 const QString &strSource, … … 404 404 } 405 405 406 QString UIWizardImportAppSource::profileName(Q IComboBox *pCombo)406 QString UIWizardImportAppSource::profileName(QComboBox *pCombo) 407 407 { 408 408 /* Sanity check: */ … … 423 423 } 424 424 425 void UIWizardImportAppSource::updateSourceComboToolTip(Q IComboBox *pCombo)425 void UIWizardImportAppSource::updateSourceComboToolTip(QComboBox *pCombo) 426 426 { 427 427 /* Sanity check: */ … … 479 479 m_pSourceLayout->addWidget(m_pSourceLabel, 0, 0, Qt::AlignRight); 480 480 /* Prepare source selector: */ 481 m_pSourceComboBox = new Q IComboBox(this);481 m_pSourceComboBox = new QComboBox(this); 482 482 if (m_pSourceComboBox) 483 483 { … … 559 559 560 560 /* Prepare profile combo-box: */ 561 m_pProfileComboBox = new Q IComboBox(pContainerCloud);561 m_pProfileComboBox = new QComboBox(pContainerCloud); 562 562 if (m_pProfileComboBox) 563 563 { … … 613 613 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 614 614 this, &UIWizardImportAppPageSource::sltHandleSourceComboChange); 615 connect(m_pSourceComboBox, &Q IComboBox::currentIndexChanged,615 connect(m_pSourceComboBox, &QComboBox::currentIndexChanged, 616 616 this, &UIWizardImportAppPageSource::sltHandleSourceComboChange); 617 617 connect(m_pFileSelector, &UIEmptyFilePathSelector::pathChanged, 618 618 this, &UIWizardImportAppPageSource::completeChanged); 619 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,619 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 620 620 this, &UIWizardImportAppPageSource::sltHandleProfileComboChange); 621 621 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageSource.h
r103982 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 36 36 37 37 /* Forward declarations: */ 38 class QComboBox; 38 39 class QGridLayout; 39 40 class QLabel; 40 41 class QListWidget; 41 42 class QStackedWidget; 42 class QIComboBox;43 43 class QIRichTextLabel; 44 44 class QIToolButton; … … 67 67 { 68 68 /** Populates sources. */ 69 void populateSources(Q IComboBox *pCombo,69 void populateSources(QComboBox *pCombo, 70 70 UINotificationCenter *pCenter, 71 71 bool fImportFromOCIByDefault, … … 73 73 74 74 /** Returns current source of @a pCombo specified. */ 75 QString source(Q IComboBox *pCombo);75 QString source(QComboBox *pCombo); 76 76 /** Returns whether source under certain @a iIndex is cloud one. */ 77 bool isSourceCloudOne(Q IComboBox *pCombo, int iIndex = -1);77 bool isSourceCloudOne(QComboBox *pCombo, int iIndex = -1); 78 78 79 79 /** Refresh stacked widget. */ … … 82 82 83 83 /** Refresh profile combo. */ 84 void refreshProfileCombo(Q IComboBox *pCombo,84 void refreshProfileCombo(QComboBox *pCombo, 85 85 UINotificationCenter *pCenter, 86 86 const QString &strSource, … … 106 106 107 107 /** Returns profile name. */ 108 QString profileName(Q IComboBox *pCombo);108 QString profileName(QComboBox *pCombo); 109 109 /** Returns machine ID. */ 110 110 QString machineId(QListWidget *pListWidget); 111 111 112 112 /** Updates source combo tool-tips. */ 113 void updateSourceComboToolTip(Q IComboBox *pCombo);113 void updateSourceComboToolTip(QComboBox *pCombo); 114 114 } 115 115 … … 181 181 QLabel *m_pSourceLabel; 182 182 /** Holds the source type combo-box instance. */ 183 Q IComboBox*m_pSourceComboBox;183 QComboBox *m_pSourceComboBox; 184 184 185 185 /** Holds the settings widget 1 instance. */ … … 198 198 QLabel *m_pProfileLabel; 199 199 /** Holds the profile combo-box instance. */ 200 Q IComboBox*m_pProfileComboBox;200 QComboBox *m_pProfileComboBox; 201 201 /** Holds the profile management tool-button instance. */ 202 202 QIToolButton *m_pProfileToolButton; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp
r105735 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 27 27 28 28 /* Qt includes: */ 29 #include <QComboBox> 29 30 #include <QGridLayout> 30 31 #include <QHeaderView> … … 34 35 35 36 /* GUI includes: */ 36 #include "QIComboBox.h"37 37 #include "QIListWidget.h" 38 38 #include "QIToolButton.h" … … 81 81 82 82 /* Prepare provider combo-box: */ 83 m_pProviderComboBox = new Q IComboBox(this);83 m_pProviderComboBox = new QComboBox(this); 84 84 if (m_pProviderComboBox) 85 85 { … … 101 101 102 102 /* Prepare profile combo-box: */ 103 m_pProfileComboBox = new Q IComboBox(this);103 m_pProfileComboBox = new QComboBox(this); 104 104 if (m_pProfileComboBox) 105 105 { … … 202 202 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 203 203 this, &UIWizardNewCloudVMPageExpert::sltHandleProviderComboChange); 204 connect(m_pProviderComboBox, &Q IComboBox::activated,204 connect(m_pProviderComboBox, &QComboBox::activated, 205 205 this, &UIWizardNewCloudVMPageExpert::sltHandleProviderComboChange); 206 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,206 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 207 207 this, &UIWizardNewCloudVMPageExpert::sltHandleProfileComboChange); 208 208 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h
r105735 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 98 98 QLabel *m_pProviderLabel; 99 99 /** Holds the provider type combo-box instance. */ 100 Q IComboBox*m_pProviderComboBox;100 QComboBox *m_pProviderComboBox; 101 101 /** Holds the profile label instance. */ 102 102 QLabel *m_pProfileLabel; 103 103 /** Holds the profile combo-box instance. */ 104 Q IComboBox*m_pProfileComboBox;104 QComboBox *m_pProfileComboBox; 105 105 /** Holds the profile management tool-button instance. */ 106 106 QIToolButton *m_pProfileToolButton; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.cpp
r105363 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 27 27 28 28 /* Qt includes: */ 29 #include <QComboBox> 29 30 #include <QGridLayout> 30 31 #include <QLabel> … … 34 35 35 36 /* GUI includes: */ 36 #include "QIComboBox.h"37 37 #include "QIListWidget.h" 38 38 #include "QIRichTextLabel.h" … … 58 58 *********************************************************************************************************************************/ 59 59 60 void UIWizardNewCloudVMSource::populateProviders(Q IComboBox *pCombo, UINotificationCenter *pCenter)60 void UIWizardNewCloudVMSource::populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter) 61 61 { 62 62 /* Sanity check: */ … … 113 113 } 114 114 115 void UIWizardNewCloudVMSource::populateProfiles(Q IComboBox *pCombo,115 void UIWizardNewCloudVMSource::populateProfiles(QComboBox *pCombo, 116 116 UINotificationCenter *pCenter, 117 117 const QString &strProviderShortName, … … 325 325 326 326 /* Prepare provider combo-box: */ 327 m_pProviderComboBox = new Q IComboBox(this);327 m_pProviderComboBox = new QComboBox(this); 328 328 if (m_pProviderComboBox) 329 329 { … … 364 364 365 365 /* Prepare profile combo-box: */ 366 m_pProfileComboBox = new Q IComboBox(this);366 m_pProfileComboBox = new QComboBox(this); 367 367 if (m_pProfileComboBox) 368 368 { … … 443 443 connect(gVBoxEvents, &UIVirtualBoxEventHandler::sigCloudProfileChanged, 444 444 this, &UIWizardNewCloudVMPageSource::sltHandleProviderComboChange); 445 connect(m_pProviderComboBox, &Q IComboBox::activated,445 connect(m_pProviderComboBox, &QComboBox::activated, 446 446 this, &UIWizardNewCloudVMPageSource::sltHandleProviderComboChange); 447 connect(m_pProfileComboBox, &Q IComboBox::currentIndexChanged,447 connect(m_pProfileComboBox, &QComboBox::currentIndexChanged, 448 448 this, &UIWizardNewCloudVMPageSource::sltHandleProfileComboChange); 449 449 connect(m_pProfileToolButton, &QIToolButton::clicked, -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.h
r104566 r105742 5 5 6 6 /* 7 * Copyright (C) 2009-202 3Oracle and/or its affiliates.7 * Copyright (C) 2009-2024 Oracle and/or its affiliates. 8 8 * 9 9 * This file is part of VirtualBox base platform packages, as … … 39 39 40 40 /* Forward declarations: */ 41 class QComboBox; 41 42 class QGridLayout; 42 43 class QLabel; 43 44 class QIListWidget; 44 45 class QTabBar; 45 class QIComboBox;46 46 class QIRichTextLabel; 47 47 class QIToolButton; … … 68 68 { 69 69 /** Populates @a pCombo with known providers. */ 70 void populateProviders(Q IComboBox *pCombo, UINotificationCenter *pCenter);70 void populateProviders(QComboBox *pCombo, UINotificationCenter *pCenter); 71 71 /** Populates @a pCombo with known profiles. 72 72 * @param strProviderShortName Brings the short name of provider profiles related to. 73 73 * @param strProfileName Brings the name of profile to be chosen by default. */ 74 void populateProfiles(Q IComboBox *pCombo,74 void populateProfiles(QComboBox *pCombo, 75 75 UINotificationCenter *pCenter, 76 76 const QString &strProviderShortName, … … 153 153 QLabel *m_pProviderLabel; 154 154 /** Holds the provider type combo-box instance. */ 155 Q IComboBox*m_pProviderComboBox;155 QComboBox *m_pProviderComboBox; 156 156 157 157 /** Holds the description label instance. */ … … 163 163 QLabel *m_pProfileLabel; 164 164 /** Holds the profile combo-box instance. */ 165 Q IComboBox*m_pProfileComboBox;165 QComboBox *m_pProfileComboBox; 166 166 /** Holds the profile management tool-button instance. */ 167 167 QIToolButton *m_pProfileToolButton;
Note:
See TracChangeset
for help on using the changeset viewer.