Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickItemPrivate Class Reference

#include <qquickitem_p.h>

+ Inheritance diagram for QQuickItemPrivate:
+ Collaboration diagram for QQuickItemPrivate:

Classes

struct  ChangeListener
 
struct  ExtraData
 

Public Types

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 ,
  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 Member Functions

 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)
 
void _q_resourceObjectDeleted (QObject *)
 
quint64 _q_createJSWrapper (QV4::ExecutionEngine *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 ()
 
void updateSubFocusItem (QQuickItem *scope, bool focus)
 Clears all sub focus items from scope.
 
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.
 
QTransform globalToWindowTransform () const
 Returns a transform that maps points from global space into window space.
 
QTransform windowToGlobalTransform () const
 Returns a transform that maps points from window space into global space.
 
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 *)
 
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 &)
 
virtual void mirrorChange ()
 
void setHasCursorInChild (bool hasCursor)
 
void setHasHoverInChild (bool hasHover)
 
virtual void updatePolish ()
 
virtual void dumpItemTree (int indent) const
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () 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
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
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
 
virtual QPalette defaultPalette () const =0
 
virtual QPalette parentPalette (const QPalette &fallbackPalette) const
 

Static Public Member Functions

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 void visibleChildren_append (QQmlListProperty< QQuickItem > *prop, QQuickItem *o)
 
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)
 
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

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 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
 
- 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 unused: 21
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate >
void setCurrentColorGroup ()
 

Detailed Description

Definition at line 220 of file qquickitem_p.h.

Member Enumeration Documentation

◆ ChangeType

Enumerator
Geometry 
SiblingOrder 
Visibility 
Opacity 
Destroyed 
Parent 
Children 
Rotation 
ImplicitWidth 
ImplicitHeight 
Enabled 
Focus 
AllChanges 

Definition at line 298 of file qquickitem_p.h.

◆ DirtyType

Enumerator
TransformOrigin 
Transform 
BasicTransform 
Position 
Size 
ZValue 
Content 
Smooth 
OpacityValue 
ChildrenChanged 
ChildrenStackingChanged 
ParentChanged 
Clip 
Window 
EffectReference 
Visible 
HideReference 
Antialiasing 
TransformUpdateMask 
ComplexTransformUpdateMask 
ContentUpdateMask 
ChildrenUpdateMask 

Definition at line 495 of file qquickitem_p.h.

◆ ExtraDataTag

Enumerator
NoTag 
LeftMouseButtonAccepted 

Definition at line 416 of file qquickitem_p.h.

Constructor & Destructor Documentation

◆ QQuickItemPrivate()

QQuickItemPrivate::QQuickItemPrivate ( )

Definition at line 3157 of file qquickitem.cpp.

◆ ~QQuickItemPrivate()

QQuickItemPrivate::~QQuickItemPrivate ( )
override

Definition at line 3219 of file qquickitem.cpp.

References childItems, and sortedChildItems.

Member Function Documentation

◆ _q_createJSWrapper()

quint64 QQuickItemPrivate::_q_createJSWrapper ( QV4::ExecutionEngine engine)

Definition at line 9839 of file qquickitem.cpp.

References engine.

◆ _q_resourceObjectDeleted()

void QQuickItemPrivate::_q_resourceObjectDeleted ( QObject object)

Definition at line 3571 of file qquickitem.cpp.

References extra.

Referenced by addPointerHandler(), resources_append(), resources_clear(), and resources_removeLast().

+ Here is the caller graph for this function:

◆ _states()

QQuickStateGroup * QQuickItemPrivate::_states ( )

Definition at line 5317 of file qquickitem.cpp.

References _stateGroup, QQuickStateGroup::classBegin(), componentComplete, qmlobject_connect, and SIGNAL.

Referenced by QQmlDebugTranslationServicePrivate::sendStateList(), setState(), QQmlDebugTranslationServicePrivate::setState(), states(), QQuickDesignerSupport::statesForItem(), and transitions().

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

◆ acceptedMouseButtons()

Qt::MouseButtons QQuickItemPrivate::acceptedMouseButtons ( ) const
inline

Definition at line 985 of file qquickitem_p.h.

References extra, Qt::LeftButton, and LeftMouseButtonAccepted.

Referenced by QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), and QQuickMouseAreaPrivate::propagateHelper().

+ Here is the caller graph for this function:

◆ addChild()

void QQuickItemPrivate::addChild ( QQuickItem child)

Definition at line 2903 of file qquickitem.cpp.

References QList< T >::append(), child, childItems, ChildrenChanged, QListSpecialMethodsBase< T >::contains(), dirty(), emit, extra, get(), itemChange(), QQuickItem::ItemChildAddedChange, markSortedChildrenDirty(), Q_ASSERT, recursiveRefFromEffectItem(), setHasCursorInChild(), setHasHoverInChild(), subtreeCursorEnabled, and subtreeHoverEnabled.

Referenced by QQuickItem::setParentItem().

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

◆ addItemChangeListener()

void QQuickItemPrivate::addItemChangeListener ( QQuickItemChangeListener listener,
ChangeTypes  types 
)

Definition at line 3964 of file qquickitem.cpp.

References changeListeners, and PRINT_LISTENERS.

Referenced by QQuickOverlay::QQuickOverlay(), QQuickStackViewAttached::QQuickStackViewAttached(), QQuick3DItem2D::addChildItem(), QQuickControlPrivate::addImplicitSizeListener(), QQuickTextAreaPrivate::attachFlickable(), QQuickAttachedPropertyPropagatorPrivate::attachTo(), QQuickContents::complete(), QQuickMenuPrivate::contentData_append(), QQuickContainer::contentItemChange(), QQuickDialogButtonBox::contentItemChange(), QQuickMenu::contentItemChange(), QQuickPageIndicator::contentItemChange(), QQuickRowPrivate::effectiveLayoutDirectionChange(), QQuickGridPrivate::effectiveLayoutDirectionChange(), QQuickPathViewPrivate::getItem(), QQuickListViewPrivate::getSectionItem(), QQuickFlickablePrivate::init(), QQuickContainerPrivate::insertItem(), QQuickMenuPrivate::insertItem(), QQuickLayout::itemChange(), QQuickContents::itemChildAdded(), QQuickControlPrivate::setContentItem_helper(), QQuickPage::setFooter(), QQuickPage::setHeader(), QQuickScrollBarAttached::setHorizontal(), QQuickScrollIndicatorAttached::setHorizontal(), QQuickPopupPositioner::setParentItem(), QQuick3DTexture::setSourceItem(), QQuickTumblerPrivate::setupViewData(), QQuickScrollBarAttached::setVertical(), QQuickScrollIndicatorAttached::setVertical(), QQuickDragAttachedPrivate::start(), QQuickItemViewFxItem::trackGeometry(), QQuickItemGroup::watch(), QQuickIconLabelPrivate::watchChanges(), QQuickBasePositionerPrivate::watchChanges(), and QQuickActionPrivate::watchItem().

+ Here is the caller graph for this function:

◆ addPointerHandler()

void QQuickItemPrivate::addPointerHandler ( QQuickPointerHandler h)
virtual

Reimplemented in QQuickFlickablePrivate.

Definition at line 9188 of file qquickitem.cpp.

References _q_resourceObjectDeleted(), Qt::AllButtons, QObject::connect(), QObject::destroyed(), extra, o, and Q_ASSERT.

Referenced by QQuickPointerHandler::QQuickPointerHandler(), QQuickFlickablePrivate::addPointerHandler(), data_append(), qquickitem_autoParent(), and QQuickPointerHandler::setParentItem().

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

◆ addToDirtyList()

void QQuickItemPrivate::addToDirtyList ( )

Definition at line 6653 of file qquickitem.cpp.

References get(), QQuickWindowPrivate::get(), nextDirtyItem, prevDirtyItem, Q_ASSERT, and window.

Referenced by dirty().

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

◆ adjustedPosForTransform()

QPointF QQuickItemPrivate::adjustedPosForTransform ( const QPointF centroidParentPos,
const QPointF startPos,
const QVector2D activeTranslation,
qreal  startScale,
qreal  activeScale,
qreal  startRotation,
qreal  activeRotation 
)

Returns the new position (proposed values for the x and y properties) to which this item should be moved to compensate for the given change in scale from startScale to activeScale and in rotation from startRotation to activeRotation. centroidParentPos is the point that we wish to hold in place (and then apply activeTranslation to), in this item's parent's coordinate system. startPos is this item's position in its parent's coordinate system when the gesture began. activeTranslation is the amount of translation that should be added to the return value, i.e. the displacement by which the centroid is expected to move.

If activeTranslation is (0, 0) the centroid is to be held in place. If activeScale is 1, it means scale is intended to be held constant, the same as startScale. If activeRotation is 0, it means rotation is intended to be held constant, the same as startRotation.

Definition at line 5418 of file qquickitem.cpp.

References QMatrix4x4::map(), pos, QMatrix4x4::rotate(), QMatrix4x4::scale(), QMatrix4x4::translate(), QPointF::x(), and QPointF::y().

Referenced by QQuickWheelHandler::handleEventPoint(), and QQuickPinchHandler::handlePointerEventImpl().

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

◆ anchors()

QQuickAnchors * QQuickItemPrivate::anchors ( ) 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

\qmlproperty Item QtQuick::Item::anchors.fill \qmlproperty Item QtQuick::Item::anchors.centerIn

\qmlproperty real QtQuick::Item::anchors.margins \qmlproperty real QtQuick::Item::anchors.topMargin \qmlproperty real QtQuick::Item::anchors.bottomMargin \qmlproperty real QtQuick::Item::anchors.leftMargin \qmlproperty real QtQuick::Item::anchors.rightMargin \qmlproperty real QtQuick::Item::anchors.horizontalCenterOffset \qmlproperty real QtQuick::Item::anchors.verticalCenterOffset \qmlproperty real QtQuick::Item::anchors.baselineOffset

\qmlproperty bool QtQuick::Item::anchors.alignWhenCentered

Anchors provide a way to position an item by specifying its relationship with other items.

Margins apply to top, bottom, left, right, and fill anchors. The \l anchors.margins property can be used to set all of the various margins at once, to the same value. It will not override a specific margin that has been previously set; to clear an explicit margin set its value to undefined. Note that margins are anchor-specific and are not applied if an item does not use anchors.

Offsets apply for horizontal center, vertical center, and baseline anchors.

\table \row

  • Text anchored to Image, horizontally centered and vertically below, with a margin. \qml Item { Image { id: pic ... } Text { id: label anchors.horizontalCenter: pic.horizontalCenter anchors.top: pic.bottom anchors.topMargin: 5 ... } } \endqml \row
  • Left of Text anchored to right of Image, with a margin. The y property of both defaults to 0.

\qml Item { Image { id: pic ... } Text { id: label anchors.left: pic.right anchors.leftMargin: 5 ... } } \endqml \endtable

\l anchors.fill provides a convenient way for one item to have the same geometry as another item, and is equivalent to connecting all four directional anchors.

To clear an anchor value, set it to undefined.

\l anchors.alignWhenCentered (default true) forces centered anchors to align to a whole pixel; if the item being centered has an odd \l width or \l height, the item will be positioned on a whole pixel rather than being placed on a half-pixel. This ensures the item is painted crisply. There are cases where this is not desirable, for example when rotating the item jitters may be apparent as the center is rounded.

Note
You can only anchor an item to siblings or a parent.

For more information see \l {anchor-layout}{Anchor Layouts}.

Definition at line 3671 of file qquickitem.cpp.

References _anchors, QQuickAnchors::classBegin(), and componentComplete.

Referenced by anchors(), QQuickAnchorChanges::clearBindings(), QQuickTableViewPrivate::createFxTableItem(), QQuickAnchorChanges::execute(), QQuickDesignerSupport::isAnchoredTo(), QQuickSwipeViewPrivate::resizeItems(), QQuickAnchorChanges::reverse(), and QQuickAnchorChanges::saveCurrentValues().

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

◆ anyPointerHandlerWants()

bool QQuickItemPrivate::anyPointerHandlerWants ( const QPointerEvent event,
const QEventPoint point 
) const

Definition at line 5623 of file qquickitem.cpp.

References extra, and hasPointerHandlers().

+ Here is the call graph for this function:

◆ baseline()

QQuickAnchorLine QQuickItemPrivate::baseline ( ) const

Definition at line 4440 of file qquickitem.cpp.

References QQuickAnchors::BaselineAnchor.

Referenced by QQuickTextPrivate::setupTextLayout(), QQuickTextPrivate::updateBaseline(), and QQuickTextPrivate::updateSize().

+ Here is the caller graph for this function:

◆ bottom()

QQuickAnchorLine QQuickItemPrivate::bottom ( ) const

Definition at line 4428 of file qquickitem.cpp.

References QQuickAnchors::BottomAnchor.

◆ calcEffectiveEnable()

bool QQuickItemPrivate::calcEffectiveEnable ( ) const

Definition at line 6536 of file qquickitem.cpp.

References effectiveEnable, explicitEnable, get(), and parentItem.

+ Here is the call graph for this function:

◆ calcEffectiveVisible()

bool QQuickItemPrivate::calcEffectiveVisible ( ) const

Definition at line 6488 of file qquickitem.cpp.

References effectiveVisible, explicitVisible, get(), and parentItem.

Referenced by setVisible().

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

◆ canAcceptTabFocus()

bool QQuickItemPrivate::canAcceptTabFocus ( QQuickItem item)
static

Definition at line 2370 of file qquickitem.cpp.

References get(), QVariant::isValid(), item, QVariant::toBool(), and QGraphicsItem::window().

Referenced by nextPrevItemInTabFocusChain().

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

◆ childContainerNode()

QSGNode * QQuickItemPrivate::childContainerNode ( )
inline

Definition at line 1033 of file qquickitem_p.h.

References clipNode(), itemNode(), opacityNode(), and rootNode().

Referenced by QQuickWindowPrivate::updateDirtyNode().

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

◆ children()

QQmlListProperty< QQuickItem > QQuickItemPrivate::children ( )

Definition at line 5073 of file qquickitem.cpp.

References children_append(), children_at(), children_clear(), children_count(), and children_removeLast().

Referenced by QQuickScrollViewPrivate::contentChildren_append(), QQuickScrollViewPrivate::contentChildren_at(), QQuickScrollViewPrivate::contentChildren_clear(), QQuickScrollViewPrivate::contentChildren_count(), data_at(), data_clear(), data_count(), data_removeLast(), nextTabChildItem(), prevTabChildItem(), QQuickMouseAreaPrivate::propagateHelper(), QQuickOverlayPrivate::stackingOrderPopups(), and QQuickTableViewPrivate::updateTableRecursive().

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

◆ children_append()

void QQuickItemPrivate::children_append ( QQmlListProperty< QQuickItem > *  prop,
QQuickItem o 
)
static

Definition at line 3428 of file qquickitem.cpp.

References o, and QQmlListProperty< T >::object.

Referenced by children(), QQuickPanePrivate::contentChildren(), and QQuickPopupPrivate::contentChildren().

+ Here is the caller graph for this function:

◆ children_at()

QQuickItem * QQuickItemPrivate::children_at ( QQmlListProperty< QQuickItem > *  prop,
qsizetype  index 
)
static

Definition at line 3419 of file qquickitem.cpp.

References get(), and QQmlListProperty< T >::object.

Referenced by children(), QQuickPanePrivate::contentChildren(), QQuickPopupPrivate::contentChildren(), and data_at().

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

◆ children_clear()

void QQuickItemPrivate::children_clear ( QQmlListProperty< QQuickItem > *  prop)
static

Definition at line 3446 of file qquickitem.cpp.

References get(), and QQmlListProperty< T >::object.

Referenced by children(), QQuickPanePrivate::contentChildren(), QQuickPopupPrivate::contentChildren(), and data_clear().

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

◆ children_count()

qsizetype QQuickItemPrivate::children_count ( QQmlListProperty< QQuickItem > *  prop)
static

Definition at line 3440 of file qquickitem.cpp.

References get(), and QQmlListProperty< T >::object.

Referenced by children(), QQuickPanePrivate::contentChildren(), QQuickPopupPrivate::contentChildren(), data_at(), data_count(), and data_removeLast().

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

◆ children_removeLast()

void QQuickItemPrivate::children_removeLast ( QQmlListProperty< QQuickItem > *  prop)
static

Definition at line 3454 of file qquickitem.cpp.

References get(), and QQmlListProperty< T >::object.

Referenced by children(), and data_removeLast().

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

◆ clipNode()

QQuickDefaultClipNode * QQuickItemPrivate::clipNode ( ) const
inline

Definition at line 672 of file qquickitem_p.h.

Referenced by childContainerNode(), QQuickWindowPrivate::updateDirtyNode(), and QQuickTextArea::updatePaintNode().

+ Here is the caller graph for this function:

◆ computeTransformOrigin()

QPointF QQuickItemPrivate::computeTransformOrigin ( ) const

Definition at line 5331 of file qquickitem.cpp.

References QQuickItem::Bottom, QQuickItem::BottomLeft, QQuickItem::BottomRight, QQuickItem::Center, QQuickItem::Left, origin(), QQuickItem::Right, QQuickItem::Top, QQuickItem::TopLeft, and QQuickItem::TopRight.

Referenced by itemToParentTransform(), and QQuickFlipablePrivate::updateSide().

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

◆ createTransformNode()

QSGTransformNode * QQuickItemPrivate::createTransformNode ( )
virtual

Definition at line 3934 of file qquickitem.cpp.

Referenced by itemNode().

+ Here is the caller graph for this function:

◆ data()

QQmlListProperty< QObject > QQuickItemPrivate::data ( )

Definition at line 3688 of file qquickitem.cpp.

References data_append(), data_at(), data_clear(), data_count(), and data_removeLast().

Referenced by QQuickShapePrivate::asyncShapeReady(), QQuickWindowPrivate::data_append(), QQuickWindowPrivate::data_at(), QQuickWindowPrivate::data_clear(), QQuickWindowPrivate::data_count(), QQuickWindowPrivate::data_removeLast(), QQuickWindowPrivate::data_replace(), and QQuickSplitViewPrivate::effectiveSizeData().

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

◆ data_append()

void QQuickItemPrivate::data_append ( QQmlListProperty< QObject > *  prop,
QObject o 
)
static

Definition at line 3240 of file qquickitem.cpp.

References addPointerHandler(), QObject::connect(), get(), item, o, QQmlListProperty< T >::object, QGraphicsItem::parentItem(), qCDebug, qmlobject_cast< QQuickItem * >(), resources_append(), QObject::setParent(), QGraphicsItem::setParentItem(), SIGNAL, SLOT, QGraphicsItem::window(), and QQuickItem::window().

Referenced by QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), QQuickApplicationWindowPrivate::contentData_append(), data(), ssgn_append(), and vpe_append().

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

◆ data_at()

QObject * QQuickItemPrivate::data_at ( QQmlListProperty< QObject > *  property,
qsizetype  i 
)
static

Definition at line 3325 of file qquickitem.cpp.

References children(), children_at(), children_count(), get(), i, item, j, resources(), resources_at(), and resources_count().

Referenced by QQuickApplicationWindowPrivate::contentData(), QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), and data().

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

◆ data_clear()

void QQuickItemPrivate::data_clear ( QQmlListProperty< QObject > *  property)
static

Definition at line 3341 of file qquickitem.cpp.

References children(), children_clear(), get(), item, resources(), and resources_clear().

Referenced by QQuickApplicationWindowPrivate::contentData(), QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), data(), and vpe_clear().

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

◆ data_count()

qsizetype QQuickItemPrivate::data_count ( QQmlListProperty< QObject > *  property)
static

\qmlproperty list<QtObject> QtQuick::Item::data \qmldefault

The data property allows you to freely mix visual children and resources in an item. If you assign a visual item to the data list it becomes a child and if you assign any other object type, it is added as a resource.

So you can write: \qml Item { Text {} Rectangle {} Timer {} } \endqml

instead of: \qml Item { children: [ Text {}, Rectangle {} ] resources: [ Timer {} ] } \endqml

It should not generally be necessary to refer to the data property, as it is the default property for Item and thus all child items are automatically assigned to this property.

Definition at line 3315 of file qquickitem.cpp.

References children(), children_count(), get(), item, resources(), and resources_count().

Referenced by QQuickApplicationWindowPrivate::contentData(), QQuickPanePrivate::contentData(), QQuickPopupPrivate::contentData(), and data().

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

◆ data_removeLast()

void QQuickItemPrivate::data_removeLast ( QQmlListProperty< QObject > *  property)
static

Definition at line 3352 of file qquickitem.cpp.

References children(), children_count(), children_removeLast(), get(), item, resources(), resources_count(), and resources_removeLast().

Referenced by data().

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

◆ deliverKeyEvent()

void QQuickItemPrivate::deliverKeyEvent ( QKeyEvent e)

Definition at line 5550 of file qquickitem.cpp.

References Qt::AltModifier, Qt::ControlModifier, e, filterKeyEvent(), focusNextPrev(), Qt::Key_Backtab, Qt::Key_Tab, QEvent::KeyPress, Q_ASSERT, and Qt::ShiftModifier.

+ Here is the call graph for this function:

◆ deliverShortcutOverrideEvent()

void QQuickItemPrivate::deliverShortcutOverrideEvent ( QKeyEvent event)

Definition at line 5615 of file qquickitem.cpp.

References extra.

◆ deliveryAgent()

QQuickDeliveryAgent * QQuickItemPrivate::deliveryAgent ( )

Returns the delivery agent for the narrowest subscene containing this item, but falls back to QQuickWindowPrivate::deliveryAgent if there are no subscenes.

If this item is not sure whether it's in a subscene (as by default), we need to explore the parents to find out.

If this item is in a subscene, we will find that DA during the exploration, and return it.

If we find the root item without finding a DA, then we know that this item does NOT belong to a subscene, so we remember that by setting maybeHasSubsceneDeliveryAgent to false, so that exploration of the parents can be avoided next time.

In the usual case in normal 2D scenes without subscenes, maybeHasSubsceneDeliveryAgent gets set to false here.

Note
When a Qt Quick scene is shown in the usual way in its own window, subscenes are ignored, and QQuickWindowPrivate::deliveryAgent is used. Subscene delivery agents are used only in QtQuick 3D so far.

Definition at line 5474 of file qquickitem.cpp.

References QQuickWindowPrivate::deliveryAgent, get(), QQuickWindowPrivate::get(), maybeHasSubsceneDeliveryAgent, qCDebug, and window.

Referenced by QQuickDeliveryAgentPrivate::currentOrItemDeliveryAgent(), QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), and deliveryAgentPrivate().

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

◆ deliveryAgentPrivate()

QQuickDeliveryAgentPrivate * QQuickItemPrivate::deliveryAgentPrivate ( )

Definition at line 5503 of file qquickitem.cpp.

References deliveryAgent(), and QObjectPrivate::get().

Referenced by QQuickPointerHandler::approveGrabTransition(), QQuickMultiPointTouchArea::childMouseEventFilter(), QQuickTableViewPrivate::releaseItem(), QQuickFlickablePrivate::replayDelayedPress(), setEffectiveEnableRecur(), setEffectiveVisibleRecur(), and QQuickMultiPointTouchArea::updateTouchData().

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

◆ derefFromEffectItem()

void QQuickItemPrivate::derefFromEffectItem ( bool  unhide)

Definition at line 6714 of file qquickitem.cpp.

References ChildrenStackingChanged, dirty(), EffectReference, extra, get(), HideReference, parentItem, Q_ASSERT, and recursiveRefFromEffectItem().

Referenced by QQuickDesignerSupport::~QQuickDesignerSupport(), QQuickShaderEffectSource::~QQuickShaderEffectSource(), QQuickDesignerSupport::derefFromEffectItem(), QQuickShaderEffectSource::setHideSource(), and QQuick3DTexture::setSourceItem().

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

◆ derefWindow()

void QQuickItemPrivate::derefWindow ( )

Definition at line 3008 of file qquickitem.cpp.

References QList< T >::at(), child, childItems, derefWindow(), dirty(), extra, get(), QQuickWindowPrivate::get(), itemChange(), itemNodeInstance, QQuickItem::ItemSceneChange, paintNode, parentItem, polishScheduled, Q_ASSERT, removeFromDirtyList(), QList< T >::size(), window, and windowRefCount.

Referenced by QQuickShaderEffectSource::~QQuickShaderEffectSource(), derefWindow(), QQuickShaderEffectPrivate::handleItemChange(), QQuickShaderEffectSource::itemChange(), and QQuickShaderEffectPrivate::propertyChanged().

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

◆ dirty()

void QQuickItemPrivate::dirty ( DirtyType  type)

Definition at line 6638 of file qquickitem.cpp.

References addToDirtyList(), BasicTransform, componentComplete, dirtyAttributes, QQuickWindowPrivate::dirtyItem(), QQuickWindowPrivate::get(), prevDirtyItem, Size, Transform, transformChanged(), TransformOrigin, and window.

Referenced by addChild(), derefFromEffectItem(), derefWindow(), forceUpdate(), refFromEffectItem(), refWindow(), removeChild(), QQuickAnchorChanges::reverse(), QQuickAnchorChanges::rewind(), setCulled(), setEffectiveVisibleRecur(), setVisible(), QQuickItem::setZ(), QQuickItem::stackAfter(), QQuickItem::stackBefore(), QQuickShapePrivate::sync(), transformChanged(), QQuickTextPrivate::transformChanged(), and QQuickHoverHandlerPrivate::updateHasHoverInChild().

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

◆ dirtyToString()

QString QQuickItemPrivate::dirtyToString ( ) const

Definition at line 6605 of file qquickitem.cpp.

References Antialiasing, BasicTransform, ChildrenChanged, ChildrenStackingChanged, Clip, Content, DIRTY_TO_STRING, EffectReference, HideReference, OpacityValue, ParentChanged, Size, Smooth, Transform, TransformOrigin, Visible, and ZValue.

Referenced by QQuickWindowPrivate::updateDirtyNodes().

+ Here is the caller graph for this function:

◆ dumpItemTree()

void QQuickItemPrivate::dumpItemTree ( int  indent) const
virtual

Definition at line 5021 of file qquickitem.cpp.

References ch, childItems, extra, get(), and qDebug.

+ Here is the call graph for this function:

◆ emitChildrenRectChanged()

void QQuickItemPrivate::emitChildrenRectChanged ( const QRectF rect)
inline

Definition at line 622 of file qquickitem_p.h.

References Q_EMIT, and rect.

◆ ensureSubsceneDeliveryAgent()

QQuickDeliveryAgent * QQuickItemPrivate::ensureSubsceneDeliveryAgent ( )

Ensures that this item, presumably the root of a subscene (e.g. because it is mapped onto a 3D object in Qt Quick 3D), has a delivery agent to be used when delivering events to the subscene: i.e. when the viewport delivers an event to the subscene, or when the outer delivery agent delivers an update to an item that grabbed during a previous subscene delivery. Creates a new agent if it was not already created, and returns a pointer to the instance.

Definition at line 5517 of file qquickitem.cpp.

References extra, QQuickItem::ItemIsFocusScope, maybeHasSubsceneDeliveryAgent, and qCDebug.

Referenced by QQuick3DItem2D::QQuick3DItem2D(), and QQuick3DTexture::setSourceItem().

+ Here is the caller graph for this function:

◆ filterKeyEvent()

bool QQuickItemPrivate::filterKeyEvent ( QKeyEvent e,
bool  post 
)

Definition at line 5534 of file qquickitem.cpp.

References e, extra, and QEvent::KeyPress.

Referenced by deliverKeyEvent().

+ Here is the caller graph for this function:

◆ focusNextPrev()

bool QQuickItemPrivate::focusNextPrev ( QQuickItem item,
bool  forward 
)
static

QQuickItemPrivate::focusNextPrev focuses the next/prev item in the tab-focus-chain.

Parameters
itemThe item that currently has the focus
forwardThe direction
Returns
Whether the next item in the focus chain is found or not

If next is true, the next item visited will be in depth-first order relative to item. If next is false, the next item visited will be in reverse depth-first order relative to item.

Definition at line 2409 of file qquickitem.cpp.

References Qt::BacktabFocusReason, item, next, nextPrevItemInTabFocusChain(), and Qt::TabFocusReason.

Referenced by deliverKeyEvent(), and QQuickPopup::keyPressEvent().

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

◆ get() [1/2]

static const QQuickItemPrivate * QQuickItemPrivate::get ( const QQuickItem item)
inlinestatic

Definition at line 228 of file qquickitem_p.h.

References item.

◆ get() [2/2]

static QQuickItemPrivate * QQuickItemPrivate::get ( QQuickItem item)
inlinestatic

Definition at line 227 of file qquickitem_p.h.

References item.

Referenced by QQuick3DItem2D::QQuick3DItem2D(), QQuickBasicBusyIndicatorNode::QQuickBasicBusyIndicatorNode(), QQuickEnterKeyAttached::QQuickEnterKeyAttached(), QQuickItemKeyFilter::QQuickItemKeyFilter(), QQuickLayoutMirroringAttached::QQuickLayoutMirroringAttached(), QQuickMaterialRippleBackgroundNode::QQuickMaterialRippleBackgroundNode(), QQuickMaterialRippleWaveNode::QQuickMaterialRippleWaveNode(), QQuickOverlay::QQuickOverlay(), QQuickPointerHandler::QQuickPointerHandler(), QQuickScreenAttached::QQuickScreenAttached(), QQuickScrollIndicatorAttached::QQuickScrollIndicatorAttached(), QQuickSplitViewAttached::QQuickSplitViewAttached(), QQuickStackViewAttached::QQuickStackViewAttached(), QQuickUniversalFocusRectangle::QQuickUniversalFocusRectangle(), QQuick3DTexture::~QQuick3DTexture(), QQuickContents::~QQuickContents(), QQuickControl::~QQuickControl(), QQuickDesignerSupport::~QQuickDesignerSupport(), QQuickLayout::~QQuickLayout(), QQuickMenu::~QQuickMenu(), QQuickOverlay::~QQuickOverlay(), QQuickPage::~QQuickPage(), QQuickPageIndicator::~QQuickPageIndicator(), QQuickPointerHandler::~QQuickPointerHandler(), QQuickPopupAnchors::~QQuickPopupAnchors(), QQuickPopupPositioner::~QQuickPopupPositioner(), QQuickScrollBarAttached::~QQuickScrollBarAttached(), QQuickScrollIndicatorAttached::~QQuickScrollIndicatorAttached(), QQuickShaderEffectSource::~QQuickShaderEffectSource(), QQuickStackElement::~QQuickStackElement(), QQuickStackViewAttached::~QQuickStackViewAttached(), QQuickTransform::~QQuickTransform(), QQuickPopupPositioner::addAncestorListeners(), addChild(), QQuick3DItem2D::addChildItem(), QQuickAnchorsPrivate::addDepend(), QQuickDesignerSupport::addDirty(), QQuickTextNode::addGlyphs(), QQuickTextNode::addImage(), QQuickControlPrivate::addImplicitSizeListener(), QQuickFlickablePrivate::addPointerHandler(), QQuickTextNode::addRectangleNode(), addToDirtyList(), QQuickGridViewPrivate::addVisibleItems(), QQuickListViewPrivate::addVisibleItems(), anchors(), QQuickTransform::appendToItem(), QQuickGridViewPrivate::applyInsertionChange(), QQuickPointerHandler::approveGrabTransition(), QQuickTextAreaPrivate::attachFlickable(), QQuickAttachedPropertyPropagatorPrivate::attachTo(), calcEffectiveEnable(), calcEffectiveVisible(), canAcceptTabFocus(), QQuickLayout::checkAnchors(), QQuickMultiPointTouchArea::childMouseEventFilter(), children_at(), children_clear(), children_count(), children_removeLast(), QQuickContainerPrivate::cleanup(), QQuickLoaderPrivate::clear(), QQuickAnchorChanges::clearBindings(), QQuickDeliveryAgentPrivate::clearFocusInScope(), QQuickDeliveryAgentPrivate::clearFocusObject(), clickableItemAtPosition(), QmlJSDebugger::collectItemsAt(), QQuickContents::complete(), QQuickPointerHandler::componentComplete(), QQuickContainerPrivate::contentData_append(), QQuickMenuPrivate::contentData_append(), QQuickContainer::contentItemChange(), QQuickDialogButtonBox::contentItemChange(), QQuickMenu::contentItemChange(), QQuickPageIndicator::contentItemChange(), QQuickItemGrabResultPrivate::create(), QQuickComboBoxPrivate::createdItem(), QQuickTableViewPrivate::createFxTableItem(), QQuickDeliveryAgentPrivate::currentOrItemDeliveryAgent(), data_append(), QQuickWindowPrivate::data_append(), data_at(), QQuickWindowPrivate::data_at(), data_clear(), QQuickWindowPrivate::data_clear(), data_count(), QQuickWindowPrivate::data_count(), data_removeLast(), QQuickWindowPrivate::data_removeLast(), QQuickWindowPrivate::data_replace(), QQuickLayout::deactivateRecur(), debugFocusTree(), QQuickVisualTestUtils::delegateVisible(), QQuickDeliveryAgentPrivate::deliverHoverEvent(), QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(), QQuickDeliveryAgentPrivate::deliverHoverEventToItem(), QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QQuickDeliveryAgentPrivate::deliverPressOrReleaseEvent(), QQuickDeliveryAgentPrivate::deliverSinglePointEventUntilAccepted(), QQuickDeliveryAgentPrivate::deliverTouchAsMouse(), QQuickDeliveryAgentPrivate::deliverUpdatedPoints(), deliveryAgent(), derefFromEffectItem(), QQuickDesignerSupport::derefFromEffectItem(), derefWindow(), QQuickTextAreaPrivate::detachFlickable(), QQuickAttachedPropertyPropagatorPrivate::detachFrom(), detachWindow(), QQuickTumblerPrivate::disconnectFromView(), dumpItemTree(), QQuickAnchorChanges::execute(), fetchNextNode(), QQuickVisualTestUtils::findItems(), QQuickVisualTestUtils::findVisibleChild(), forceUpdate(), QQuickFolderBreadcrumbBarPrivate::getContentWidth(), QQuickTabBarPrivate::getContentWidth(), QQuickPathViewPrivate::getItem(), QQuickListViewPrivate::getSectionItem(), QQuickWheelHandler::handleEventPoint(), QQuickShaderEffectPrivate::handleItemChange(), QQuickPinchHandler::handlePointerEventImpl(), hcenter(), QQuickFlickablePrivate::init(), init(), QQuickWindowPrivate::init(), QQuickStackElement::initialize(), QQuickItemView::initItem(), QQuickLoaderPrivate::initResize(), QQuickViewPrivate::initResize(), QQuickWidgetPrivate::initResize(), QQuickStyleItem::initStyleOptionBase(), QQuickContainerPrivate::insertItem(), QQuickMenuPrivate::insertItem(), QQuickDesignerSupport::isAnchoredTo(), QQuickDesignerSupport::isComponentComplete(), QQuickFolderBreadcrumbBar::isContent(), QQuickSplitView::isContent(), QQuickDesignerSupport::isDirty(), QDeclarativeGeoMapItemBase::isPolishScheduled(), QQuickDesignerSupport::isValidHeight(), QQuickDesignerSupport::isValidWidth(), QQuickSplitView::itemAdded(), QQuickTabBar::itemAdded(), QQuickPageIndicatorPrivate::itemAt(), QmlJSDebugger::itemAt(), QQuickContainer::itemChange(), QQuickShaderEffectSource::itemChange(), QQuickLayout::itemChange(), QQuick3DTexture::itemChange(), QQuickContents::itemChildAdded(), QQuickPageIndicatorPrivate::itemChildAdded(), QQuickContainerPrivate::itemChildAdded(), QQuickMenuPrivate::itemChildAdded(), QQuickContents::itemChildRemoved(), QQuickContents::itemDestroyed(), QQuickControlPrivate::itemGeometryChanged(), QQuickLabelPrivate::itemGeometryChanged(), QQuickTextAreaPrivate::itemGeometryChanged(), QQuickTextFieldPrivate::itemGeometryChanged(), QQuickListViewPrivate::itemGeometryChanged(), QQuickSplitView::itemMoved(), QQuickSplitView::itemRemoved(), QQuickTableViewPrivate::itemReusedCallback(), QQuickMenuPrivate::itemSiblingOrderChanged(), itemToWindowTransform(), QQuickItem::itemTransform(), QQuickKeyNavigationAttached::keyPressed(), QQuickKeyNavigationAttached::keyReleased(), layoutItem(), QQuickSplitViewPrivate::layoutPositionItems(), QQuickSplitViewPrivate::layoutResizeFillItem(), QQuickSplitViewPrivate::layoutResizeSplitItems(), QQuickScrollIndicatorAttachedPrivate::layoutVertical(), QQuickSplitViewPrivate::limitAndApplySizes(), QQuickItem::mapRectFromItem(), QQuickItem::mapRectToItem(), QV4::Heap::QQuickItemWrapper::markObjects(), QQuickAnchors::mirrored(), QQuickDeliveryAgentPrivate::notifyFocusChangesRecur(), QQuickDeliveryAgentPrivate::onGrabChanged(), QQuickFusionDial::paint(), QQuickFusionKnob::paint(), paintOrderChildItems(), QQuickDesignerSupport::parentTransform(), QQuickColorImage::pixmapChange(), QQuickDeliveryAgentPrivate::pointerTargets(), QQuickWindowPrivate::polishItems(), QQuickOpacityAnimatorJob::postSync(), QQuickTransform::prependToItem(), QQuickBasePositioner::prePositioning(), QQuick3DItem2D::preSync(), QQuickMouseAreaPrivate::propagateHelper(), QQuickShaderEffectPrivate::propertyChanged(), QQuickTest::qIsPolishScheduled(), qquickitem_autoParent(), qquickitem_before_paintNode(), QQuickTest::qWaitForPolish(), readBaselineOffset(), readHeight(), readParentItem(), readWidth(), readX(), readY(), recursiveRefFromEffectItem(), refFromEffectItem(), QQuickDesignerSupport::refFromEffectItem(), refWindow(), QQuickApplicationWindowPrivate::relayout(), QQuickTableViewPrivate::releaseItem(), QQuickItemViewPrivate::releaseItem(), QQuickListViewPrivate::releaseItem(), QQuickPathViewPrivate::releaseItem(), QQuickListViewPrivate::releaseSectionItem(), QQuickAnchorsPrivate::remDepend(), QQuickPopupPositioner::removeAncestorListeners(), removeChild(), QQuick3DItem2D::removeChildItem(), removeFromDirtyList(), QQuickControlPrivate::removeImplicitSizeListener(), QQuickContainerPrivate::removeItem(), QQuickMenuPrivate::removeItem(), QQuickDesignerSupport::renderImageForItem(), QQuickContainerPrivate::reorderItems(), QQuickColumn::reportConflictingAnchors(), QQuickRow::reportConflictingAnchors(), QQuickGrid::reportConflictingAnchors(), QQuickFlow::reportConflictingAnchors(), QQuickPopupPositioner::reposition(), QQuickDesignerSupport::resetDirty(), QQuickSplitViewAttached::resetPreferredHeight(), QQuickSplitViewAttached::resetPreferredWidth(), QQuickControlPrivate::resizeBackground(), QQuickLabelPrivate::resizeBackground(), QQuickTextAreaPrivate::resizeBackground(), QQuickTextFieldPrivate::resizeBackground(), QQuickSwipeDelegatePrivate::resizeBackground(), QQuickMenuPrivate::resizeItem(), QQuickMonthGridPrivate::resizeItems(), QQuickSwipeViewPrivate::resizeItems(), resolveLayoutMirror(), resources_append(), resources_at(), resources_clear(), resources_count(), resources_removeLast(), QQuickAnchorChanges::reverse(), QQuickAnchorChanges::rewind(), QQuickAnchorChanges::saveCurrentValues(), QQuickAnchorChanges::saveOriginals(), QQuickDeliveryAgentPrivate::sendFilteredMouseEvent(), QQuickDeliveryAgentPrivate::sendFilteredPointerEventImpl(), QQuickDeliveryAgentPrivate::sendHoverEvent(), QQmlDebugTranslationServicePrivate::sendStateList(), QQuickLoader::setActive(), QQuickControl::setBackground(), QQuickLabel::setBackground(), QQuickTextArea::setBackground(), QQuickTextField::setBackground(), QQuickPopupAnchors::setCenterIn(), QQuickItem::setContainmentMask(), QQuickControlPrivate::setContentItem_helper(), QQuickMenuPrivate::setCurrentIndex(), QQuickTextNode::setCursor(), setEffectiveEnableRecur(), setEffectiveVisibleRecur(), QQuickItem::setFlag(), QQuickScrollBarAttachedPrivate::setFlickable(), QQuickItem::setFocus(), QQuickDeliveryAgentPrivate::setFocusInScope(), QQuickPage::setFooter(), setHasCursorInChild(), setHasHoverInChild(), QQuickPage::setHeader(), QQuickShaderEffectSource::setHideSource(), QQuickScrollBarAttached::setHorizontal(), QQuickScrollIndicatorAttached::setHorizontal(), setImplicitLayoutMirror(), QQuickLoaderPrivate::setInitialState(), QQuickPointerHandler::setParentItem(), QQuickItem::setParentItem(), QQuickPopupPositioner::setParentItem(), QQuickView::setResizeMode(), QQuickWidget::setResizeMode(), QQuickShaderEffectSource::setSourceItem(), QQuick3DTexture::setSourceItem(), QQmlDebugTranslationServicePrivate::setState(), QQuickTumblerPrivate::setupViewData(), QQuickScrollBarAttached::setVertical(), QQuickScrollIndicatorAttached::setVertical(), QQuickItemViewFxItem::setVisible(), QQuickItem::setZ(), QQuickLayout::shouldIgnoreItem(), QQuickItem::stackAfter(), QQuickItem::stackBefore(), QQuickDragAttachedPrivate::start(), QQuickDesignerSupport::statesForItem(), QQuickTransformAnimatorJob::Helper::sync(), QQuickBasicProgressBarNode::sync(), QQuickMaterialProgressBarNode::sync(), QQuickUniversalBusyIndicatorNode::sync(), QQuickUniversalProgressBarNode::sync(), QQuickWindowPrivate::syncSceneGraph(), QQuickShaderEffectSource::textureProvider(), QQuickItemViewFxItem::trackGeometry(), transform_at(), transform_clear(), transform_count(), transformChanged(), QQuickItemGroup::unwatch(), QQuickIconLabelPrivate::unwatchChanges(), QQuickBasePositionerPrivate::unwatchChanges(), QQuickActionPrivate::unwatchItem(), QQuickTransform::update(), QQuickMultiEffectPrivate::updateBlurItemsAmount(), QQuickWindowPrivate::updateChildrenPalettes(), QQuickPopupPrivate::updateContentPalettes(), QQuickWindowPrivate::updateDirtyNode(), QQuickWindowPrivate::updateDirtyNodes(), QQuickDeliveryAgentPrivate::updateFocusItemTransform(), QQuickHoverHandlerPrivate::updateHasHoverInChild(), QQuickPathViewPrivate::updateItem(), QDeclarativeGeoMap::updateItemToWindowTransform(), QQuickDialogButtonBoxPrivate::updateLayout(), QQuickTabBarPrivate::updateLayout(), QQuickImageParticle::updatePaintNode(), QQuickMultiPointTouchArea::updatePaintNode(), QQuickShaderEffectSource::updatePaintNode(), QQuickMaterialRipple::updatePaintNode(), QQuickTextArea::updatePaintNode(), updatePixelRatioHelper(), QQuick3DItem2D::updateSpatialNode(), QQuick3DTexture::updateSpatialNode(), updateSubFocusItem(), QQuickMultiPointTouchArea::updateTouchData(), QQuickShaderEffect::updateUniformValue(), vcenter(), QQuickListView::viewportMoved(), QQuickGridView::viewportMoved(), visibleChildren_at(), visibleChildren_count(), warnIfHorizontallyAnchored(), QQuickItemGroup::watch(), QQuickIconLabelPrivate::watchChanges(), QQuickBasePositionerPrivate::watchChanges(), QQuickActionPrivate::watchItem(), and QQuickDesignerSupport::windowTransform().

◆ getImplicitHeight()

qreal QQuickItemPrivate::getImplicitHeight ( ) const
virtual

Reimplemented in QQuickLoaderPrivate, QQuickTextPrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.

Definition at line 7409 of file qquickitem.cpp.

References implicitHeight.

Referenced by QQuickLoaderPrivate::getImplicitHeight(), QQuickTextAreaPrivate::getImplicitHeight(), and QQuickTextFieldPrivate::getImplicitHeight().

+ Here is the caller graph for this function:

◆ getImplicitWidth()

qreal QQuickItemPrivate::getImplicitWidth ( ) const
virtual

Reimplemented in QQuickLoaderPrivate, QQuickTextPrivate, QQuickTextEditPrivate, QQuickTextInputPrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.

Definition at line 7200 of file qquickitem.cpp.

References implicitWidth.

Referenced by QQuickLoaderPrivate::getImplicitWidth(), QQuickTextAreaPrivate::getImplicitWidth(), and QQuickTextFieldPrivate::getImplicitWidth().

+ Here is the caller graph for this function:

◆ globalToWindowTransform()

QTransform QQuickItemPrivate::globalToWindowTransform ( ) const

Returns a transform that maps points from global space into window space.

Definition at line 3131 of file qquickitem.cpp.

References QTransform::fromTranslate(), pos, Q_UNLIKELY, QQuickRenderControl::renderWindowFor(), and window.

+ Here is the call graph for this function:

◆ handlePointerEvent()

bool QQuickItemPrivate::handlePointerEvent ( QPointerEvent event,
bool  avoidGrabbers = false 
)
virtual

Deliver the event to all this item's PointerHandlers, but skip HoverHandlers if the event is a QMouseEvent or QWheelEvent (they are visited in QQuickDeliveryAgentPrivate::deliverHoverEventToItem()), and skip handlers that are in QQuickPointerHandlerPrivate::deviceDeliveryTargets(). If avoidGrabbers is true, also skip delivery to any handler that is exclusively or passively grabbing any point within event (because delivery to grabbers is handled separately).

Definition at line 5644 of file qquickitem.cpp.

References QQuickPointerHandlerPrivate::deviceDeliveryTargets(), extra, and QQuickDeliveryAgentPrivate::isMouseOrWheelEvent().

Referenced by QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QQuickDeliveryAgentPrivate::deliverSinglePointEventUntilAccepted(), and QQuickDeliveryAgentPrivate::deliverUpdatedPoints().

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

◆ hasEnabledHoverHandlers()

bool QQuickItemPrivate::hasEnabledHoverHandlers ( ) const

Definition at line 9178 of file qquickitem.cpp.

References extra, and hasPointerHandlers().

Referenced by setHasHoverInChild().

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

◆ hasPointerHandlers()

bool QQuickItemPrivate::hasPointerHandlers ( ) const

Definition at line 9173 of file qquickitem.cpp.

References extra.

Referenced by anyPointerHandlerWants(), QQuickDeliveryAgentPrivate::deliverHoverEventToItem(), hasEnabledHoverHandlers(), and QQuickDeliveryAgentPrivate::sendFilteredPointerEventImpl().

+ Here is the caller graph for this function:

◆ heightChanged()

void QQuickItemPrivate::heightChanged ( )
inline

Definition at line 582 of file qquickitem_p.h.

◆ heightValid()

bool QQuickItemPrivate::heightValid ( ) const
inline

Definition at line 588 of file qquickitem_p.h.

Referenced by QQuickDesignerSupport::isValidWidth(), QQuickAnchorChanges::rewind(), QQuickAnchorChanges::saveOriginals(), and QQuickLoaderPrivate::setInitialState().

+ Here is the caller graph for this function:

◆ horizontalCenter()

QQuickAnchorLine QQuickItemPrivate::horizontalCenter ( ) const

Definition at line 4416 of file qquickitem.cpp.

References QQuickAnchors::HCenterAnchor.

◆ implicitHeightChanged()

void QQuickItemPrivate::implicitHeightChanged ( )
virtual

Reimplemented in QQuickPopupItemPrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.

Definition at line 7402 of file qquickitem.cpp.

References emit, ImplicitHeight, QQuickItemChangeListener::itemImplicitHeightChanged(), and notifyChangeListeners().

Referenced by QQuickPopupItemPrivate::implicitHeightChanged(), QQuickTextAreaPrivate::implicitHeightChanged(), QQuickTextFieldPrivate::implicitHeightChanged(), and QQuickTextPrivate::updateSize().

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

◆ implicitWidthChanged()

void QQuickItemPrivate::implicitWidthChanged ( )
virtual

Reimplemented in QQuickPopupItemPrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.

Definition at line 7193 of file qquickitem.cpp.

References emit, ImplicitWidth, QQuickItemChangeListener::itemImplicitWidthChanged(), and notifyChangeListeners().

Referenced by QQuickPopupItemPrivate::implicitWidthChanged(), QQuickTextAreaPrivate::implicitWidthChanged(), QQuickTextFieldPrivate::implicitWidthChanged(), and QQuickTextPrivate::updateSize().

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

◆ init()

void QQuickItemPrivate::init ( QQuickItem parent)

Definition at line 3225 of file qquickitem.cpp.

References baselineOffset, get(), inheritedLayoutMirror, inheritMirrorFromParent, QObjectData::isQuickItem, QObjectData::parent, and setImplicitLayoutMirror().

+ Here is the call graph for this function:

◆ isMirrored()

bool QQuickItemPrivate::isMirrored ( ) const
inline

Definition at line 618 of file qquickitem_p.h.

◆ isTransparentForPositioner()

bool QQuickItemPrivate::isTransparentForPositioner ( ) const

Definition at line 6594 of file qquickitem.cpp.

References extra.

Referenced by QQuickContainerPrivate::contentData_append(), QQuickPageIndicatorPrivate::itemAt(), QQuickContainer::itemChange(), QQuickPageIndicatorPrivate::itemChildAdded(), QQuickContainerPrivate::itemChildAdded(), QQuickContainerPrivate::reorderItems(), QQuickMonthGridPrivate::resizeItems(), and QQuickLayout::shouldIgnoreItem().

+ Here is the caller graph for this function:

◆ itemChange()

void QQuickItemPrivate::itemChange ( QQuickItem::ItemChange  change,
const QQuickItem::ItemChangeData data 
)

◆ itemNode()

QSGTransformNode * QQuickItemPrivate::itemNode ( )
inline

Definition at line 1020 of file qquickitem_p.h.

References arg, createTransformNode(), QString::fromLatin1(), itemNodeInstance, QSGNode::OwnedByParent, qsgnode_set_description(), and QSGNode::setFlag().

Referenced by childContainerNode(), fetchNextNode(), qquickitem_before_paintNode(), and QQuickWindowPrivate::updateDirtyNode().

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

◆ itemToParentTransform()

void QQuickItemPrivate::itemToParentTransform ( QTransform t) const

Modifies t with this item's local transform relative to its parent.

Definition at line 3084 of file qquickitem.cpp.

References QQuickTransform::applyTo(), QList< T >::at(), computeTransformOrigin(), QList< T >::isEmpty(), rotation(), scale(), QList< T >::size(), transforms, QPointF::x(), and QPointF::y().

Referenced by itemToWindowTransform(), and QQuickDesignerSupport::parentTransform().

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

◆ itemToWindowTransform()

QTransform QQuickItemPrivate::itemToWindowTransform ( ) const

Returns a transform that maps points from item space into window space.

Definition at line 3072 of file qquickitem.cpp.

References get(), itemToParentTransform(), itemToWindowTransform(), parentItem, and Q_ASSERT.

Referenced by itemToWindowTransform(), QQuickItem::mapRectFromItem(), QQuickDeliveryAgentPrivate::updateFocusItemTransform(), QDeclarativeGeoMap::updateItemToWindowTransform(), windowToItemTransform(), and QQuickDesignerSupport::windowTransform().

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

◆ left()

QQuickAnchorLine QQuickItemPrivate::left ( ) const

Definition at line 4404 of file qquickitem.cpp.

References QQuickAnchors::LeftAnchor.

◆ localizedTouchEvent()

void QQuickItemPrivate::localizedTouchEvent ( const QTouchEvent event,
bool  isFiltering,
QMutableTouchEvent localized 
)
Since
6.0 \qmlproperty Palette QtQuick::Item::palette

This property holds the palette currently set for the item.

This property describes the item's requested palette. The palette is used by the item's style when rendering all controls, and is available as a means to ensure that custom controls can maintain consistency with the native platform's native look and feel. It's common that different platforms, or different styles, define different palettes for an application.

The default palette depends on the system environment. ApplicationWindow maintains a system/theme palette which serves as a default for all controls. There may also be special palette defaults for certain types of controls. You can also set the default palette for controls by either:

\list

  • passing a custom palette to QGuiApplication::setPalette(), before loading any QML; or
  • specifying the colors in the \l {Qt Quick Controls 2 Configuration File} {qtquickcontrols2.conf file}. \endlist

Items propagate explicit palette properties from parents to children. If you change a specific property on a items's palette, that property propagates to all of the item's children, overriding any system defaults for that property.

buttonText: "maroon"
button: "lavender"
}
text: "Click Me"
}
}
Definition lalr.h:85
QString text
QPushButton * button
[2]
Button
See also
Window::palette, Popup::palette, ColorGroup, Palette, SystemPalette

Create a modified copy of the given event intended for delivery to this item, containing pointers to only the QEventPoint instances that are relevant to this item, and transforming their positions to this item's coordinate system.

Returns an invalid event with type \l QEvent::None if all points are stationary; or there are no points inside the item; or none of the points were pressed inside, neither the item nor any of its handlers is grabbing any of them, and isFiltering is false.

When isFiltering is true, it is assumed that the item cares about all points which are inside its bounds, because most filtering items need to monitor eventpoint movements until a drag threshold is exceeded or the requirements for a gesture to be recognized are met in some other way.

Definition at line 9081 of file qquickitem.cpp.

References QList< T >::append(), QMutableEventPoint::detach(), QList< T >::isEmpty(), QEvent::None, QObjectData::parent, QQuickPointerHandler::parentItem(), QEventPoint::Pressed, qobject_cast< QQuickItem * >(), QEventPoint::Released, ret, QEvent::TouchBegin, QEvent::TouchEnd, and QEvent::TouchUpdate.

Referenced by QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QQuickDeliveryAgentPrivate::deliverTouchAsMouse(), and QQuickDeliveryAgentPrivate::sendFilteredPointerEventImpl().

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

◆ markSortedChildrenDirty()

void QQuickItemPrivate::markSortedChildrenDirty ( QQuickItem child)
inline

Definition at line 1003 of file qquickitem_p.h.

References child, childItems, and sortedChildItems.

Referenced by addChild(), removeChild(), QQuickItem::setZ(), QQuickItem::stackAfter(), and QQuickItem::stackBefore().

+ Here is the caller graph for this function:

◆ mirrorChange()

virtual void QQuickItemPrivate::mirrorChange ( )
inlinevirtual

Reimplemented in QQuickItemViewPrivate, QQuickBasePositionerPrivate, QQuickTextPrivate, QQuickTextEditPrivate, QQuickTextInputPrivate, QQuickGridLayoutBasePrivate, and QQuickControlPrivate.

Definition at line 688 of file qquickitem_p.h.

Referenced by setLayoutMirror().

+ Here is the caller graph for this function:

◆ nextPrevItemInTabFocusChain()

QQuickItem * QQuickItemPrivate::nextPrevItemInTabFocusChain ( QQuickItem item,
bool  forward 
)
static

Definition at line 2465 of file qquickitem.cpp.

References QQuickItem::activeFocusOnTab(), canAcceptTabFocus(), QGraphicsItem::childItems(), QQuickItem::childItems(), QList< T >::constFirst(), QDuplicateTracker< T, Prealloc >::hasSeen(), QListSpecialMethodsBase< T >::indexOf(), QList< T >::isEmpty(), QQuickItem::isEnabled(), isTabFence, QQuickItem::isVisible(), item, nextTabChildItem(), QObjectData::parent, QGraphicsItem::parentItem(), QQuickItem::parentItem(), prevTabChildItem(), Q_ASSERT, qCDebug, QGuiApplication::styleHints(), Qt::TabFocusAllControls, QStyleHints::tabFocusBehavior, and QGraphicsItem::window().

Referenced by focusNextPrev().

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

◆ nextTabChildItem()

QQuickItem * QQuickItemPrivate::nextTabChildItem ( const QQuickItem item,
int  start 
)
static

Definition at line 2421 of file qquickitem.cpp.

References child, QGraphicsItem::childItems(), children(), item, and qWarning.

Referenced by nextPrevItemInTabFocusChain().

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

◆ notifyChangeListeners()

template<typename Fn , typename ... Args>
void QQuickItemPrivate::notifyChangeListeners ( QQuickItemPrivate::ChangeTypes  changeTypes,
Fn &&  function,
Args &&...  args 
)
inline

Definition at line 346 of file qquickitem_p.h.

References args, changeTypes, and function.

Referenced by implicitHeightChanged(), implicitWidthChanged(), itemChange(), QQuickDeliveryAgentPrivate::notifyFocusChangesRecur(), QQuickDeliveryAgentPrivate::setFocusInScope(), and siblingOrderChanged().

+ Here is the caller graph for this function:

◆ opacity()

qreal QQuickItemPrivate::opacity ( ) const
inline

Definition at line 597 of file qquickitem_p.h.

Referenced by QQuickWindowPrivate::updateDirtyNode().

+ Here is the caller graph for this function:

◆ opacityNode()

QSGOpacityNode * QQuickItemPrivate::opacityNode ( ) const
inline

Definition at line 671 of file qquickitem_p.h.

Referenced by childContainerNode(), and QQuickWindowPrivate::updateDirtyNode().

+ Here is the caller graph for this function:

◆ origin()

QQuickItem::TransformOrigin QQuickItemPrivate::origin ( ) const
inline

Definition at line 1014 of file qquickitem_p.h.

References QQuickItem::Center, and extra.

Referenced by computeTransformOrigin(), QQuickWindowPrivate::updateDirtyNode(), and QQuickFlipablePrivate::updateSide().

+ Here is the caller graph for this function:

◆ paintOrderChildItems()

QList< QQuickItem * > QQuickItemPrivate::paintOrderChildItems ( ) const

Definition at line 2878 of file qquickitem.cpp.

References QList< T >::at(), QList< T >::begin(), childItems, QList< T >::end(), get(), i, itemZOrder_sort(), QList< T >::size(), sortedChildItems, and z().

Referenced by clickableItemAtPosition(), QmlJSDebugger::collectItemsAt(), QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(), fetchNextNode(), QmlJSDebugger::itemAt(), QQuickMouseAreaPrivate::propagateHelper(), QQuickOverlayPrivate::stackingOrderPopups(), transformChanged(), and QQuickWindowPrivate::updateDirtyNode().

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

◆ prevTabChildItem()

QQuickItem * QQuickItemPrivate::prevTabChildItem ( const QQuickItem item,
int  start 
)
static

Definition at line 2442 of file qquickitem.cpp.

References child, QGraphicsItem::childItems(), children(), item, and qWarning.

Referenced by nextPrevItemInTabFocusChain().

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

◆ Q_OBJECT_COMPAT_PROPERTY() [1/4]

QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY ( QQuickItemPrivate  ,
qreal  ,
height  ,
&QQuickItemPrivate::setHeight  ,
&QQuickItemPrivate::heightChanged   
)

◆ Q_OBJECT_COMPAT_PROPERTY() [2/4]

QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY ( QQuickItemPrivate  ,
qreal  ,
width  ,
&QQuickItemPrivate::setWidth  ,
&QQuickItemPrivate::widthChanged   
)

◆ Q_OBJECT_COMPAT_PROPERTY() [3/4]

QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY ( QQuickItemPrivate  ,
qreal  ,
x  ,
&QQuickItemPrivate::setX  ,
&QQuickItemPrivate::xChanged   
)

◆ Q_OBJECT_COMPAT_PROPERTY() [4/4]

QQuickItemPrivate::Q_OBJECT_COMPAT_PROPERTY ( QQuickItemPrivate  ,
qreal  ,
y  ,
&QQuickItemPrivate::setY  ,
&QQuickItemPrivate::yChanged   
)

◆ recursiveRefFromEffectItem()

void QQuickItemPrivate::recursiveRefFromEffectItem ( int  refs)

Definition at line 6698 of file qquickitem.cpp.

References QList< T >::at(), child, childItems, effectiveVisible, extra, get(), recursiveRefFromEffectItem(), and QList< T >::size().

Referenced by addChild(), derefFromEffectItem(), recursiveRefFromEffectItem(), refFromEffectItem(), and removeChild().

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

◆ refFromEffectItem()

void QQuickItemPrivate::refFromEffectItem ( bool  hide)

Definition at line 6683 of file qquickitem.cpp.

References ChildrenStackingChanged, dirty(), EffectReference, extra, get(), hide(), HideReference, parentItem, and recursiveRefFromEffectItem().

Referenced by QQuickItemGrabResultPrivate::create(), QQuickDesignerSupport::refFromEffectItem(), and QQuickShaderEffectSource::setHideSource().

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

◆ refWindow()

void QQuickItemPrivate::refWindow ( QQuickWindow c)

Definition at line 2967 of file qquickitem.cpp.

References QList< T >::at(), child, childItems, dirty(), extra, get(), QQuickWindowPrivate::get(), QSet< T >::insert(), itemChange(), QQuickItem::ItemSceneChange, QQuickWindowPrivate::itemsToPolish, parentItem, QQuickWindowPrivate::parentlessItems, polishScheduled, Q_ASSERT, qWarning, refWindow(), QList< T >::size(), window, and windowRefCount.

Referenced by QQuickShaderEffectPrivate::handleItemChange(), QQuickShaderEffectSource::itemChange(), QQuick3DTexture::itemChange(), QQuickShaderEffectPrivate::propertyChanged(), refWindow(), and QQuick3DTexture::updateSpatialNode().

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

◆ registerAsContainmentMask()

virtual void QQuickItemPrivate::registerAsContainmentMask ( QQuickItem ,
bool   
)
inlinevirtual

Definition at line 424 of file qquickitem_p.h.

Referenced by QQuickItem::setContainmentMask().

+ Here is the caller graph for this function:

◆ removeChild()

void QQuickItemPrivate::removeChild ( QQuickItem child)

Definition at line 2932 of file qquickitem.cpp.

References child, childItems, ChildrenChanged, QListSpecialMethodsBase< T >::contains(), dirty(), emit, extra, get(), inDestructor, itemChange(), QQuickItem::ItemChildRemovedChange, markSortedChildrenDirty(), Q_ASSERT, recursiveRefFromEffectItem(), QList< T >::removeOne(), setHasCursorInChild(), setHasHoverInChild(), subtreeCursorEnabled, and subtreeHoverEnabled.

Referenced by QQuickItem::setParentItem().

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

◆ removeFromDirtyList()

void QQuickItemPrivate::removeFromDirtyList ( )

Definition at line 6671 of file qquickitem.cpp.

References get(), nextDirtyItem, prevDirtyItem, and Q_ASSERT.

Referenced by derefWindow(), QQuickDesignerSupport::resetDirty(), and QQuickWindowPrivate::updateDirtyNodes().

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

◆ removeItemChangeListener()

void QQuickItemPrivate::removeItemChangeListener ( QQuickItemChangeListener listener,
ChangeTypes  types 
)

Definition at line 3985 of file qquickitem.cpp.

References changeListeners, and PRINT_LISTENERS.

Referenced by QQuick3DTexture::~QQuick3DTexture(), QQuickContents::~QQuickContents(), QQuickControl::~QQuickControl(), QQuickLayout::~QQuickLayout(), QQuickMenu::~QQuickMenu(), QQuickOverlay::~QQuickOverlay(), QQuickPage::~QQuickPage(), QQuickPageIndicator::~QQuickPageIndicator(), QQuickPopupPositioner::~QQuickPopupPositioner(), QQuickScrollBarAttached::~QQuickScrollBarAttached(), QQuickScrollIndicatorAttached::~QQuickScrollIndicatorAttached(), QQuickShaderEffectSource::~QQuickShaderEffectSource(), QQuickStackElement::~QQuickStackElement(), QQuickStackViewAttached::~QQuickStackViewAttached(), QQuickContainerPrivate::cleanup(), QQuickContainer::contentItemChange(), QQuickDialogButtonBox::contentItemChange(), QQuickMenu::contentItemChange(), QQuickPageIndicator::contentItemChange(), QQuickLayout::deactivateRecur(), QQuickTextAreaPrivate::detachFlickable(), QQuickAttachedPropertyPropagatorPrivate::detachFrom(), QQuickTumblerPrivate::disconnectFromView(), QQuickRowPrivate::effectiveLayoutDirectionChange(), QQuickGridPrivate::effectiveLayoutDirectionChange(), QQuickLayout::itemChange(), QQuickContents::itemChildRemoved(), QQuickContents::itemDestroyed(), QQuickListViewPrivate::releaseItem(), QQuickPathViewPrivate::releaseItem(), QQuickListViewPrivate::releaseSectionItem(), QQuickPopupPositioner::removeAncestorListeners(), QQuick3DItem2D::removeChildItem(), QQuickControlPrivate::removeImplicitSizeListener(), QQuickContainerPrivate::removeItem(), QQuickMenuPrivate::removeItem(), QQuickControlPrivate::setContentItem_helper(), QQuickScrollBarAttachedPrivate::setFlickable(), QQuickPage::setFooter(), QQuickPage::setHeader(), QQuickScrollBarAttached::setHorizontal(), QQuickScrollIndicatorAttached::setHorizontal(), QQuickPopupPositioner::setParentItem(), QQuick3DTexture::setSourceItem(), QQuickScrollBarAttached::setVertical(), QQuickScrollIndicatorAttached::setVertical(), QQuickItemViewFxItem::trackGeometry(), QQuickItemGroup::unwatch(), QQuickIconLabelPrivate::unwatchChanges(), QQuickBasePositionerPrivate::unwatchChanges(), and QQuickActionPrivate::unwatchItem().

◆ removePointerHandler()

void QQuickItemPrivate::removePointerHandler ( QQuickPointerHandler h)
virtual

Definition at line 9207 of file qquickitem.cpp.

References QObject::destroyed(), QObject::disconnect(), extra, and Q_ASSERT.

Referenced by QQuickPointerHandler::setParentItem().

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

◆ resolveLayoutMirror()

void QQuickItemPrivate::resolveLayoutMirror ( )

Definition at line 1531 of file qquickitem.cpp.

References effectiveLayoutMirror, get(), inheritedLayoutMirror, inheritMirrorFromItem, inheritMirrorFromParent, isMirrorImplicit, QQuickItem::parentItem(), parentItem, and setImplicitLayoutMirror().

Referenced by QQuickLayoutMirroringAttached::resetEnabled(), QQuickLayoutMirroringAttached::setChildrenInherit(), and QQuickLayoutMirroringAttached::setEnabled().

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

◆ resources()

QQmlListProperty< QObject > QQuickItemPrivate::resources ( )

Definition at line 5042 of file qquickitem.cpp.

References resources_append(), resources_at(), resources_clear(), resources_count(), and resources_removeLast().

Referenced by data_at(), data_clear(), data_count(), data_removeLast(), and resources_removeLast().

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

◆ resources_append()

void QQuickItemPrivate::resources_append ( QQmlListProperty< QObject > *  prop,
QObject object 
)
static

Definition at line 3374 of file qquickitem.cpp.

References _q_resourceObjectDeleted(), extra, get(), QQmlListProperty< T >::object, qmlobject_connect, SIGNAL, and SLOT.

Referenced by data_append(), and resources().

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

◆ resources_at()

QObject * QQuickItemPrivate::resources_at ( QQmlListProperty< QObject > *  prop,
qsizetype  index 
)
static

Definition at line 3368 of file qquickitem.cpp.

References extra, get(), and QQmlListProperty< T >::object.

Referenced by data_at(), and resources().

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

◆ resources_clear()

void QQuickItemPrivate::resources_clear ( QQmlListProperty< QObject > *  prop)
static

Definition at line 3391 of file qquickitem.cpp.

References _q_resourceObjectDeleted(), extra, get(), QQmlListProperty< T >::object, qmlobject_disconnect, SIGNAL, and SLOT.

Referenced by data_clear(), and resources().

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

◆ resources_count()

qsizetype QQuickItemPrivate::resources_count ( QQmlListProperty< QObject > *  prop)
static

Definition at line 3385 of file qquickitem.cpp.

References extra, get(), and QQmlListProperty< T >::object.

Referenced by data_at(), data_count(), data_removeLast(), and resources().

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

◆ resources_removeLast()

void QQuickItemPrivate::resources_removeLast ( QQmlListProperty< QObject > *  prop)
static

Definition at line 3404 of file qquickitem.cpp.

References _q_resourceObjectDeleted(), extra, get(), QQmlListProperty< T >::object, qmlobject_disconnect, QQmlListProperty< T >::removeLast, resources(), SIGNAL, and SLOT.

Referenced by data_removeLast(), and resources().

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

◆ right()

QQuickAnchorLine QQuickItemPrivate::right ( ) const

Definition at line 4410 of file qquickitem.cpp.

References QQuickAnchors::RightAnchor.

◆ rootNode()

QSGRootNode * QQuickItemPrivate::rootNode ( ) const
inline

Definition at line 673 of file qquickitem_p.h.

Referenced by childContainerNode(), and QQuickWindowPrivate::updateDirtyNode().

+ Here is the caller graph for this function:

◆ rotation()

qreal QQuickItemPrivate::rotation ( ) const
inline

Definition at line 596 of file qquickitem_p.h.

Referenced by itemToParentTransform(), QQuickWindowPrivate::updateDirtyNode(), QQuickOverlayPrivate::updateGeometry(), and QQuickFlipablePrivate::updateSide().

+ Here is the caller graph for this function:

◆ scale()

qreal QQuickItemPrivate::scale ( ) const
inline

Definition at line 595 of file qquickitem_p.h.

Referenced by itemToParentTransform(), QQuickWindowPrivate::updateDirtyNode(), and QQuickFlipablePrivate::updateSide().

+ Here is the caller graph for this function:

◆ sceneGraphContext()

QSGContext * QQuickItemPrivate::sceneGraphContext ( ) const
inline

Definition at line 991 of file qquickitem_p.h.

References context, QObjectPrivate::get(), Q_ASSERT, and window.

Referenced by QQuickMultiPointTouchArea::updatePaintNode().

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

◆ sceneGraphRenderContext()

QSGRenderContext * QQuickItemPrivate::sceneGraphRenderContext ( ) const
inline

Definition at line 997 of file qquickitem_p.h.

References context, QObjectPrivate::get(), Q_ASSERT, and window.

Referenced by QQuickTextNode::addGlyphs(), QQuickTextNode::addImage(), QQuickTextNode::addRectangleNode(), QQuickTextNode::setCursor(), QQuickImageParticle::updatePaintNode(), and QQuick3DTexture::updateSpatialNode().

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

◆ setAccessible()

void QQuickItemPrivate::setAccessible ( )

Definition at line 1659 of file qquickitem.cpp.

References isAccessible.

◆ setCulled()

void QQuickItemPrivate::setCulled ( bool  cull)

Definition at line 6730 of file qquickitem.cpp.

References culled, dirty(), extra, and HideReference.

Referenced by QQuickGridViewPrivate::addVisibleItems(), QQuickListViewPrivate::addVisibleItems(), QQuickGridViewPrivate::applyInsertionChange(), QQuickComboBoxPrivate::createdItem(), QQuickItemView::initItem(), QQuickMenuPrivate::insertItem(), QQuickTabBar::itemAdded(), QQuickListViewPrivate::itemGeometryChanged(), QQuickTableViewPrivate::itemReusedCallback(), QQuickItemViewPrivate::releaseItem(), QQuickItemViewFxItem::setVisible(), QQuickPathViewPrivate::updateItem(), QQuickListView::viewportMoved(), and QQuickGridView::viewportMoved().

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

◆ setEffectiveEnableRecur()

void QQuickItemPrivate::setEffectiveEnableRecur ( QQuickItem scope,
bool  newEffectiveEnable 
)

Definition at line 6544 of file qquickitem.cpp.

References activeFocus, QList< T >::at(), childItems, QQuickDeliveryAgentPrivate::clearFocusInScope(), deliveryAgentPrivate(), QQuickDeliveryAgentPrivate::DontChangeFocusProperty, QQuickDeliveryAgentPrivate::DontChangeSubFocusItem, effectiveEnable, emit, explicitEnable, focus, get(), isAccessible, itemChange(), QQuickItem::ItemEnabledHasChanged, QQuickItem::ItemIsFocusScope, Qt::OtherFocusReason, QQuickDeliveryAgentPrivate::removeGrabber(), setEffectiveEnableRecur(), QQuickDeliveryAgentPrivate::setFocusInScope(), and QList< T >::size().

Referenced by setEffectiveEnableRecur().

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

◆ setEffectiveVisibleRecur()

bool QQuickItemPrivate::setEffectiveVisibleRecur ( bool  newEffectiveVisible)

Definition at line 6494 of file qquickitem.cpp.

References QList< T >::at(), childItems, ChildrenStackingChanged, deliveryAgentPrivate(), dirty(), effectiveVisible, emit, explicitVisible, get(), inDestructor, isAccessible, itemChange(), QQuickItem::ItemVisibleHasChanged, parentItem, setEffectiveVisibleRecur(), QList< T >::size(), Visible, and window.

Referenced by setEffectiveVisibleRecur(), and setVisible().

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

◆ setHasCursorInChild()

void QQuickItemPrivate::setHasCursorInChild ( bool  hasCursor)

Definition at line 7993 of file qquickitem.cpp.

References childItems, get(), hasCursor, QObjectData::parent, Q_UNUSED, setHasCursorInChild(), and subtreeCursorEnabled.

Referenced by addChild(), QQuickPointerHandler::componentComplete(), removeChild(), and setHasCursorInChild().

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

◆ setHasHoverInChild()

void QQuickItemPrivate::setHasHoverInChild ( bool  hasHover)

Definition at line 8021 of file qquickitem.cpp.

References childItems, get(), hasEnabledHoverHandlers(), hoverEnabled, QObjectData::parent, qCDebug, setHasHoverInChild(), and subtreeHoverEnabled.

Referenced by addChild(), removeChild(), setHasHoverInChild(), and QQuickHoverHandlerPrivate::updateHasHoverInChild().

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

◆ setHeight()

void QQuickItemPrivate::setHeight ( qreal  height)
inline

Definition at line 581 of file qquickitem_p.h.

◆ setImplicitAntialiasing()

void QQuickItemPrivate::setImplicitAntialiasing ( bool  antialiasing)

Definition at line 6939 of file qquickitem.cpp.

References antialiasing, componentComplete, emit, and implicitAntialiasing.

Referenced by QQuickRectanglePrivate::maybeSetImplicitAntialiasing().

+ Here is the caller graph for this function:

◆ setImplicitLayoutMirror()

void QQuickItemPrivate::setImplicitLayoutMirror ( bool  mirror,
bool  inherit 
)

Definition at line 1542 of file qquickitem.cpp.

References QList< T >::at(), child, childItems, effectiveLayoutMirror, get(), i, inheritedLayoutMirror, inheritMirrorFromItem, inheritMirrorFromParent, isMirrorImplicit, qmlobject_cast< QQuickItem * >(), setImplicitLayoutMirror(), setLayoutMirror(), and QList< T >::size().

Referenced by init(), resolveLayoutMirror(), and setImplicitLayoutMirror().

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

◆ setLayoutMirror()

void QQuickItemPrivate::setLayoutMirror ( bool  mirror)

Definition at line 1563 of file qquickitem.cpp.

References _anchors, QQuickAnchorsPrivate::centerInChanged(), effectiveLayoutMirror, emit, extra, QQuickAnchorsPrivate::fillChanged(), QQuickAnchorsPrivate::get(), mirrorChange(), and QQuickAnchorsPrivate::updateHorizontalAnchors().

Referenced by QQuickLayoutMirroringAttached::setEnabled(), and setImplicitLayoutMirror().

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

◆ setState()

void QQuickItemPrivate::setState ( const QString state)

Definition at line 5196 of file qquickitem.cpp.

References _states(), QQuickStateGroup::setState(), and state().

+ Here is the call graph for this function:

◆ setTransparentForPositioner()

void QQuickItemPrivate::setTransparentForPositioner ( bool  trans)

Definition at line 6599 of file qquickitem.cpp.

References extra.

Referenced by QQuickRepeaterPrivate::QQuickRepeaterPrivate(), and QQuickUniversalFocusRectangle::QQuickUniversalFocusRectangle().

+ Here is the caller graph for this function:

◆ setVisible()

void QQuickItemPrivate::setVisible ( bool  visible)
virtual

Reimplemented in QDeclarativeGeoMapCopyrightNoticePrivate.

Definition at line 6406 of file qquickitem.cpp.

References calcEffectiveVisible(), dirty(), emit, explicitVisible, parentItem, setEffectiveVisibleRecur(), Visible, and QQuickItem::visibleChildrenChanged().

Referenced by QDeclarativeGeoMapCopyrightNoticePrivate::setVisible().

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

◆ setWidth()

void QQuickItemPrivate::setWidth ( qreal  width)
inline

Definition at line 578 of file qquickitem_p.h.

◆ setX()

void QQuickItemPrivate::setX ( qreal  x)
inline

Definition at line 572 of file qquickitem_p.h.

◆ setY()

void QQuickItemPrivate::setY ( qreal  y)
inline

Definition at line 575 of file qquickitem_p.h.

◆ siblingOrderChanged()

void QQuickItemPrivate::siblingOrderChanged ( )

Definition at line 3682 of file qquickitem.cpp.

References QQuickItemChangeListener::itemSiblingOrderChanged(), notifyChangeListeners(), and SiblingOrder.

+ Here is the call graph for this function:

◆ state()

QString QQuickItemPrivate::state ( ) const

Definition at line 5188 of file qquickitem.cpp.

References _stateGroup, and QQuickStateGroup::state.

Referenced by setState().

+ Here is the caller graph for this function:

◆ states()

QQmlListProperty< QQuickState > QQuickItemPrivate::states ( )

Definition at line 5146 of file qquickitem.cpp.

References _states(), and QQuickStateGroup::statesProperty().

+ Here is the call graph for this function:

◆ top()

QQuickAnchorLine QQuickItemPrivate::top ( ) const

Definition at line 4422 of file qquickitem.cpp.

References QQuickAnchors::TopAnchor.

Referenced by QQuickStackViewPrivate::replaceElements(), and QQuickTextInputPrivate::updateVerticalScroll().

+ Here is the caller graph for this function:

◆ transform_append()

void QQuickItemPrivate::transform_append ( QQmlListProperty< QQuickTransform > *  list,
QQuickTransform transform 
)
static

Definition at line 3535 of file qquickitem.cpp.

References QQmlListProperty< T >::object.

◆ transform_at()

QQuickTransform * QQuickItemPrivate::transform_at ( QQmlListProperty< QQuickTransform > *  list,
qsizetype  idx 
)
static

Definition at line 3544 of file qquickitem.cpp.

References get(), and QQmlListProperty< T >::object.

+ Here is the call graph for this function:

◆ transform_clear()

void QQuickItemPrivate::transform_clear ( QQmlListProperty< QQuickTransform > *  list)
static

Definition at line 3555 of file qquickitem.cpp.

References get(), QQuickTransformPrivate::get(), QQuickTransformPrivate::items, QQmlListProperty< T >::object, QList< T >::removeOne(), and Transform.

+ Here is the call graph for this function:

◆ transform_count()

qsizetype QQuickItemPrivate::transform_count ( QQmlListProperty< QQuickTransform > *  list)
static

Definition at line 3489 of file qquickitem.cpp.

References get(), and QQmlListProperty< T >::object.

+ Here is the call graph for this function:

◆ transformChanged()

bool QQuickItemPrivate::transformChanged ( QQuickItem transformedItem)
virtual

QQuickItemPrivate::dirty() calls transformChanged(q) to inform this item and all its children that its transform has changed, with transformedItem always being the parent item that caused the change. Override to react, e.g. to call update() if the item needs to re-generate SG nodes based on visible extents. If you override in a subclass, you must also call this (superclass) function and return the value from it.

This function recursively visits all children as long as subtreeTransformChangedEnabled is true, returns true if any of those children still has the ItemObservesViewport flag set, but otherwise turns subtreeTransformChangedEnabled off, if no children are observing.

Reimplemented in QQuickFlipablePrivate, QQuickTextPrivate, and QQuickTextEditPrivate.

Definition at line 5370 of file qquickitem.cpp.

References child, Clip, componentComplete, dirty(), extra, get(), QQuickItem::ItemObservesViewport, paintOrderChildItems(), qCDebug, ret, subtreeTransformChangedEnabled, and transformChanged().

Referenced by dirty(), transformChanged(), QQuickFlipablePrivate::transformChanged(), QQuickTextPrivate::transformChanged(), and QQuickTextEditPrivate::transformChanged().

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

◆ transitions()

QQmlListProperty< QQuickTransition > QQuickItemPrivate::transitions ( )

Definition at line 5183 of file qquickitem.cpp.

References _states(), and QQuickStateGroup::transitionsProperty().

+ Here is the call graph for this function:

◆ updateOrAddGeometryChangeListener()

void QQuickItemPrivate::updateOrAddGeometryChangeListener ( QQuickItemChangeListener listener,
QQuickGeometryChange  types 
)

Definition at line 3994 of file qquickitem.cpp.

References changeListeners, QQuickItemPrivate::ChangeListener::gTypes, and PRINT_LISTENERS.

Referenced by QQuickScrollIndicatorAttached::QQuickScrollIndicatorAttached(), QQuickTextAreaPrivate::attachFlickable(), QQuickMenu::contentItemChange(), QQuickMenuPrivate::insertItem(), and QQuickScrollBarAttachedPrivate::setFlickable().

+ Here is the caller graph for this function:

◆ updateOrAddItemChangeListener()

void QQuickItemPrivate::updateOrAddItemChangeListener ( QQuickItemChangeListener listener,
ChangeTypes  types 
)

Definition at line 3972 of file qquickitem.cpp.

References changeListeners, PRINT_LISTENERS, and QQuickItemPrivate::ChangeListener::types.

Referenced by QQuickPopupPositioner::addAncestorListeners(), and QQuickScrollBarAttachedPrivate::setFlickable().

+ Here is the caller graph for this function:

◆ updateOrRemoveGeometryChangeListener()

void QQuickItemPrivate::updateOrRemoveGeometryChangeListener ( QQuickItemChangeListener listener,
QQuickGeometryChange  types 
)

Definition at line 4008 of file qquickitem.cpp.

References changeListeners, QQuickItemPrivate::ChangeListener::gTypes, and PRINT_LISTENERS.

Referenced by QQuickTextAreaPrivate::detachFlickable().

+ Here is the caller graph for this function:

◆ updatePolish()

virtual void QQuickItemPrivate::updatePolish ( )
inlinevirtual

Reimplemented in QQuickShaderEffectPrivate, QQuickTableViewPrivate, and QQuickSplitViewPrivate.

Definition at line 697 of file qquickitem_p.h.

Referenced by QQuickWindowPrivate::polishItems().

+ Here is the caller graph for this function:

◆ updateSubFocusItem()

void QQuickItemPrivate::updateSubFocusItem ( QQuickItem scope,
bool  focus 
)

Clears all sub focus items from scope.

If focus is true, sets the scope's subFocusItem to be this item.

Definition at line 1669 of file qquickitem.cpp.

References focus, get(), QQuickItem::parentItem(), Q_ASSERT, and subFocusItem.

Referenced by QQuickDeliveryAgentPrivate::clearFocusInScope(), QQuickItem::setFocus(), QQuickDeliveryAgentPrivate::setFocusInScope(), and QQuickItem::setParentItem().

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

◆ verticalCenter()

QQuickAnchorLine QQuickItemPrivate::verticalCenter ( ) const

Definition at line 4434 of file qquickitem.cpp.

References QQuickAnchors::VCenterAnchor.

◆ visibleChildren()

QQmlListProperty< QQuickItem > QQuickItemPrivate::visibleChildren ( )

Definition at line 5097 of file qquickitem.cpp.

References visibleChildren_at(), and visibleChildren_count().

+ Here is the call graph for this function:

◆ visibleChildren_append()

static void QQuickItemPrivate::visibleChildren_append ( QQmlListProperty< QQuickItem > *  prop,
QQuickItem o 
)
static

◆ visibleChildren_at()

QQuickItem * QQuickItemPrivate::visibleChildren_at ( QQmlListProperty< QQuickItem > *  prop,
qsizetype  index 
)
static

Definition at line 3474 of file qquickitem.cpp.

References get(), i, and QQmlListProperty< T >::object.

Referenced by visibleChildren().

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

◆ visibleChildren_count()

qsizetype QQuickItemPrivate::visibleChildren_count ( QQmlListProperty< QQuickItem > *  prop)
static

Definition at line 3462 of file qquickitem.cpp.

References get(), and QQmlListProperty< T >::object.

Referenced by visibleChildren().

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

◆ widthChanged()

void QQuickItemPrivate::widthChanged ( )
inline

Definition at line 579 of file qquickitem_p.h.

Referenced by QQuickTextPrivate::setupTextLayout().

+ Here is the caller graph for this function:

◆ widthValid()

bool QQuickItemPrivate::widthValid ( ) const
inline

Definition at line 587 of file qquickitem_p.h.

Referenced by QQuickDesignerSupport::isValidHeight(), QQuickAnchorChanges::rewind(), QQuickAnchorChanges::saveOriginals(), and QQuickLoaderPrivate::setInitialState().

+ Here is the caller graph for this function:

◆ windowToGlobalTransform()

QTransform QQuickItemPrivate::windowToGlobalTransform ( ) const

Returns a transform that maps points from window space into global space.

Definition at line 3117 of file qquickitem.cpp.

References QTransform::fromTranslate(), pos, Q_UNLIKELY, QQuickRenderControl::renderWindowFor(), and window.

+ Here is the call graph for this function:

◆ windowToItemTransform()

QTransform QQuickItemPrivate::windowToItemTransform ( ) const

Returns a transform that maps points from window space into item space.

Definition at line 3063 of file qquickitem.cpp.

References QTransform::inverted(), and itemToWindowTransform().

Referenced by QQuickFlickablePrivate::firstPointLocalVelocity(), QQuickItem::itemTransform(), and QQuickItem::mapRectToItem().

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

◆ xChanged()

void QQuickItemPrivate::xChanged ( )
inline

Definition at line 573 of file qquickitem_p.h.

Referenced by QWaylandMouseTrackerPrivate::handleMousePos().

+ Here is the caller graph for this function:

◆ yChanged()

void QQuickItemPrivate::yChanged ( )
inline

Definition at line 576 of file qquickitem_p.h.

Referenced by QWaylandMouseTrackerPrivate::handleMousePos().

+ Here is the caller graph for this function:

◆ z()

qreal QQuickItemPrivate::z ( ) const
inline

Definition at line 594 of file qquickitem_p.h.

Referenced by QQuickPathViewPrivate::getItem(), paintOrderChildItems(), and qquickitem_before_paintNode().

+ Here is the caller graph for this function:

Member Data Documentation

◆ _anchors

◆ _stateGroup

QQuickStateGroup* QQuickItemPrivate::_stateGroup

Definition at line 440 of file qquickitem_p.h.

Referenced by _states(), and state().

◆ activeFocus

◆ activeFocusOnTab

quint32 QQuickItemPrivate::activeFocusOnTab

Definition at line 476 of file qquickitem_p.h.

◆ antialiasing

quint32 QQuickItemPrivate::antialiasing

Definition at line 453 of file qquickitem_p.h.

Referenced by setImplicitAntialiasing().

◆ antialiasingValid

quint32 QQuickItemPrivate::antialiasingValid

Definition at line 478 of file qquickitem_p.h.

◆ baselineOffset

qreal QQuickItemPrivate::baselineOffset

Definition at line 590 of file qquickitem_p.h.

Referenced by init(), and readBaselineOffset().

◆ changeListeners

◆ childItems

◆ componentComplete

◆ culled

◆ dirtyAttributes

◆ effectiveEnable

◆ effectiveLayoutMirror

◆ effectiveVisible

quint32 QQuickItemPrivate::effectiveVisible

◆ explicitEnable

quint32 QQuickItemPrivate::explicitEnable

Definition at line 462 of file qquickitem_p.h.

Referenced by calcEffectiveEnable(), and setEffectiveEnableRecur().

◆ explicitVisible

◆ extra

◆ filtersChildMouseEvents

quint32 QQuickItemPrivate::filtersChildMouseEvents

Definition at line 459 of file qquickitem_p.h.

Referenced by QQuickDeliveryAgentPrivate::sendFilteredMouseEvent().

◆ flags

◆ focus

◆ hasCursor

quint32 QQuickItemPrivate::hasCursor

Definition at line 473 of file qquickitem_p.h.

Referenced by setHasCursorInChild().

◆ hasCursorHandler

quint32 QQuickItemPrivate::hasCursorHandler

Definition at line 487 of file qquickitem_p.h.

Referenced by QQuickPointerHandler::componentComplete().

◆ heightValidFlag

quint32 QQuickItemPrivate::heightValidFlag

◆ hoverEnabled

quint32 QQuickItemPrivate::hoverEnabled

◆ implicitAntialiasing

quint32 QQuickItemPrivate::implicitAntialiasing

◆ implicitHeight

◆ implicitWidth

◆ inDestructor

quint32 QQuickItemPrivate::inDestructor

◆ inheritedLayoutMirror

quint32 QQuickItemPrivate::inheritedLayoutMirror

Definition at line 465 of file qquickitem_p.h.

Referenced by init(), resolveLayoutMirror(), and setImplicitLayoutMirror().

◆ inheritMirrorFromItem

◆ inheritMirrorFromParent

quint32 QQuickItemPrivate::inheritMirrorFromParent

Definition at line 468 of file qquickitem_p.h.

Referenced by init(), resolveLayoutMirror(), and setImplicitLayoutMirror().

◆ isAccessible

quint32 QQuickItemPrivate::isAccessible

◆ isMirrorImplicit

◆ isTabFence

quint32 QQuickItemPrivate::isTabFence

Definition at line 484 of file qquickitem_p.h.

Referenced by nextPrevItemInTabFocusChain().

◆ itemNodeInstance

QSGTransformNode* QQuickItemPrivate::itemNodeInstance

Definition at line 675 of file qquickitem_p.h.

Referenced by derefWindow(), itemNode(), and QQuickWindowPrivate::updateDirtyNode().

◆ keepMouse

quint32 QQuickItemPrivate::keepMouse

Definition at line 449 of file qquickitem_p.h.

◆ keepTouch

quint32 QQuickItemPrivate::keepTouch

Definition at line 450 of file qquickitem_p.h.

◆ maybeHasSubsceneDeliveryAgent

quint32 QQuickItemPrivate::maybeHasSubsceneDeliveryAgent

◆ nextDirtyItem

QQuickItem* QQuickItemPrivate::nextDirtyItem

Definition at line 532 of file qquickitem_p.h.

Referenced by addToDirtyList(), and removeFromDirtyList().

◆ notifiedActiveFocus

quint32 QQuickItemPrivate::notifiedActiveFocus

Definition at line 458 of file qquickitem_p.h.

Referenced by QQuickDeliveryAgentPrivate::notifyFocusChangesRecur().

◆ notifiedFocus

quint32 QQuickItemPrivate::notifiedFocus

Definition at line 457 of file qquickitem_p.h.

Referenced by QQuickDeliveryAgentPrivate::notifyFocusChangesRecur().

◆ paintNode

QSGNode* QQuickItemPrivate::paintNode

◆ parentItem

◆ polishScheduled

◆ prevDirtyItem

QQuickItem** QQuickItemPrivate::prevDirtyItem

◆ replayingPressEvent

quint32 QQuickItemPrivate::replayingPressEvent

◆ smooth

quint32 QQuickItemPrivate::smooth

Definition at line 452 of file qquickitem_p.h.

Referenced by QQuickShaderEffectSource::updatePaintNode().

◆ sortedChildItems

QList<QQuickItem *>* QQuickItemPrivate::sortedChildItems
mutable

◆ subFocusItem

◆ subtreeCursorEnabled

quint32 QQuickItemPrivate::subtreeCursorEnabled

Definition at line 474 of file qquickitem_p.h.

Referenced by addChild(), removeChild(), and setHasCursorInChild().

◆ subtreeHoverEnabled

◆ subtreeTransformChangedEnabled

quint32 QQuickItemPrivate::subtreeTransformChangedEnabled

Definition at line 492 of file qquickitem_p.h.

Referenced by itemChange(), and transformChanged().

◆ touchEnabled

quint32 QQuickItemPrivate::touchEnabled

Definition at line 486 of file qquickitem_p.h.

◆ transforms

QList<QQuickTransform *> QQuickItemPrivate::transforms

◆ widthValidFlag

quint32 QQuickItemPrivate::widthValidFlag

◆ window

◆ windowRefCount

int QQuickItemPrivate::windowRefCount

Definition at line 538 of file qquickitem_p.h.

Referenced by derefWindow(), QQuickWindowPrivate::init(), and refWindow().


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