Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickSearchFieldPrivate Class Reference
Inheritance diagram for QQuickSearchFieldPrivate:
Collaboration diagram for QQuickSearchFieldPrivate:

Public Member Functions

bool isPopupVisible () const
void showPopup ()
void hidePopup (bool accept)
void popupVisibleChanged ()
void popupDestroyed ()
void itemClicked ()
void itemHovered ()
void createdItem (int index, QObject *object)
void suggestionCountChanged ()
void increaseCurrentIndex ()
void decreaseCurrentIndex ()
void setCurrentIndex (int index)
void setCurrentItemAtIndex (int index, Activation activate)
void updateHighlightedIndex ()
void setHighlightedIndex (int index, Highlighting highlight)
void createDelegateModel ()
QString currentTextRole () const
void selectAll ()
void updateText ()
void updateDisplayText ()
QString textAt (int index) const
bool isValidIndex (int index) const
void cancelPopup ()
void executePopup (bool complete=false)
bool handlePress (const QPointF &point, ulong timestamp) override
bool handleRelease (const QPointF &point, ulong timestamp) override
void startSearch ()
void startClear ()
void itemImplicitWidthChanged (QQuickItem *item) override
void itemImplicitHeightChanged (QQuickItem *item) override
void itemDestroyed (QQuickItem *item) override
bool isPopupVisible () const
void showPopup ()
void hidePopup (bool accept)
void popupVisibleChanged ()
void popupDestroyed ()
void itemClicked ()
void itemHovered ()
void createdItem (int index, QObject *object)
void suggestionCountChanged ()
void increaseCurrentIndex ()
void decreaseCurrentIndex ()
void setCurrentIndex (int index)
void setCurrentItemAtIndex (int index, Activation activate)
void updateHighlightedIndex ()
void setHighlightedIndex (int index, Highlighting highlight)
void createDelegateModel ()
QString currentTextRole () const
void selectAll ()
void updateText ()
void updateDisplayText ()
QString textAt (int index) const
bool isValidIndex (int index) const
void cancelPopup ()
void executePopup (bool complete=false)
bool handlePress (const QPointF &point, ulong timestamp) override
bool handleRelease (const QPointF &point, ulong timestamp) override
void startSearch ()
void startClear ()
void itemImplicitWidthChanged (QQuickItem *item) override
void itemImplicitHeightChanged (QQuickItem *item) override
void itemDestroyed (QQuickItem *item) override
Public Member Functions inherited from QQuickControlPrivate
 QQuickControlPrivate ()
 ~QQuickControlPrivate ()
void init ()
virtual bool handleMove (const QPointF &point, ulong timestamp)
virtual void handleUngrab ()
void mirrorChange () override
QMarginsF getPadding () const
qreal getTopPadding () const
qreal getLeftPadding () const
qreal getRightPadding () const
qreal getBottomPadding () const
qreal getHorizontalPadding () const
qreal getVerticalPadding () const
void setTopPadding (qreal value, bool reset=false)
void setLeftPadding (qreal value, bool reset=false)
void setRightPadding (qreal value, bool reset=false)
void setBottomPadding (qreal value, bool reset=false)
void setHorizontalPadding (qreal value, bool reset=false)
void setVerticalPadding (qreal value, bool reset=false)
QMarginsF getInset () const
qreal getTopInset () const
qreal getLeftInset () const
qreal getRightInset () const
qreal getBottomInset () const
void setTopInset (qreal value, bool reset=false)
void setLeftInset (qreal value, bool reset=false)
void setRightInset (qreal value, bool reset=false)
void setBottomInset (qreal value, bool reset=false)
virtual void resizeBackground ()
virtual void resizeContent ()
virtual QQuickItemgetContentItem ()
void setContentItem_helper (QQuickItem *item, bool notify=true)
virtual void resolveFont ()
void inheritFont (const QFont &font)
void updateFont (const QFont &font)
void setFont_helper (const QFont &font)
void updateLocale (const QLocale &l, bool e)
virtual void cancelContentItem ()
virtual void executeContentItem (bool complete=false)
virtual void cancelBackground ()
virtual void executeBackground (bool complete=false)
void updateBaselineOffset ()
void addImplicitSizeListener (QQuickItem *item, ChangeTypes changes=ImplicitSizeChanges)
void removeImplicitSizeListener (QQuickItem *item, ChangeTypes changes=ImplicitSizeChanges)
void itemGeometryChanged (QQuickItem *item, QQuickGeometryChange change, const QRectF &diff) override
void itemFocusChanged (QQuickItem *item, Qt::FocusReason reason) override
bool setLastFocusChangeReason (Qt::FocusReason) override
virtual qreal getContentWidth () const
virtual qreal getContentHeight () const
void updateImplicitContentWidth ()
void updateImplicitContentHeight ()
void updateImplicitContentSize ()
QPalette defaultPalette () const override
Public Member Functions inherited from QQuickItemPrivate
 QQuickItemPrivate ()
 ~QQuickItemPrivate () override
void init (QQuickItem *parent)
QQmlListProperty< QObjectdata ()
QQmlListProperty< QObjectresources ()
QQmlListProperty< QQuickItemchildren ()
QQmlListProperty< QQuickItemvisibleChildren ()
QQmlListProperty< QQuickStatestates ()
QQmlListProperty< QQuickTransitiontransitions ()
QString state () const
void setState (const QString &)
QQuickAnchorLine left () const
QQuickAnchorLine right () const
QQuickAnchorLine horizontalCenter () const
QQuickAnchorLine top () const
QQuickAnchorLine bottom () const
QQuickAnchorLine verticalCenter () const
QQuickAnchorLine baseline () const
void localizedTouchEvent (const QTouchEvent *event, bool isFiltering, QMutableTouchEvent *localized)
bool hasPointerHandlers () const
bool hasEnabledHoverHandlers () const
virtual void addPointerHandler (QQuickPointerHandler *h)
virtual void removePointerHandler (QQuickPointerHandler *h)
QObjectsetContextMenu (QObject *menu)
void _q_resourceObjectDeleted (QObject *)
quint64 _q_createJSWrapper (QQmlV4ExecutionEnginePtr engine)
template<typename Fn, typename ... Args>
void notifyChangeListeners (QQuickItemPrivate::ChangeTypes changeTypes, Fn &&function, Args &&...args)
virtual void registerAsContainmentMask (QQuickItem *, bool)
QQuickAnchorsanchors () const
 \qmlpropertygroup QtQuick::Item::anchors \qmlproperty AnchorLine QtQuick::Item::anchors.top \qmlproperty AnchorLine QtQuick::Item::anchors.bottom \qmlproperty AnchorLine QtQuick::Item::anchors.left \qmlproperty AnchorLine QtQuick::Item::anchors.right \qmlproperty AnchorLine QtQuick::Item::anchors.horizontalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.verticalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.baseline
Qt::MouseButtons acceptedMouseButtons () const
void addItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types)
void updateOrAddItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types)
void removeItemChangeListener (QQuickItemChangeListener *, ChangeTypes types)
void updateOrAddGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types)
void updateOrRemoveGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types)
QQuickStateGroup_states ()
QQuickItem::TransformOrigin origin () const
QString dirtyToString () const
void dirty (DirtyType)
void addToDirtyList ()
void removeFromDirtyList ()
void setCulled (bool)
QSGContextsceneGraphContext () const
QSGRenderContextsceneGraphRenderContext () const
QList< QQuickItem * > paintOrderChildItems () const
void addChild (QQuickItem *)
void removeChild (QQuickItem *)
void siblingOrderChanged ()
void markSortedChildrenDirty (QQuickItem *child)
void refWindow (QQuickWindow *)
void derefWindow ()
qreal effectiveDevicePixelRatio () const
void updateSubFocusItem (QQuickItem *scope, bool focus)
 Clears all sub focus items from scope.
bool setFocusIfNeeded (QEvent::Type)
Qt::FocusReason lastFocusChangeReason () const
QTransform windowToItemTransform () const
 Returns a transform that maps points from window space into item space.
QTransform itemToWindowTransform () const
 Returns a transform that maps points from item space into window space.
void itemToParentTransform (QTransform *) const
 Modifies t with this item's local transform relative to its parent.
void setX (qreal x)
void xChanged ()
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, x, &QQuickItemPrivate::setX, &QQuickItemPrivate::xChanged)
void setY (qreal y)
void yChanged ()
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, y, &QQuickItemPrivate::setY, &QQuickItemPrivate::yChanged)
void setWidth (qreal width)
void widthChanged ()
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, width, &QQuickItemPrivate::setWidth, &QQuickItemPrivate::widthChanged)
void setHeight (qreal height)
void heightChanged ()
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, height, &QQuickItemPrivate::setHeight, &QQuickItemPrivate::heightChanged)
bool widthValid () const
bool heightValid () const
qreal z () const
qreal scale () const
qreal rotation () const
qreal opacity () const
void setAccessible ()
virtual qreal getImplicitWidth () const
virtual qreal getImplicitHeight () const
virtual void implicitWidthChanged ()
virtual void implicitHeightChanged ()
void setImplicitAntialiasing (bool antialiasing)
void resolveLayoutMirror ()
void setImplicitLayoutMirror (bool mirror, bool inherit)
void setLayoutMirror (bool mirror)
bool isMirrored () const
void emitChildrenRectChanged (const QRectF &rect)
QPointF computeTransformOrigin () const
virtual bool transformChanged (QQuickItem *transformedItem)
QPointF adjustedPosForTransform (const QPointF &centroid, const QPointF &startPos, const QVector2D &activeTranslatation, qreal startScale, qreal activeScale, qreal startRotation, qreal activeRotation)
QQuickDeliveryAgentdeliveryAgent ()
QQuickDeliveryAgentPrivatedeliveryAgentPrivate ()
QQuickDeliveryAgentensureSubsceneDeliveryAgent ()
void deliverKeyEvent (QKeyEvent *)
bool filterKeyEvent (QKeyEvent *, bool post)
void deliverShortcutOverrideEvent (QKeyEvent *)
void deliverPointerEvent (QEvent *)
bool anyPointerHandlerWants (const QPointerEvent *event, const QEventPoint &point) const
virtual bool handlePointerEvent (QPointerEvent *, bool avoidGrabbers=false)
virtual void setVisible (bool visible)
bool isTransparentForPositioner () const
void setTransparentForPositioner (bool trans)
bool calcEffectiveVisible () const
bool setEffectiveVisibleRecur (bool)
bool calcEffectiveEnable () const
void setEffectiveEnableRecur (QQuickItem *scope, bool)
QSGTransformNodeitemNode ()
QSGNodechildContainerNode ()
QSGOpacityNodeopacityNode () const
QQuickDefaultClipNodeclipNode () const
QSGRootNoderootNode () const
virtual QSGTransformNodecreateTransformNode ()
void refFromEffectItem (bool hide)
void recursiveRefFromEffectItem (int refs)
void derefFromEffectItem (bool unhide)
void itemChange (QQuickItem::ItemChange, const QQuickItem::ItemChangeData &)
void enableSubtreeChangeNotificationsForParentHierachy ()
void setHasCursorInChild (bool hasCursor)
void setHasHoverInChild (bool hasHover)
virtual void updatePolish ()
virtual void dumpItemTree (int indent) const
QLayoutPolicy sizePolicy () const
void setSizePolicy (const QLayoutPolicy::Policy &horizontalPolicy, const QLayoutPolicy::Policy &verticalPolicy)
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
void setParent_helper (QObject *)
void moveToThread_helper ()
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
QObjectList receiverList (const char *signal) const
void ensureConnectionData ()
void addConnection (int signal, Connection *c)
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
bool maybeSignalConnected (uint signalIndex) const
bool isDeclarativeSignalConnected (uint signalIdx) const
void connectNotify (const QMetaMethod &signal)
void disconnectNotify (const QMetaMethod &signal)
void reinitBindingStorageAfterThreadMove ()
virtual std::string flagsForDumping () const
virtual void writeToDebugStream (QDebug &) const
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObjectdynamicMetaObject () const
Public Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate >
virtual ~QQuickPaletteProviderPrivateBase ()=default
virtual QQuickPalettepalette () const
virtual void setPalette (QQuickPalette *p)
virtual void resetPalette ()
virtual bool providesPalette () const
QPalette defaultPalette () const override
QPalette parentPalette (const QPalette &fallbackPalette) const override
void inheritPalette (const QPalette &parentPalette)
virtual void updateChildrenPalettes (const QPalette &parentPalette)
Public Member Functions inherited from QQuickAbstractPaletteProvider
virtual ~QQuickAbstractPaletteProvider ()=default
Public Member Functions inherited from QSafeQuickItemChangeListener< QQuickControlPrivate >
 ~QSafeQuickItemChangeListener () override
bool baseDeleted (const QObject *caller) const override
QString debugName () const override
Public Member Functions inherited from QQuickItemChangeListener
virtual ~QQuickItemChangeListener ()
virtual void itemSiblingOrderChanged (QQuickItem *)
virtual void itemVisibilityChanged (QQuickItem *)
virtual void itemEnabledChanged (QQuickItem *)
virtual void itemOpacityChanged (QQuickItem *)
virtual void itemChildAdded (QQuickItem *, QQuickItem *)
virtual void itemChildRemoved (QQuickItem *, QQuickItem *)
virtual void itemParentChanged (QQuickItem *, QQuickItem *)
virtual void itemRotationChanged (QQuickItem *)
virtual void itemScaleChanged (QQuickItem *)
virtual void itemTransformChanged (QQuickItem *, QQuickItem *)
virtual QQuickAnchorsPrivateanchorPrivate ()
virtual void addSourceItem (QQuickItem *)
virtual void removeSourceItem (QQuickItem *)

Static Public Member Functions

static void hideOldPopup (QQuickPopup *popup)
static QString popupName ()
static void hideOldPopup (QQuickPopup *popup)
static QString popupName ()
Static Public Member Functions inherited from QQuickControlPrivate
static QQuickControlPrivateget (QQuickControl *control)
static void updateFontRecur (QQuickItem *item, const QFont &font)
static QFont parentFont (const QQuickItem *item)
static void updateLocaleRecur (QQuickItem *item, const QLocale &l)
static QLocale calcLocale (const QQuickItem *item)
static void warnIfCustomizationNotSupported (QObject *control, QQuickItem *item, const QString &propertyName)
static void hideOldItem (QQuickItem *item)
static void unhideOldItem (QQuickControl *control, QQuickItem *item, UnhideVisibility visibility=UnhideVisibility::Show)
static void addImplicitSizeListener (QQuickItem *item, QQuickItemChangeListener *listener, ChangeTypes changes=ImplicitSizeChanges)
static void removeImplicitSizeListener (QQuickItem *item, QQuickItemChangeListener *listener, ChangeTypes changes=ImplicitSizeChanges)
Static Public Member Functions inherited from QQuickItemPrivate
static QQuickItemPrivateget (QQuickItem *item)
static const QQuickItemPrivateget (const QQuickItem *item)
static void data_append (QQmlListProperty< QObject > *, QObject *)
static qsizetype data_count (QQmlListProperty< QObject > *)
 \qmlproperty list<QtObject> QtQuick::Item::data \qmldefault
static QObjectdata_at (QQmlListProperty< QObject > *, qsizetype)
static void data_clear (QQmlListProperty< QObject > *)
static void data_removeLast (QQmlListProperty< QObject > *)
static QObjectresources_at (QQmlListProperty< QObject > *, qsizetype)
static void resources_append (QQmlListProperty< QObject > *, QObject *)
static qsizetype resources_count (QQmlListProperty< QObject > *)
static void resources_clear (QQmlListProperty< QObject > *)
static void resources_removeLast (QQmlListProperty< QObject > *)
static void children_append (QQmlListProperty< QQuickItem > *, QQuickItem *)
static qsizetype children_count (QQmlListProperty< QQuickItem > *)
static QQuickItemchildren_at (QQmlListProperty< QQuickItem > *, qsizetype)
static void children_clear (QQmlListProperty< QQuickItem > *)
static void children_removeLast (QQmlListProperty< QQuickItem > *)
static qsizetype visibleChildren_count (QQmlListProperty< QQuickItem > *prop)
static QQuickItemvisibleChildren_at (QQmlListProperty< QQuickItem > *prop, qsizetype index)
static qsizetype transform_count (QQmlListProperty< QQuickTransform > *list)
static void transform_append (QQmlListProperty< QQuickTransform > *list, QQuickTransform *)
static QQuickTransformtransform_at (QQmlListProperty< QQuickTransform > *list, qsizetype)
static void transform_clear (QQmlListProperty< QQuickTransform > *list)
static bool focusNextPrev (QQuickItem *item, bool forward)
 QQuickItemPrivate::focusNextPrev focuses the next/prev item in the tab-focus-chain.
static QQuickItemnextTabChildItem (const QQuickItem *item, int start)
static QQuickItemprevTabChildItem (const QQuickItem *item, int start)
static QQuickItemnextPrevItemInTabFocusChain (QQuickItem *item, bool forward, bool wrap=true)
static bool canAcceptTabFocus (QQuickItem *item)
Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
static QObjectPrivateget (QObject *o)
static const QObjectPrivateget (const QObject *o)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static bool disconnect (const QObject *sender, int signal_index, void **slot)
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)

Public Attributes

QVariant suggestionModel
bool hasCurrentIndex = false
int highlightedIndex = -1
int currentIndex = -1
QString text
QString textRole
bool live = true
bool searchPressed = false
bool clearPressed = false
bool searchFlat = false
bool clearFlat = false
bool searchDown = false
bool clearDown = false
bool hasSearchDown = false
bool hasClearDown = false
bool ownModel = false
QQmlInstanceModeldelegateModel = nullptr
QQmlComponentdelegate = nullptr
QQuickIndicatorButtonsearchIndicator = nullptr
QQuickIndicatorButtonclearIndicator = nullptr
QQuickDeferredPointer< QQuickPopuppopup
Public Attributes inherited from QQuickControlPrivate
QLazilyAllocated< ExtraDataextra
bool hasHorizontalPadding = false
bool hasVerticalPadding = false
bool hasLocale = false
bool wheelEnabled = false
bool resizingBackground = false
int touchId = -1
qreal padding = 0
qreal horizontalPadding = 0
qreal verticalPadding = 0
qreal implicitContentWidth = 0
qreal implicitContentHeight = 0
qreal spacing = 0
QLocale locale
QFont resolvedFont
QQuickDeferredPointer< QQuickItembackground
QQuickDeferredPointer< QQuickItemcontentItem
Public Attributes inherited from QQuickItemPrivate
QLazilyAllocated< ExtraData, ExtraDataTags > extra
QQuickAnchors_anchors
QVector< QQuickItemPrivate::ChangeListenerchangeListeners
QQuickStateGroup_stateGroup
quint32 flags:7
quint32 widthValidFlag:1
quint32 heightValidFlag:1
quint32 componentComplete:1
quint32 keepMouse:1
quint32 keepTouch:1
quint32 hoverEnabled:1
quint32 smooth:1
quint32 antialiasing:1
quint32 focus:1
quint32 activeFocus:1
quint32 notifiedFocus:1
quint32 notifiedActiveFocus:1
quint32 filtersChildMouseEvents:1
quint32 explicitVisible:1
quint32 effectiveVisible:1
quint32 explicitEnable:1
quint32 effectiveEnable:1
quint32 polishScheduled:1
quint32 inheritedLayoutMirror:1
quint32 effectiveLayoutMirror:1
quint32 isMirrorImplicit:1
quint32 inheritMirrorFromParent:1
quint32 inheritMirrorFromItem:1
quint32 isAccessible:1
quint32 culled:1
quint32 hasCursor:1
quint32 subtreeCursorEnabled:1
quint32 subtreeHoverEnabled:1
quint32 activeFocusOnTab:1
quint32 implicitAntialiasing:1
quint32 antialiasingValid:1
quint32 isTabFence:1
quint32 replayingPressEvent:1
quint32 touchEnabled:1
quint32 hasCursorHandler:1
quint32 maybeHasSubsceneDeliveryAgent:1
quint32 subtreeTransformChangedEnabled:1
quint32 inDestructor:1
quint32 focusReason:4
quint32 focusPolicy:4
quint32 dirtyAttributes
QQuickItemnextDirtyItem
QQuickItem ** prevDirtyItem
QQuickWindowwindow
int windowRefCount
QQuickItemparentItem
QList< QQuickItem * > childItems
QList< QQuickItem * > * sortedChildItems
QPointer< QQuickItemsubFocusItem
qreal implicitWidth
qreal implicitHeight
qreal baselineOffset
QList< QQuickTransform * > transforms
QSGTransformNodeitemNodeInstance
QSGNodepaintNode
QLayoutPolicy szPolicy
Public Attributes inherited from QObjectPrivate
ExtraDataextraData
QAtomicPointer< QThreadDatathreadData
QAtomicPointer< ConnectionDataconnections
union { 
   QObject *   currentChildBeingDeleted 
   QAbstractDeclarativeData *   declarativeData 
}; 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
Public Attributes inherited from QObjectData
QObjectq_ptr
QObjectparent
QObjectList children
uint isWidget: 1
uint blockSig: 1
uint wasDeleted: 1
uint isDeletingChildren: 1
uint sendChildEvents: 1
uint receiveChildEvents: 1
uint isWindow: 1
uint deleteLaterCalled: 1
uint isQuickItem: 1
uint willBeWidget: 1
uint wasWidget: 1
uint receiveParentEvents: 1
uint unused: 20
QAtomicInt postedEvents
QDynamicMetaObjectDatametaObject
QBindingStorage bindingStorage

Additional Inherited Members

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
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 ()

Detailed Description

Definition at line 158 of file qquicksearchfield.cpp.

Member Function Documentation

◆ cancelPopup() [1/2]

void QQuickSearchFieldPrivate::cancelPopup ( )

Definition at line 553 of file qquicksearchfield.cpp.

◆ cancelPopup() [2/2]

void QQuickSearchFieldPrivate::cancelPopup ( )

◆ createDelegateModel() [1/2]

void QQuickSearchFieldPrivate::createDelegateModel ( )

Definition at line 444 of file qquicksearchfield.cpp.

References delegate, delegateModel, and ownModel.

◆ createDelegateModel() [2/2]

void QQuickSearchFieldPrivate::createDelegateModel ( )

◆ createdItem() [1/2]

void QQuickSearchFieldPrivate::createdItem ( int index,
QObject * object )

Definition at line 330 of file qquicksearchfield.cpp.

◆ createdItem() [2/2]

void QQuickSearchFieldPrivate::createdItem ( int index,
QObject * object )

◆ currentTextRole() [1/2]

QString QQuickSearchFieldPrivate::currentTextRole ( ) const

Definition at line 484 of file qquicksearchfield.cpp.

◆ currentTextRole() [2/2]

QString QQuickSearchFieldPrivate::currentTextRole ( ) const

◆ decreaseCurrentIndex() [1/2]

void QQuickSearchFieldPrivate::decreaseCurrentIndex ( )

Definition at line 383 of file qquicksearchfield.cpp.

References QT_BEGIN_NAMESPACE::Highlight, highlightedIndex, and setHighlightedIndex().

Here is the call graph for this function:

◆ decreaseCurrentIndex() [2/2]

void QQuickSearchFieldPrivate::decreaseCurrentIndex ( )

◆ executePopup() [1/2]

void QQuickSearchFieldPrivate::executePopup ( bool complete = false)

Definition at line 559 of file qquicksearchfield.cpp.

Referenced by showPopup().

Here is the caller graph for this function:

◆ executePopup() [2/2]

void QQuickSearchFieldPrivate::executePopup ( bool complete = false)

◆ handlePress() [1/2]

bool QQuickSearchFieldPrivate::handlePress ( const QPointF & point,
ulong timestamp )
overridevirtual

Reimplemented from QQuickControlPrivate.

Definition at line 571 of file qquicksearchfield.cpp.

References clearIndicator, searchIndicator, startClear(), and startSearch().

Here is the call graph for this function:

◆ handlePress() [2/2]

bool QQuickSearchFieldPrivate::handlePress ( const QPointF & point,
ulong timestamp )
overridevirtual

Reimplemented from QQuickControlPrivate.

◆ handleRelease() [1/2]

bool QQuickSearchFieldPrivate::handleRelease ( const QPointF & point,
ulong timestamp )
overridevirtual

Reimplemented from QQuickControlPrivate.

Definition at line 592 of file qquicksearchfield.cpp.

References clearIndicator, and searchIndicator.

◆ handleRelease() [2/2]

bool QQuickSearchFieldPrivate::handleRelease ( const QPointF & point,
ulong timestamp )
overridevirtual

Reimplemented from QQuickControlPrivate.

◆ hideOldPopup() [1/2]

void QQuickSearchFieldPrivate::hideOldPopup ( QQuickPopup * popup)
static

Definition at line 257 of file qquicksearchfield.cpp.

◆ hideOldPopup() [2/2]

void QQuickSearchFieldPrivate::hideOldPopup ( QQuickPopup * popup)
static

◆ hidePopup() [1/2]

void QQuickSearchFieldPrivate::hidePopup ( bool accept)

Definition at line 244 of file qquicksearchfield.cpp.

References highlightedIndex, QT_BEGIN_NAMESPACE::NoActivate, and setCurrentItemAtIndex().

Referenced by itemClicked(), startClear(), and updateText().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hidePopup() [2/2]

void QQuickSearchFieldPrivate::hidePopup ( bool accept)

◆ increaseCurrentIndex() [1/2]

void QQuickSearchFieldPrivate::increaseCurrentIndex ( )

Definition at line 374 of file qquicksearchfield.cpp.

References QT_BEGIN_NAMESPACE::Highlight, highlightedIndex, and setHighlightedIndex().

Here is the call graph for this function:

◆ increaseCurrentIndex() [2/2]

void QQuickSearchFieldPrivate::increaseCurrentIndex ( )

◆ isPopupVisible() [1/2]

bool QQuickSearchFieldPrivate::isPopupVisible ( ) const

Definition at line 230 of file qquicksearchfield.cpp.

◆ isPopupVisible() [2/2]

bool QQuickSearchFieldPrivate::isPopupVisible ( ) const

◆ isValidIndex() [1/2]

bool QQuickSearchFieldPrivate::isValidIndex ( int index) const

Definition at line 548 of file qquicksearchfield.cpp.

References delegateModel.

Referenced by textAt().

Here is the caller graph for this function:

◆ isValidIndex() [2/2]

bool QQuickSearchFieldPrivate::isValidIndex ( int index) const

◆ itemClicked() [1/2]

void QQuickSearchFieldPrivate::itemClicked ( )

Definition at line 300 of file qquicksearchfield.cpp.

References hidePopup(), QT_BEGIN_NAMESPACE::Highlight, and setHighlightedIndex().

Here is the call graph for this function:

◆ itemClicked() [2/2]

void QQuickSearchFieldPrivate::itemClicked ( )

◆ itemDestroyed() [1/2]

void QQuickSearchFieldPrivate::itemDestroyed ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickControlPrivate.

Definition at line 652 of file qquicksearchfield.cpp.

References clearIndicator, and searchIndicator.

◆ itemDestroyed() [2/2]

void QQuickSearchFieldPrivate::itemDestroyed ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickControlPrivate.

◆ itemHovered() [1/2]

void QQuickSearchFieldPrivate::itemHovered ( )

Definition at line 310 of file qquicksearchfield.cpp.

References QT_BEGIN_NAMESPACE::Highlight, and setHighlightedIndex().

Here is the call graph for this function:

◆ itemHovered() [2/2]

void QQuickSearchFieldPrivate::itemHovered ( )

◆ itemImplicitHeightChanged() [1/2]

void QQuickSearchFieldPrivate::itemImplicitHeightChanged ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickControlPrivate.

Definition at line 643 of file qquicksearchfield.cpp.

References clearIndicator, and searchIndicator.

◆ itemImplicitHeightChanged() [2/2]

void QQuickSearchFieldPrivate::itemImplicitHeightChanged ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickControlPrivate.

◆ itemImplicitWidthChanged() [1/2]

void QQuickSearchFieldPrivate::itemImplicitWidthChanged ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickControlPrivate.

Definition at line 634 of file qquicksearchfield.cpp.

References clearIndicator, and searchIndicator.

◆ itemImplicitWidthChanged() [2/2]

void QQuickSearchFieldPrivate::itemImplicitWidthChanged ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickControlPrivate.

◆ popupDestroyed() [1/2]

void QQuickSearchFieldPrivate::popupDestroyed ( )

Definition at line 293 of file qquicksearchfield.cpp.

◆ popupDestroyed() [2/2]

void QQuickSearchFieldPrivate::popupDestroyed ( )

◆ popupName() [1/2]

QString QQuickSearchFieldPrivate::popupName ( )
inlinestatic

Definition at line 205 of file qquicksearchfield.cpp.

◆ popupName() [2/2]

QString QQuickSearchFieldPrivate::popupName ( )
inlinestatic

Definition at line 205 of file qquicksearchfield.cpp.

◆ popupVisibleChanged() [1/2]

void QQuickSearchFieldPrivate::popupVisibleChanged ( )

Definition at line 274 of file qquicksearchfield.cpp.

References updateHighlightedIndex().

Here is the call graph for this function:

◆ popupVisibleChanged() [2/2]

void QQuickSearchFieldPrivate::popupVisibleChanged ( )

◆ selectAll() [1/2]

void QQuickSearchFieldPrivate::selectAll ( )

Definition at line 489 of file qquicksearchfield.cpp.

◆ selectAll() [2/2]

void QQuickSearchFieldPrivate::selectAll ( )

◆ setCurrentIndex() [1/2]

void QQuickSearchFieldPrivate::setCurrentIndex ( int index)

Definition at line 391 of file qquicksearchfield.cpp.

References currentIndex.

Referenced by startClear(), and updateText().

Here is the caller graph for this function:

◆ setCurrentIndex() [2/2]

void QQuickSearchFieldPrivate::setCurrentIndex ( int index)

◆ setCurrentItemAtIndex() [1/2]

void QQuickSearchFieldPrivate::setCurrentItemAtIndex ( int index,
Activation activate )

Definition at line 401 of file qquicksearchfield.cpp.

References currentIndex, and updateDisplayText().

Referenced by hidePopup(), and suggestionCountChanged().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurrentItemAtIndex() [2/2]

void QQuickSearchFieldPrivate::setCurrentItemAtIndex ( int index,
Activation activate )

◆ setHighlightedIndex() [1/2]

void QQuickSearchFieldPrivate::setHighlightedIndex ( int index,
Highlighting highlight )

Definition at line 431 of file qquicksearchfield.cpp.

References highlightedIndex.

Referenced by decreaseCurrentIndex(), increaseCurrentIndex(), itemClicked(), itemHovered(), and updateHighlightedIndex().

Here is the caller graph for this function:

◆ setHighlightedIndex() [2/2]

void QQuickSearchFieldPrivate::setHighlightedIndex ( int index,
Highlighting highlight )

◆ showPopup() [1/2]

void QQuickSearchFieldPrivate::showPopup ( )

Definition at line 235 of file qquicksearchfield.cpp.

References executePopup().

Referenced by updateText().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showPopup() [2/2]

void QQuickSearchFieldPrivate::showPopup ( )

◆ startClear() [1/2]

void QQuickSearchFieldPrivate::startClear ( )

Definition at line 614 of file qquicksearchfield.cpp.

References hidePopup(), setCurrentIndex(), and updateHighlightedIndex().

Referenced by handlePress().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ startClear() [2/2]

void QQuickSearchFieldPrivate::startClear ( )

◆ startSearch() [1/2]

void QQuickSearchFieldPrivate::startSearch ( )

Definition at line 602 of file qquicksearchfield.cpp.

Referenced by handlePress().

Here is the caller graph for this function:

◆ startSearch() [2/2]

void QQuickSearchFieldPrivate::startSearch ( )

◆ suggestionCountChanged() [1/2]

void QQuickSearchFieldPrivate::suggestionCountChanged ( )

Definition at line 353 of file qquicksearchfield.cpp.

References QT_BEGIN_NAMESPACE::NoActivate, setCurrentItemAtIndex(), and updateHighlightedIndex().

Here is the call graph for this function:

◆ suggestionCountChanged() [2/2]

void QQuickSearchFieldPrivate::suggestionCountChanged ( )

◆ textAt() [1/2]

QString QQuickSearchFieldPrivate::textAt ( int index) const

Definition at line 540 of file qquicksearchfield.cpp.

References isValidIndex().

Here is the call graph for this function:

◆ textAt() [2/2]

QString QQuickSearchFieldPrivate::textAt ( int index) const

◆ updateDisplayText() [1/2]

void QQuickSearchFieldPrivate::updateDisplayText ( )

Definition at line 531 of file qquicksearchfield.cpp.

Referenced by setCurrentItemAtIndex().

Here is the caller graph for this function:

◆ updateDisplayText() [2/2]

void QQuickSearchFieldPrivate::updateDisplayText ( )

◆ updateHighlightedIndex() [1/2]

void QQuickSearchFieldPrivate::updateHighlightedIndex ( )

Definition at line 416 of file qquicksearchfield.cpp.

References currentIndex, QT_BEGIN_NAMESPACE::NoHighlight, and setHighlightedIndex().

Referenced by popupVisibleChanged(), startClear(), suggestionCountChanged(), and updateText().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateHighlightedIndex() [2/2]

void QQuickSearchFieldPrivate::updateHighlightedIndex ( )

◆ updateText() [1/2]

void QQuickSearchFieldPrivate::updateText ( )

Definition at line 497 of file qquicksearchfield.cpp.

References delegateModel, hidePopup(), live, setCurrentIndex(), showPopup(), and updateHighlightedIndex().

Here is the call graph for this function:

◆ updateText() [2/2]

void QQuickSearchFieldPrivate::updateText ( )

Member Data Documentation

◆ clearDown

bool QQuickSearchFieldPrivate::clearDown = false

Definition at line 219 of file qquicksearchfield.cpp.

◆ clearFlat

bool QQuickSearchFieldPrivate::clearFlat = false

Definition at line 217 of file qquicksearchfield.cpp.

◆ clearIndicator

QQuickIndicatorButton * QQuickSearchFieldPrivate::clearIndicator = nullptr

◆ clearPressed

bool QQuickSearchFieldPrivate::clearPressed = false

Definition at line 215 of file qquicksearchfield.cpp.

◆ currentIndex

int QQuickSearchFieldPrivate::currentIndex = -1

◆ delegate

QQmlComponent * QQuickSearchFieldPrivate::delegate = nullptr

Definition at line 224 of file qquicksearchfield.cpp.

Referenced by createDelegateModel().

◆ delegateModel

QQmlInstanceModel * QQuickSearchFieldPrivate::delegateModel = nullptr

Definition at line 223 of file qquicksearchfield.cpp.

Referenced by createDelegateModel(), isValidIndex(), and updateText().

◆ hasClearDown

bool QQuickSearchFieldPrivate::hasClearDown = false

Definition at line 221 of file qquicksearchfield.cpp.

◆ hasCurrentIndex

bool QQuickSearchFieldPrivate::hasCurrentIndex = false

Definition at line 208 of file qquicksearchfield.cpp.

◆ hasSearchDown

bool QQuickSearchFieldPrivate::hasSearchDown = false

Definition at line 220 of file qquicksearchfield.cpp.

◆ highlightedIndex

int QQuickSearchFieldPrivate::highlightedIndex = -1

◆ live

bool QQuickSearchFieldPrivate::live = true

Definition at line 213 of file qquicksearchfield.cpp.

Referenced by updateText().

◆ ownModel

bool QQuickSearchFieldPrivate::ownModel = false

Definition at line 222 of file qquicksearchfield.cpp.

Referenced by createDelegateModel().

◆ popup

QQuickDeferredPointer< QQuickPopup > QQuickSearchFieldPrivate::popup

Definition at line 227 of file qquicksearchfield.cpp.

◆ searchDown

bool QQuickSearchFieldPrivate::searchDown = false

Definition at line 218 of file qquicksearchfield.cpp.

◆ searchFlat

bool QQuickSearchFieldPrivate::searchFlat = false

Definition at line 216 of file qquicksearchfield.cpp.

◆ searchIndicator

QQuickIndicatorButton * QQuickSearchFieldPrivate::searchIndicator = nullptr

◆ searchPressed

bool QQuickSearchFieldPrivate::searchPressed = false

Definition at line 214 of file qquicksearchfield.cpp.

◆ suggestionModel

QVariant QQuickSearchFieldPrivate::suggestionModel

Definition at line 207 of file qquicksearchfield.cpp.

◆ text

QString QQuickSearchFieldPrivate::text

Definition at line 211 of file qquicksearchfield.cpp.

◆ textRole

QString QQuickSearchFieldPrivate::textRole

Definition at line 212 of file qquicksearchfield.cpp.


The documentation for this class was generated from the following file: