Changeset 94057 in vbox
- Timestamp:
- Mar 2, 2022 2:14:37 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/editors
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp
r93992 r94057 17 17 18 18 /* Qt includes: */ 19 #include <QComboBox> 19 20 #include <QGridLayout> 20 21 #include <QHBoxLayout> … … 23 24 24 25 /* GUI includes: */ 25 #include "QIComboBox.h"26 26 #include "UICommon.h" 27 27 #include "UIConverter.h" … … 146 146 if (m_pComboPolicy) 147 147 { 148 m_pComboPolicy->setToolTip(tr("Selects maximum guest screen size policy."));149 148 for (int i = 0; i < m_pComboPolicy->count(); ++i) 150 149 { … … 152 151 m_pComboPolicy->setItemText(i, gpConverter->toString(enmType)); 153 152 } 153 m_pComboPolicy->setToolTip(tr("Selects maximum guest screen size policy.")); 154 154 } 155 155 } … … 212 212 } 213 213 /* Prepare policy combo: */ 214 m_pComboPolicy = new Q IComboBox(this);214 m_pComboPolicy = new QComboBox(this); 215 215 if (m_pComboPolicy) 216 216 { 217 217 if (m_pLabelPolicy) 218 218 m_pLabelPolicy->setBuddy(m_pComboPolicy); 219 connect(m_pComboPolicy, static_cast<void(Q IComboBox::*)(int)>(&QIComboBox::activated),219 connect(m_pComboPolicy, static_cast<void(QComboBox::*)(int)>(&QComboBox::activated), 220 220 this, &UIMaximumGuestScreenSizeEditor::sltHandleCurrentPolicyIndexChanged); 221 221 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIMaximumGuestScreenSizeEditor.h
r93992 r94057 34 34 class QLabel; 35 35 class QSpinBox; 36 class Q IComboBox;36 class QComboBox; 37 37 38 38 … … 118 118 QLabel *m_pLabelPolicy; 119 119 /** Holds the policy combo instance. */ 120 Q IComboBox*m_pComboPolicy;120 QComboBox *m_pComboPolicy; 121 121 /** Holds the max width label instance. */ 122 122 QLabel *m_pLabelMaxWidth;
Note:
See TracChangeset
for help on using the changeset viewer.