![]() |
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 210 of file qquickcombobox.cpp.
|
strong |
| Enumerator | |
|---|---|
| None | |
| CurrentIndex | |
| CurrentValue | |
| None | |
| CurrentIndex | |
| CurrentValue | |
Definition at line 247 of file qquickcombobox.cpp.
|
strong |
| Enumerator | |
|---|---|
| None | |
| CurrentIndex | |
| CurrentValue | |
| None | |
| CurrentIndex | |
| CurrentValue | |
Definition at line 247 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::acceptInput | ( | ) |
Definition at line 627 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::NoActivate, and setCurrentItemAtIndex().
| void QQuickComboBoxPrivate::acceptInput | ( | ) |
| qreal QQuickComboBoxPrivate::calculateWidestTextWidth | ( | ) | const |
Definition at line 988 of file qquickcombobox.cpp.
| qreal QQuickComboBoxPrivate::calculateWidestTextWidth | ( | ) | const |
| void QQuickComboBoxPrivate::cancelIndicator | ( | ) |
Definition at line 896 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::cancelIndicator | ( | ) |
| void QQuickComboBoxPrivate::cancelPopup | ( | ) |
Definition at line 916 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::cancelPopup | ( | ) |
| void QQuickComboBoxPrivate::countChanged | ( | ) |
Definition at line 501 of file qquickcombobox.cpp.
References currentElementCriteria, CurrentValue, QT_BEGIN_NAMESPACE::NoActivate, setCurrentItemAtIndex(), and updateCurrentElements().
Referenced by createDelegateModel().
| void QQuickComboBoxPrivate::countChanged | ( | ) |
| void QQuickComboBoxPrivate::createDelegateModel | ( | ) |
Definition at line 825 of file qquickcombobox.cpp.
References countChanged(), createdItem(), delegate, delegateModel, modelUpdated(), and ownModel.
| void QQuickComboBoxPrivate::createDelegateModel | ( | ) |
Definition at line 463 of file qquickcombobox.cpp.
References itemClicked(), itemHovered(), textFormatWarningDisplayed, and updateCurrentElements().
Referenced by createDelegateModel().
| void QQuickComboBoxPrivate::decrementCurrentIndex | ( | ) |
Definition at line 721 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 317 of file qquickcombobox.cpp.
|
inlineoverridevirtual |
Implements QQuickAbstractPaletteProvider.
Definition at line 317 of file qquickcombobox.cpp.
| QString QQuickComboBoxPrivate::effectiveTextRole | ( | ) | const |
Definition at line 513 of file qquickcombobox.cpp.
| QString QQuickComboBoxPrivate::effectiveTextRole | ( | ) | const |
| void QQuickComboBoxPrivate::executeIndicator | ( | bool | complete = false | ) |
Definition at line 902 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::executeIndicator | ( | bool | complete = false | ) |
| void QQuickComboBoxPrivate::executePopup | ( | bool | complete = false | ) |
Definition at line 922 of file qquickcombobox.cpp.
Referenced by showPopup().
| void QQuickComboBoxPrivate::executePopup | ( | bool | complete = false | ) |
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 970 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Reimplemented from QQuickControlPrivate.
Definition at line 870 of file qquickcombobox.cpp.
Reimplemented from QQuickControlPrivate.
Reimplemented from QQuickControlPrivate.
Definition at line 862 of file qquickcombobox.cpp.
Reimplemented from QQuickControlPrivate.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 878 of file qquickcombobox.cpp.
References pressed, and togglePopup().
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
Definition at line 889 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickControlPrivate.
|
static |
Definition at line 1038 of file qquickcombobox.cpp.
|
static |
| void QQuickComboBoxPrivate::hidePopup | ( | bool | accept | ) |
Definition at line 378 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 705 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 364 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), and keySearch().
| bool QQuickComboBoxPrivate::isPopupVisible | ( | ) | const |
| bool QQuickComboBoxPrivate::isValidIndex | ( | int | index | ) | const |
Definition at line 622 of file qquickcombobox.cpp.
References delegateModel.
| bool QQuickComboBoxPrivate::isValidIndex | ( | int | index | ) | const |
| void QQuickComboBoxPrivate::itemClicked | ( | ) |
Definition at line 431 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 960 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
| void QQuickComboBoxPrivate::itemHovered | ( | ) |
Definition at line 441 of file qquickcombobox.cpp.
References delegateModel, QT_BEGIN_NAMESPACE::Highlight, highlightOnHover, keyNavigating, and setHighlightedIndex().
Referenced by createdItem().
| void QQuickComboBoxPrivate::itemHovered | ( | ) |
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 952 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 934 of file qquickcombobox.cpp.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 754 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 766 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 1025 of file qquickcombobox.cpp.
References hasCalculatedWidestText.
| void QQuickComboBoxPrivate::maybeUpdateImplicitContentWidth | ( | ) |
| void QQuickComboBoxPrivate::modelUpdated | ( | ) |
Definition at line 491 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 615 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 424 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::popupDestroyed | ( | ) |
| void QQuickComboBoxPrivate::popupVisibleChanged | ( | ) |
Definition at line 399 of file qquickcombobox.cpp.
References hasDown, and updateHighlightedIndex().
| void QQuickComboBoxPrivate::popupVisibleChanged | ( | ) |
| void QQuickComboBoxPrivate::setCurrentIndex | ( | int | index | ) |
Definition at line 676 of file qquickcombobox.cpp.
References currentIndex, and updateCurrentElements().
| void QQuickComboBoxPrivate::setCurrentIndex | ( | int | index | ) |
| void QQuickComboBoxPrivate::setCurrentItemAtIndex | ( | int | index, |
| Activation | activate ) |
Definition at line 689 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 741 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 942 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::setInputMethodHints | ( | Qt::InputMethodHints | hints, |
| bool | force = false ) |
| void QQuickComboBoxPrivate::showPopup | ( | ) |
Definition at line 369 of file qquickcombobox.cpp.
References executePopup().
Referenced by togglePopup().
| void QQuickComboBoxPrivate::showPopup | ( | ) |
| void QQuickComboBoxPrivate::togglePopup | ( | bool | accept | ) |
Definition at line 391 of file qquickcombobox.cpp.
References hidePopup(), and showPopup().
Referenced by handleRelease().
| void QQuickComboBoxPrivate::togglePopup | ( | bool | accept | ) |
Definition at line 654 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::updateAcceptableInput | ( | ) |
Definition at line 595 of file qquickcombobox.cpp.
References m_acceptableInput.
| void QQuickComboBoxPrivate::updateAcceptableInput | ( | ) |
| void QQuickComboBoxPrivate::updateCurrentElements | ( | ) |
Definition at line 579 of file qquickcombobox.cpp.
References currentElementCriteria, CurrentIndex, CurrentValue, None, updateCurrentIndex(), updateCurrentText(), and updateCurrentValue().
Referenced by countChanged(), createdItem(), modelUpdated(), onDataChanged(), and setCurrentIndex().
| void QQuickComboBoxPrivate::updateCurrentElements | ( | ) |
| void QQuickComboBoxPrivate::updateCurrentIndex | ( | ) |
Definition at line 539 of file qquickcombobox.cpp.
References currentIndex.
Referenced by updateCurrentElements().
| void QQuickComboBoxPrivate::updateCurrentIndex | ( | ) |
| void QQuickComboBoxPrivate::updateCurrentText | ( | ) |
Definition at line 550 of file qquickcombobox.cpp.
Referenced by setCurrentItemAtIndex(), and updateCurrentElements().
| void QQuickComboBoxPrivate::updateCurrentText | ( | ) |
| void QQuickComboBoxPrivate::updateCurrentValue | ( | ) |
Definition at line 568 of file qquickcombobox.cpp.
Referenced by setCurrentItemAtIndex(), and updateCurrentElements().
| void QQuickComboBoxPrivate::updateCurrentValue | ( | ) |
| void QQuickComboBoxPrivate::updateEditText | ( | ) |
Definition at line 518 of file qquickcombobox.cpp.
| void QQuickComboBoxPrivate::updateEditText | ( | ) |
| void QQuickComboBoxPrivate::updateHighlightedIndex | ( | ) |
Definition at line 736 of file qquickcombobox.cpp.
References QT_BEGIN_NAMESPACE::NoHighlight, and setHighlightedIndex().
Referenced by popupVisibleChanged().
| void QQuickComboBoxPrivate::updateHighlightedIndex | ( | ) |
| bool QQuickComboBoxPrivate::acceptedEscKeyPress = false |
Definition at line 346 of file qquickcombobox.cpp.
| CurrentElementCriteria QQuickComboBoxPrivate::currentElementCriteria = CurrentElementCriteria::None |
Definition at line 327 of file qquickcombobox.cpp.
Referenced by countChanged(), and updateCurrentElements().
| int QQuickComboBoxPrivate::currentIndex = -1 |
Definition at line 329 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), incrementCurrentIndex(), keySearch(), onDataChanged(), setCurrentIndex(), setCurrentItemAtIndex(), and updateCurrentIndex().
| QString QQuickComboBoxPrivate::currentText |
Definition at line 334 of file qquickcombobox.cpp.
| QVariant QQuickComboBoxPrivate::currentValue |
Definition at line 339 of file qquickcombobox.cpp.
| QQmlComponent * QQuickComboBoxPrivate::delegate = nullptr |
Definition at line 342 of file qquickcombobox.cpp.
Referenced by createDelegateModel().
| QQmlInstanceModel * QQuickComboBoxPrivate::delegateModel = nullptr |
Definition at line 341 of file qquickcombobox.cpp.
Referenced by createDelegateModel(), isValidIndex(), itemClicked(), and itemHovered().
| QString QQuickComboBoxPrivate::displayText |
Definition at line 335 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::down = false |
Definition at line 320 of file qquickcombobox.cpp.
| QLazilyAllocated< ExtraData > QQuickComboBoxPrivate::extra |
Definition at line 361 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::flat = false |
Definition at line 319 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::hasCalculatedWidestText = false |
Definition at line 326 of file qquickcombobox.cpp.
Referenced by maybeUpdateImplicitContentWidth().
| bool QQuickComboBoxPrivate::hasDisplayText = false |
Definition at line 325 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::hasDown = false |
Definition at line 321 of file qquickcombobox.cpp.
Referenced by popupVisibleChanged().
| int QQuickComboBoxPrivate::highlightedIndex = -1 |
Definition at line 328 of file qquickcombobox.cpp.
Referenced by decrementCurrentIndex(), hidePopup(), incrementCurrentIndex(), keySearch(), and setHighlightedIndex().
| bool QQuickComboBoxPrivate::highlightOnHover = true |
Definition at line 348 of file qquickcombobox.cpp.
Referenced by itemHovered().
| QQuickComboBox::ImplicitContentWidthPolicy QQuickComboBoxPrivate::implicitContentWidthPolicy = QQuickComboBox::ContentItemImplicitWidth |
Definition at line 330 of file qquickcombobox.cpp.
| QQuickDeferredPointer< QQuickItem > QQuickComboBoxPrivate::indicator |
Definition at line 343 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::keyNavigating = false |
Definition at line 324 of file qquickcombobox.cpp.
Referenced by itemHovered().
| bool QQuickComboBoxPrivate::m_acceptableInput = true |
Definition at line 345 of file qquickcombobox.cpp.
Referenced by updateAcceptableInput().
| QVariant QQuickComboBoxPrivate::model |
Definition at line 331 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::ownModel = false |
Definition at line 323 of file qquickcombobox.cpp.
Referenced by createDelegateModel().
| QQuickDeferredPointer< QQuickPopup > QQuickComboBoxPrivate::popup |
Definition at line 344 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::pressed = false |
Definition at line 322 of file qquickcombobox.cpp.
Referenced by handleRelease().
| QQuickItem * QQuickComboBoxPrivate::pressedItem = nullptr |
Definition at line 340 of file qquickcombobox.cpp.
Definition at line 332 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::receivedEscKeyPress = false |
Definition at line 347 of file qquickcombobox.cpp.
| std::optional< QQuickText::TextFormat > QQuickComboBoxPrivate::textFormat |
Definition at line 337 of file qquickcombobox.cpp.
| bool QQuickComboBoxPrivate::textFormatWarningDisplayed = false |
Definition at line 338 of file qquickcombobox.cpp.
Referenced by createdItem().
| QString QQuickComboBoxPrivate::textRole |
Definition at line 333 of file qquickcombobox.cpp.
| QString QQuickComboBoxPrivate::valueRole |
Definition at line 336 of file qquickcombobox.cpp.