![]() |
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. | |
| Static Public Attributes inherited from QQuickItemPrivate | |
| static bool | customOverlayRequested = false |
| Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate > | |
| void | setCurrentColorGroup () |
Definition at line 207 of file qquickcombobox.cpp.
|
strong |
| Enumerator | |
|---|---|
| None | |
| CurrentIndex | |
| CurrentValue | |
| None | |
| CurrentIndex | |
| CurrentValue | |
Definition at line 244 of file qquickcombobox.cpp.
|
strong |
| Enumerator | |
|---|---|
| None | |
| CurrentIndex | |
| CurrentValue | |
| None | |
| CurrentIndex | |
| CurrentValue | |
Definition at line 244 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::acceptInput | ( | ) |
Definition at line 615 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::NoActivate, and setCurrentItemAtIndex().
| void QQuickComboBoxPrivate::acceptInput | ( | ) |
| qreal QQuickComboBoxPrivate::calculateWidestTextWidth | ( | ) | const |
Definition at line 976 of file qquickcombobox.cpp.
| qreal QQuickComboBoxPrivate::calculateWidestTextWidth | ( | ) | const |
| void QQuickComboBoxPrivate::cancelIndicator | ( | ) |
Definition at line 884 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::cancelIndicator | ( | ) |
| void QQuickComboBoxPrivate::cancelPopup | ( | ) |
Definition at line 904 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::cancelPopup | ( | ) |
| void QQuickComboBoxPrivate::countChanged | ( | ) |
Definition at line 489 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::NoActivate, setCurrentItemAtIndex(), and updateCurrentElements().
Referenced by createDelegateModel().
| void QQuickComboBoxPrivate::countChanged | ( | ) |
| void QQuickComboBoxPrivate::createDelegateModel | ( | ) |
Definition at line 813 of file qquickcombobox.cpp.
References countChanged(), createdItem(), delegate, delegateModel, modelUpdated(), and ownModel.
| void QQuickComboBoxPrivate::createDelegateModel | ( | ) |
Definition at line 456 of file qquickcombobox.cpp.
References itemClicked(), itemHovered(), and updateCurrentElements().
Referenced by createDelegateModel().
| void QQuickComboBoxPrivate::decrementCurrentIndex | ( | ) |
Definition at line 709 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 314 of file qquickcombobox.cpp.
|
inlineoverridevirtual |
Implements QQuickAbstractPaletteProvider.
Definition at line 314 of file qquickcombobox.cpp.
| QString QQuickComboBoxPrivate::effectiveTextRole | ( | ) | const |
Definition at line 501 of file qquickcombobox.cpp.
| QString QQuickComboBoxPrivate::effectiveTextRole | ( | ) | const |
| void QQuickComboBoxPrivate::executeIndicator | ( | bool | complete = false | ) |
Definition at line 890 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::executeIndicator | ( | bool | complete = false | ) |
| void QQuickComboBoxPrivate::executePopup | ( | bool | complete = false | ) |
Definition at line 910 of file qquickcombobox.cpp.
Referenced by showPopup().
| void QQuickComboBoxPrivate::executePopup | ( | bool | complete = false | ) |
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 958 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Reimplemented from QQuickControlPrivate.
Definition at line 858 of file qquickcombobox.cpp.
Reimplemented from QQuickControlPrivate.
Reimplemented from QQuickControlPrivate.
Definition at line 850 of file qquickcombobox.cpp.
Reimplemented from QQuickControlPrivate.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 866 of file qquickcombobox.cpp.
References pressed, and togglePopup().
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 877 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
|
static |
Definition at line 1026 of file qquickcombobox.cpp.
|
static |
| void QQuickComboBoxPrivate::hidePopup | ( | bool | accept | ) |
Definition at line 372 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 693 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 358 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), and keySearch().
| bool QQuickComboBoxPrivate::isPopupVisible | ( | ) | const |
| bool QQuickComboBoxPrivate::isValidIndex | ( | int | index | ) | const |
Definition at line 610 of file qquickcombobox.cpp.
References delegateModel.
| bool QQuickComboBoxPrivate::isValidIndex | ( | int | index | ) | const |
| void QQuickComboBoxPrivate::itemClicked | ( | ) |
Definition at line 425 of file qquickcombobox.cpp.
References delegateModel, hidePopup(), QT_BEGIN_NAMESPACE::Highlight, and setHighlightedIndex().
Referenced by createdItem().
| void QQuickComboBoxPrivate::itemClicked | ( | ) |
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 948 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
| void QQuickComboBoxPrivate::itemHovered | ( | ) |
Definition at line 435 of file qquickcombobox.cpp.
References delegateModel, QT_BEGIN_NAMESPACE::Highlight, keyNavigating, and setHighlightedIndex().
Referenced by createdItem().
| void QQuickComboBoxPrivate::itemHovered | ( | ) |
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 940 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 922 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 742 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 754 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 1013 of file qquickcombobox.cpp.
References hasCalculatedWidestText.
| void QQuickComboBoxPrivate::maybeUpdateImplicitContentWidth | ( | ) |
| void QQuickComboBoxPrivate::modelUpdated | ( | ) |
Definition at line 479 of file qquickcombobox.cpp.
References updateCurrentElements().
Referenced by createDelegateModel().
| void QQuickComboBoxPrivate::modelUpdated | ( | ) |
| void QQuickComboBoxPrivate::onDataChanged | ( | const QModelIndex & | topLeft, |
| const QModelIndex & | bottomRight, | ||
| const QList< int > & | roles ) |
Definition at line 603 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 418 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::popupDestroyed | ( | ) |
| void QQuickComboBoxPrivate::popupVisibleChanged | ( | ) |
Definition at line 393 of file qquickcombobox.cpp.
References hasDown, and updateHighlightedIndex().
| void QQuickComboBoxPrivate::popupVisibleChanged | ( | ) |
| void QQuickComboBoxPrivate::setCurrentIndex | ( | int | index | ) |
Definition at line 664 of file qquickcombobox.cpp.
References currentIndex, and updateCurrentElements().
| void QQuickComboBoxPrivate::setCurrentIndex | ( | int | index | ) |
| void QQuickComboBoxPrivate::setCurrentItemAtIndex | ( | int | index, |
| Activation | activate ) |
Definition at line 677 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 729 of file qquickcombobox.cpp.
References highlightedIndex.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), itemClicked(), itemHovered(), keySearch(), and updateHighlightedIndex().
| void QQuickComboBoxPrivate::setHighlightedIndex | ( | int | index, |
| Highlighting | highlight ) |
| void QQuickComboBoxPrivate::setInputMethodHints | ( | Qt::InputMethodHints | hints, |
| bool | force = false ) |
Definition at line 930 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::setInputMethodHints | ( | Qt::InputMethodHints | hints, |
| bool | force = false ) |
| void QQuickComboBoxPrivate::showPopup | ( | ) |
Definition at line 363 of file qquickcombobox.cpp.
References executePopup().
Referenced by togglePopup().
| void QQuickComboBoxPrivate::showPopup | ( | ) |
| void QQuickComboBoxPrivate::togglePopup | ( | bool | accept | ) |
Definition at line 385 of file qquickcombobox.cpp.
References hidePopup(), and showPopup().
Referenced by handleRelease().
| void QQuickComboBoxPrivate::togglePopup | ( | bool | accept | ) |
Definition at line 642 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::updateAcceptableInput | ( | ) |
Definition at line 583 of file qquickcombobox.cpp.
References m_acceptableInput.
| void QQuickComboBoxPrivate::updateAcceptableInput | ( | ) |
| void QQuickComboBoxPrivate::updateCurrentElements | ( | ) |
Definition at line 567 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 527 of file qquickcombobox.cpp.
References currentIndex.
Referenced by updateCurrentElements().
| void QQuickComboBoxPrivate::updateCurrentIndex | ( | ) |
| void QQuickComboBoxPrivate::updateCurrentText | ( | ) |
Definition at line 538 of file qquickcombobox.cpp.
Referenced by setCurrentItemAtIndex(), and updateCurrentElements().
| void QQuickComboBoxPrivate::updateCurrentText | ( | ) |
| void QQuickComboBoxPrivate::updateCurrentValue | ( | ) |
Definition at line 556 of file qquickcombobox.cpp.
Referenced by setCurrentItemAtIndex(), and updateCurrentElements().
| void QQuickComboBoxPrivate::updateCurrentValue | ( | ) |
| void QQuickComboBoxPrivate::updateEditText | ( | ) |
Definition at line 506 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::updateEditText | ( | ) |
| void QQuickComboBoxPrivate::updateHighlightedIndex | ( | ) |
Definition at line 724 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::NoHighlight, and setHighlightedIndex().
Referenced by popupVisibleChanged().
| void QQuickComboBoxPrivate::updateHighlightedIndex | ( | ) |
| bool QQuickComboBoxPrivate::acceptedEscKeyPress = false |
Definition at line 341 of file qquickcombobox.cpp.
| CurrentElementCriteria QQuickComboBoxPrivate::currentElementCriteria = CurrentElementCriteria::None |
Definition at line 324 of file qquickcombobox.cpp.
| int QQuickComboBoxPrivate::currentIndex = -1 |
Definition at line 326 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), keySearch(), onDataChanged(), setCurrentIndex(), setCurrentItemAtIndex(), and updateCurrentIndex().
| QString QQuickComboBoxPrivate::currentText |
Definition at line 331 of file qquickcombobox.cpp.
| QVariant QQuickComboBoxPrivate::currentValue |
Definition at line 334 of file qquickcombobox.cpp.
| QQmlComponent * QQuickComboBoxPrivate::delegate = nullptr |
Definition at line 337 of file qquickcombobox.cpp.
Referenced by createDelegateModel().
| QQmlInstanceModel * QQuickComboBoxPrivate::delegateModel = nullptr |
Definition at line 336 of file qquickcombobox.cpp.
Referenced by createDelegateModel(), isValidIndex(), itemClicked(), and itemHovered().
| QString QQuickComboBoxPrivate::displayText |
Definition at line 332 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::down = false |
Definition at line 317 of file qquickcombobox.cpp.
| QLazilyAllocated< ExtraData > QQuickComboBoxPrivate::extra |
Definition at line 355 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::flat = false |
Definition at line 316 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::hasCalculatedWidestText = false |
Definition at line 323 of file qquickcombobox.cpp.
Referenced by maybeUpdateImplicitContentWidth().
| bool QQuickComboBoxPrivate::hasDisplayText = false |
Definition at line 322 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::hasDown = false |
Definition at line 318 of file qquickcombobox.cpp.
Referenced by popupVisibleChanged().
| int QQuickComboBoxPrivate::highlightedIndex = -1 |
Definition at line 325 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), hidePopup(), incrementCurrentIndex(), keySearch(), and setHighlightedIndex().
| QQuickComboBox::ImplicitContentWidthPolicy QQuickComboBoxPrivate::implicitContentWidthPolicy = QQuickComboBox::ContentItemImplicitWidth |
Definition at line 327 of file qquickcombobox.cpp.
| QQuickDeferredPointer< QQuickItem > QQuickComboBoxPrivate::indicator |
Definition at line 338 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::keyNavigating = false |
Definition at line 321 of file qquickcombobox.cpp.
Referenced by itemHovered().
| bool QQuickComboBoxPrivate::m_acceptableInput = true |
Definition at line 340 of file qquickcombobox.cpp.
Referenced by updateAcceptableInput().
| QVariant QQuickComboBoxPrivate::model |
Definition at line 328 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::ownModel = false |
Definition at line 320 of file qquickcombobox.cpp.
Referenced by createDelegateModel().
| QQuickDeferredPointer< QQuickPopup > QQuickComboBoxPrivate::popup |
Definition at line 339 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::pressed = false |
Definition at line 319 of file qquickcombobox.cpp.
Referenced by handleRelease().
| QQuickItem * QQuickComboBoxPrivate::pressedItem = nullptr |
Definition at line 335 of file qquickcombobox.cpp.
Definition at line 329 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::receivedEscKeyPress = false |
Definition at line 342 of file qquickcombobox.cpp.
| QString QQuickComboBoxPrivate::textRole |
Definition at line 330 of file qquickcombobox.cpp.
| QString QQuickComboBoxPrivate::valueRole |
Definition at line 333 of file qquickcombobox.cpp.