![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
struct | ExtraData |
Public Types | |
enum class | CurrentElementCriteria { None , CurrentIndex , CurrentValue , None , CurrentIndex , CurrentValue } |
enum class | CurrentElementCriteria { None , CurrentIndex , CurrentValue , None , CurrentIndex , CurrentValue } |
Public Types inherited from QQuickControlPrivate | |
enum class | UnhideVisibility { Show , Hide } |
Public Types inherited from QQuickItemPrivate | |
enum | ChangeType { Geometry = 0x01 , SiblingOrder = 0x02 , Visibility = 0x04 , Opacity = 0x08 , Destroyed = 0x10 , Parent = 0x20 , Children = 0x40 , Rotation = 0x80 , ImplicitWidth = 0x100 , ImplicitHeight = 0x200 , Enabled = 0x400 , Focus = 0x800 , Scale = 0x1000 , Matrix = 0x2000 , AllChanges = 0xFFFFFFFF } |
enum | ExtraDataTag { NoTag = 0x1 , LeftMouseButtonAccepted = 0x2 } |
enum | DirtyType { TransformOrigin = 0x00000001 , Transform = 0x00000002 , BasicTransform = 0x00000004 , Position = 0x00000008 , Size = 0x00000010 , ZValue = 0x00000020 , Content = 0x00000040 , Smooth = 0x00000080 , OpacityValue = 0x00000100 , ChildrenChanged = 0x00000200 , ChildrenStackingChanged = 0x00000400 , ParentChanged = 0x00000800 , Clip = 0x00001000 , Window = 0x00002000 , EffectReference = 0x00008000 , Visible = 0x00010000 , HideReference = 0x00020000 , Antialiasing = 0x00040000 , TransformUpdateMask , ComplexTransformUpdateMask = Transform | Window , ContentUpdateMask = Size | Content | Smooth | Window | Antialiasing , ChildrenUpdateMask = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Public Types inherited from QSafeQuickItemChangeListener< QQuickControlPrivate > | |
using | InDestructorTest |
using | WasDeletedTest |
Additional Inherited Members | |
Static Public Attributes inherited from QQuickControlPrivate | |
static const ChangeTypes | ImplicitSizeChanges = QQuickItemPrivate::ImplicitWidth | QQuickItemPrivate::ImplicitHeight | QQuickItemPrivate::Destroyed |
Abstract base type providing functionality common to all controls. | |
Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate > | |
void | setCurrentColorGroup () |
Definition at line 206 of file qquickcombobox.cpp.
|
strong |
Enumerator | |
---|---|
None | |
CurrentIndex | |
CurrentValue | |
None | |
CurrentIndex | |
CurrentValue |
Definition at line 243 of file qquickcombobox.cpp.
|
strong |
Enumerator | |
---|---|
None | |
CurrentIndex | |
CurrentValue | |
None | |
CurrentIndex | |
CurrentValue |
Definition at line 243 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::acceptInput | ( | ) |
Definition at line 614 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::NoActivate, and setCurrentItemAtIndex().
void QQuickComboBoxPrivate::acceptInput | ( | ) |
qreal QQuickComboBoxPrivate::calculateWidestTextWidth | ( | ) | const |
Definition at line 975 of file qquickcombobox.cpp.
qreal QQuickComboBoxPrivate::calculateWidestTextWidth | ( | ) | const |
void QQuickComboBoxPrivate::cancelIndicator | ( | ) |
Definition at line 883 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::cancelIndicator | ( | ) |
void QQuickComboBoxPrivate::cancelPopup | ( | ) |
Definition at line 903 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::cancelPopup | ( | ) |
void QQuickComboBoxPrivate::countChanged | ( | ) |
Definition at line 488 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::NoActivate, setCurrentItemAtIndex(), and updateCurrentElements().
void QQuickComboBoxPrivate::countChanged | ( | ) |
void QQuickComboBoxPrivate::createDelegateModel | ( | ) |
Definition at line 812 of file qquickcombobox.cpp.
References delegate, delegateModel, and ownModel.
void QQuickComboBoxPrivate::createDelegateModel | ( | ) |
Definition at line 455 of file qquickcombobox.cpp.
References updateCurrentElements().
void QQuickComboBoxPrivate::decrementCurrentIndex | ( | ) |
Definition at line 708 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::Activate, currentIndex, QT_BEGIN_NAMESPACE::Highlight, highlightedIndex, isPopupVisible(), setCurrentItemAtIndex(), and setHighlightedIndex().
void QQuickComboBoxPrivate::decrementCurrentIndex | ( | ) |
|
inlineoverridevirtual |
Implements QQuickAbstractPaletteProvider.
Definition at line 313 of file qquickcombobox.cpp.
|
inlineoverridevirtual |
Implements QQuickAbstractPaletteProvider.
Definition at line 313 of file qquickcombobox.cpp.
QString QQuickComboBoxPrivate::effectiveTextRole | ( | ) | const |
Definition at line 500 of file qquickcombobox.cpp.
QString QQuickComboBoxPrivate::effectiveTextRole | ( | ) | const |
void QQuickComboBoxPrivate::executeIndicator | ( | bool | complete = false | ) |
Definition at line 889 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::executeIndicator | ( | bool | complete = false | ) |
void QQuickComboBoxPrivate::executePopup | ( | bool | complete = false | ) |
Definition at line 909 of file qquickcombobox.cpp.
Referenced by showPopup().
void QQuickComboBoxPrivate::executePopup | ( | bool | complete = false | ) |
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 957 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Reimplemented from QQuickControlPrivate.
Definition at line 857 of file qquickcombobox.cpp.
Reimplemented from QQuickControlPrivate.
Reimplemented from QQuickControlPrivate.
Definition at line 849 of file qquickcombobox.cpp.
Reimplemented from QQuickControlPrivate.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 865 of file qquickcombobox.cpp.
References pressed, and togglePopup().
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 876 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
|
static |
Definition at line 1025 of file qquickcombobox.cpp.
|
static |
void QQuickComboBoxPrivate::hidePopup | ( | bool | accept | ) |
Definition at line 371 of file qquickcombobox.cpp.
References highlightedIndex, QT_BEGIN_NAMESPACE::NoActivate, and setCurrentItemAtIndex().
Referenced by itemClicked(), and togglePopup().
void QQuickComboBoxPrivate::hidePopup | ( | bool | accept | ) |
void QQuickComboBoxPrivate::incrementCurrentIndex | ( | ) |
Definition at line 692 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::Activate, currentIndex, QT_BEGIN_NAMESPACE::Highlight, highlightedIndex, isPopupVisible(), setCurrentItemAtIndex(), and setHighlightedIndex().
void QQuickComboBoxPrivate::incrementCurrentIndex | ( | ) |
bool QQuickComboBoxPrivate::isPopupVisible | ( | ) | const |
Definition at line 357 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), and keySearch().
bool QQuickComboBoxPrivate::isPopupVisible | ( | ) | const |
bool QQuickComboBoxPrivate::isValidIndex | ( | int | index | ) | const |
Definition at line 609 of file qquickcombobox.cpp.
References delegateModel.
bool QQuickComboBoxPrivate::isValidIndex | ( | int | index | ) | const |
void QQuickComboBoxPrivate::itemClicked | ( | ) |
Definition at line 424 of file qquickcombobox.cpp.
References hidePopup(), QT_BEGIN_NAMESPACE::Highlight, and setHighlightedIndex().
void QQuickComboBoxPrivate::itemClicked | ( | ) |
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 947 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
void QQuickComboBoxPrivate::itemHovered | ( | ) |
Definition at line 434 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::Highlight, keyNavigating, and setHighlightedIndex().
void QQuickComboBoxPrivate::itemHovered | ( | ) |
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 939 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 921 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 741 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::Activate, currentIndex, QT_BEGIN_NAMESPACE::Highlight, highlightedIndex, isPopupVisible(), setCurrentItemAtIndex(), and setHighlightedIndex().
int QQuickComboBoxPrivate::match | ( | int | start, |
const QString & | text, | ||
Qt::MatchFlags | flags ) const |
Definition at line 753 of file qquickcombobox.cpp.
int QQuickComboBoxPrivate::match | ( | int | start, |
const QString & | text, | ||
Qt::MatchFlags | flags ) const |
void QQuickComboBoxPrivate::maybeUpdateImplicitContentWidth | ( | ) |
If the user requested it (and we haven't already done it, depending on the policy), update the implicit content width to the largest text in the model.
Definition at line 1012 of file qquickcombobox.cpp.
References hasCalculatedWidestText.
void QQuickComboBoxPrivate::maybeUpdateImplicitContentWidth | ( | ) |
void QQuickComboBoxPrivate::modelUpdated | ( | ) |
Definition at line 478 of file qquickcombobox.cpp.
References updateCurrentElements().
void QQuickComboBoxPrivate::modelUpdated | ( | ) |
void QQuickComboBoxPrivate::onDataChanged | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight, | ||
const QList< int > & | roles ) |
Definition at line 602 of file qquickcombobox.cpp.
References currentIndex, and updateCurrentElements().
void QQuickComboBoxPrivate::onDataChanged | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight, | ||
const QList< int > & | roles ) |
void QQuickComboBoxPrivate::popupDestroyed | ( | ) |
Definition at line 417 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::popupDestroyed | ( | ) |
void QQuickComboBoxPrivate::popupVisibleChanged | ( | ) |
Definition at line 392 of file qquickcombobox.cpp.
References hasDown, and updateHighlightedIndex().
void QQuickComboBoxPrivate::popupVisibleChanged | ( | ) |
void QQuickComboBoxPrivate::setCurrentIndex | ( | int | index | ) |
Definition at line 663 of file qquickcombobox.cpp.
References currentIndex, and updateCurrentElements().
void QQuickComboBoxPrivate::setCurrentIndex | ( | int | index | ) |
void QQuickComboBoxPrivate::setCurrentItemAtIndex | ( | int | index, |
Activation | activate ) |
Definition at line 676 of file qquickcombobox.cpp.
References currentIndex, updateCurrentText(), and updateCurrentValue().
Referenced by acceptInput(), countChanged(), decrementCurrentIndex(), hidePopup(), incrementCurrentIndex(), and keySearch().
void QQuickComboBoxPrivate::setCurrentItemAtIndex | ( | int | , |
Activation | activate ) |
void QQuickComboBoxPrivate::setHighlightedIndex | ( | int | index, |
Highlighting | highlight ) |
Definition at line 728 of file qquickcombobox.cpp.
References highlightedIndex.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), itemClicked(), itemHovered(), and keySearch().
void QQuickComboBoxPrivate::setHighlightedIndex | ( | int | index, |
Highlighting | highlight ) |
void QQuickComboBoxPrivate::setInputMethodHints | ( | Qt::InputMethodHints | hints, |
bool | force = false ) |
Definition at line 929 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::setInputMethodHints | ( | Qt::InputMethodHints | hints, |
bool | force = false ) |
void QQuickComboBoxPrivate::showPopup | ( | ) |
Definition at line 362 of file qquickcombobox.cpp.
References executePopup().
Referenced by togglePopup().
void QQuickComboBoxPrivate::showPopup | ( | ) |
void QQuickComboBoxPrivate::togglePopup | ( | bool | accept | ) |
Definition at line 384 of file qquickcombobox.cpp.
References hidePopup(), and showPopup().
Referenced by handleRelease().
void QQuickComboBoxPrivate::togglePopup | ( | bool | accept | ) |
Definition at line 641 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::updateAcceptableInput | ( | ) |
Definition at line 582 of file qquickcombobox.cpp.
References m_acceptableInput.
void QQuickComboBoxPrivate::updateAcceptableInput | ( | ) |
void QQuickComboBoxPrivate::updateCurrentElements | ( | ) |
Definition at line 566 of file qquickcombobox.cpp.
References updateCurrentIndex(), updateCurrentText(), and updateCurrentValue().
Referenced by countChanged(), createdItem(), modelUpdated(), onDataChanged(), and setCurrentIndex().
void QQuickComboBoxPrivate::updateCurrentElements | ( | ) |
void QQuickComboBoxPrivate::updateCurrentIndex | ( | ) |
Definition at line 526 of file qquickcombobox.cpp.
References currentIndex.
Referenced by updateCurrentElements().
void QQuickComboBoxPrivate::updateCurrentIndex | ( | ) |
void QQuickComboBoxPrivate::updateCurrentText | ( | ) |
Definition at line 537 of file qquickcombobox.cpp.
Referenced by setCurrentItemAtIndex(), and updateCurrentElements().
void QQuickComboBoxPrivate::updateCurrentText | ( | ) |
void QQuickComboBoxPrivate::updateCurrentValue | ( | ) |
Definition at line 555 of file qquickcombobox.cpp.
Referenced by setCurrentItemAtIndex(), and updateCurrentElements().
void QQuickComboBoxPrivate::updateCurrentValue | ( | ) |
void QQuickComboBoxPrivate::updateEditText | ( | ) |
Definition at line 505 of file qquickcombobox.cpp.
void QQuickComboBoxPrivate::updateEditText | ( | ) |
void QQuickComboBoxPrivate::updateHighlightedIndex | ( | ) |
Definition at line 723 of file qquickcombobox.cpp.
Referenced by popupVisibleChanged().
void QQuickComboBoxPrivate::updateHighlightedIndex | ( | ) |
bool QQuickComboBoxPrivate::acceptedEscKeyPress = false |
Definition at line 340 of file qquickcombobox.cpp.
CurrentElementCriteria QQuickComboBoxPrivate::currentElementCriteria = CurrentElementCriteria::None |
Definition at line 323 of file qquickcombobox.cpp.
int QQuickComboBoxPrivate::currentIndex = -1 |
Definition at line 325 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), keySearch(), onDataChanged(), setCurrentIndex(), setCurrentItemAtIndex(), and updateCurrentIndex().
QString QQuickComboBoxPrivate::currentText |
Definition at line 330 of file qquickcombobox.cpp.
QVariant QQuickComboBoxPrivate::currentValue |
Definition at line 333 of file qquickcombobox.cpp.
QQmlComponent * QQuickComboBoxPrivate::delegate = nullptr |
Definition at line 336 of file qquickcombobox.cpp.
Referenced by createDelegateModel().
QQmlInstanceModel * QQuickComboBoxPrivate::delegateModel = nullptr |
Definition at line 335 of file qquickcombobox.cpp.
Referenced by createDelegateModel(), and isValidIndex().
QString QQuickComboBoxPrivate::displayText |
Definition at line 331 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::down = false |
Definition at line 316 of file qquickcombobox.cpp.
QLazilyAllocated< ExtraData > QQuickComboBoxPrivate::extra |
Definition at line 354 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::flat = false |
Definition at line 315 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::hasCalculatedWidestText = false |
Definition at line 322 of file qquickcombobox.cpp.
Referenced by maybeUpdateImplicitContentWidth().
bool QQuickComboBoxPrivate::hasDisplayText = false |
Definition at line 321 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::hasDown = false |
Definition at line 317 of file qquickcombobox.cpp.
Referenced by popupVisibleChanged().
int QQuickComboBoxPrivate::highlightedIndex = -1 |
Definition at line 324 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), hidePopup(), incrementCurrentIndex(), keySearch(), and setHighlightedIndex().
QQuickComboBox::ImplicitContentWidthPolicy QQuickComboBoxPrivate::implicitContentWidthPolicy = QQuickComboBox::ContentItemImplicitWidth |
Definition at line 326 of file qquickcombobox.cpp.
QQuickDeferredPointer< QQuickItem > QQuickComboBoxPrivate::indicator |
Definition at line 337 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::keyNavigating = false |
Definition at line 320 of file qquickcombobox.cpp.
Referenced by itemHovered().
bool QQuickComboBoxPrivate::m_acceptableInput = true |
Definition at line 339 of file qquickcombobox.cpp.
Referenced by updateAcceptableInput().
QVariant QQuickComboBoxPrivate::model |
Definition at line 327 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::ownModel = false |
Definition at line 319 of file qquickcombobox.cpp.
Referenced by createDelegateModel().
QQuickDeferredPointer< QQuickPopup > QQuickComboBoxPrivate::popup |
Definition at line 338 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::pressed = false |
Definition at line 318 of file qquickcombobox.cpp.
Referenced by handleRelease().
QQuickItem * QQuickComboBoxPrivate::pressedItem = nullptr |
Definition at line 334 of file qquickcombobox.cpp.
Definition at line 328 of file qquickcombobox.cpp.
bool QQuickComboBoxPrivate::receivedEscKeyPress = false |
Definition at line 341 of file qquickcombobox.cpp.
QString QQuickComboBoxPrivate::textRole |
Definition at line 329 of file qquickcombobox.cpp.
QString QQuickComboBoxPrivate::valueRole |
Definition at line 332 of file qquickcombobox.cpp.