Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 (QQmlV4ExecutionEnginePtr engine)
 
template<typename Fn , typename ... Args>
void notifyChangeListeners (QQuickItemPrivate::ChangeTypes changeTypes, Fn &&function, Args &&...args)
 
virtual void registerAsContainmentMask (QQuickItem *, bool)
 
QQuickAnchorsanchors () const
 \qmlpropertygroup QtQuick::Item::anchors \qmlproperty AnchorLine QtQuick::Item::anchors.top \qmlproperty AnchorLine QtQuick::Item::anchors.bottom \qmlproperty AnchorLine QtQuick::Item::anchors.left \qmlproperty AnchorLine QtQuick::Item::anchors.right \qmlproperty AnchorLine QtQuick::Item::anchors.horizontalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.verticalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.baseline
 
Qt::MouseButtons acceptedMouseButtons () const
 
void addItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types)
 
void updateOrAddItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types)
 
void removeItemChangeListener (QQuickItemChangeListener *, ChangeTypes types)
 
void updateOrAddGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types)
 
void updateOrRemoveGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types)
 
QQuickStateGroup_states ()
 
QQuickItem::TransformOrigin origin () const
 
QString dirtyToString () const
 
void dirty (DirtyType)
 
void addToDirtyList ()
 
void removeFromDirtyList ()
 
void setCulled (bool)
 
QSGContextsceneGraphContext () const
 
QSGRenderContextsceneGraphRenderContext () const
 
QList< QQuickItem * > paintOrderChildItems () const
 
void addChild (QQuickItem *)
 
void removeChild (QQuickItem *)
 
void siblingOrderChanged ()
 
void markSortedChildrenDirty (QQuickItem *child)
 
void refWindow (QQuickWindow *)
 
void derefWindow ()
 
void updateSubFocusItem (QQuickItem *scope, bool focus)
 Clears all sub focus items from scope.
 
bool setFocusIfNeeded (QEvent::Type)
 
Qt::FocusReason lastFocusChangeReason () const
 
void setLastFocusChangeReason (Qt::FocusReason reason)
 
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 *)
 
void deliverPointerEvent (QEvent *)
 
bool anyPointerHandlerWants (const QPointerEvent *event, const QEventPoint &point) const
 
virtual bool handlePointerEvent (QPointerEvent *, bool avoidGrabbers=false)
 
virtual void setVisible (bool visible)
 
bool isTransparentForPositioner () const
 
void setTransparentForPositioner (bool trans)
 
bool calcEffectiveVisible () const
 
bool setEffectiveVisibleRecur (bool)
 
bool calcEffectiveEnable () const
 
void setEffectiveEnableRecur (QQuickItem *scope, bool)
 
QSGTransformNodeitemNode ()
 
QSGNodechildContainerNode ()
 
QSGOpacityNodeopacityNode () const
 
QQuickDefaultClipNodeclipNode () const
 
QSGRootNoderootNode () const
 
virtual QSGTransformNodecreateTransformNode ()
 
void refFromEffectItem (bool hide)
 
void recursiveRefFromEffectItem (int refs)
 
void derefFromEffectItem (bool unhide)
 
void itemChange (QQuickItem::ItemChange, const QQuickItem::ItemChangeData &)
 
void enableSubtreeChangeNotificationsForParentHierachy ()
 
virtual void mirrorChange ()
 
void setHasCursorInChild (bool hasCursor)
 
void setHasHoverInChild (bool hasHover)
 
virtual void updatePolish ()
 
virtual void dumpItemTree (int indent) const
 
QLayoutPolicy sizePolicy () const
 
void setSizePolicy (const QLayoutPolicy::Policy &horizontalPolicy, const QLayoutPolicy::Policy &verticalPolicy)
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 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)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
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
 

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 qsizetype visibleChildren_count (QQmlListProperty< QQuickItem > *prop)
 
static QQuickItemvisibleChildren_at (QQmlListProperty< QQuickItem > *prop, qsizetype index)
 
static qsizetype transform_count (QQmlListProperty< QQuickTransform > *list)
 
static void transform_append (QQmlListProperty< QQuickTransform > *list, QQuickTransform *)
 
static QQuickTransformtransform_at (QQmlListProperty< QQuickTransform > *list, qsizetype)
 
static void transform_clear (QQmlListProperty< QQuickTransform > *list)
 
static bool focusNextPrev (QQuickItem *item, bool forward)
 QQuickItemPrivate::focusNextPrev focuses the next/prev item in the tab-focus-chain.
 
static QQuickItemnextTabChildItem (const QQuickItem *item, int start)
 
static QQuickItemprevTabChildItem (const QQuickItem *item, int start)
 
static QQuickItemnextPrevItemInTabFocusChain (QQuickItem *item, bool forward, bool wrap=true)
 
static bool canAcceptTabFocus (QQuickItem *item)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Public Attributes

QLazilyAllocated< ExtraData, ExtraDataTags > extra
 
QQuickAnchors_anchors
 
QVector< QQuickItemPrivate::ChangeListenerchangeListeners
 
QQuickStateGroup_stateGroup
 
quint32 flags:7
 
quint32 widthValidFlag:1
 
quint32 heightValidFlag:1
 
quint32 componentComplete:1
 
quint32 keepMouse:1
 
quint32 keepTouch:1
 
quint32 hoverEnabled:1
 
quint32 smooth:1
 
quint32 antialiasing:1
 
quint32 focus:1
 
quint32 activeFocus:1
 
quint32 notifiedFocus:1
 
quint32 notifiedActiveFocus:1
 
quint32 filtersChildMouseEvents:1
 
quint32 explicitVisible:1
 
quint32 effectiveVisible:1
 
quint32 explicitEnable:1
 
quint32 effectiveEnable:1
 
quint32 polishScheduled:1
 
quint32 inheritedLayoutMirror:1
 
quint32 effectiveLayoutMirror:1
 
quint32 isMirrorImplicit:1
 
quint32 inheritMirrorFromParent:1
 
quint32 inheritMirrorFromItem:1
 
quint32 isAccessible:1
 
quint32 culled:1
 
quint32 hasCursor:1
 
quint32 subtreeCursorEnabled:1
 
quint32 subtreeHoverEnabled:1
 
quint32 activeFocusOnTab:1
 
quint32 implicitAntialiasing:1
 
quint32 antialiasingValid:1
 
quint32 isTabFence:1
 
quint32 replayingPressEvent:1
 
quint32 touchEnabled:1
 
quint32 hasCursorHandler:1
 
quint32 maybeHasSubsceneDeliveryAgent:1
 
quint32 subtreeTransformChangedEnabled:1
 
quint32 inDestructor:1
 
quint32 focusReason:4
 
quint32 focusPolicy:4
 
quint32 dirtyAttributes
 
QQuickItemnextDirtyItem
 
QQuickItem ** prevDirtyItem
 
QQuickWindowwindow
 
int windowRefCount
 
QQuickItemparentItem
 
QList< QQuickItem * > childItems
 
QList< QQuickItem * > * sortedChildItems
 
QPointer< QQuickItemsubFocusItem
 
qreal implicitWidth
 
qreal implicitHeight
 
qreal baselineOffset
 
QList< QQuickTransform * > transforms
 
QSGTransformNodeitemNodeInstance
 
QSGNodepaintNode
 
QLayoutPolicy szPolicy
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

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

Detailed Description

Definition at line 223 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 300 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 501 of file qquickitem_p.h.

◆ ExtraDataTag

Enumerator
NoTag 
LeftMouseButtonAccepted 

Definition at line 418 of file qquickitem_p.h.

Constructor & Destructor Documentation

◆ QQuickItemPrivate()

QQuickItemPrivate::QQuickItemPrivate ( )

Definition at line 3247 of file qquickitem.cpp.

◆ ~QQuickItemPrivate()

QQuickItemPrivate::~QQuickItemPrivate ( )
override

Definition at line 3312 of file qquickitem.cpp.

References childItems, and sortedChildItems.

Member Function Documentation

◆ _q_createJSWrapper()

quint64 QQuickItemPrivate::_q_createJSWrapper ( QQmlV4ExecutionEnginePtr engine)

Definition at line 10049 of file qquickitem.cpp.

References engine.

◆ _q_resourceObjectDeleted()

void QQuickItemPrivate::_q_resourceObjectDeleted ( QObject * object)

Definition at line 3656 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 5401 of file qquickitem.cpp.

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

Referenced by setState(), states(), 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 1003 of file qquickitem_p.h.

References Qt::LeftButton.

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

+ Here is the caller graph for this function:

◆ addChild()

void QQuickItemPrivate::addChild ( QQuickItem * child)

Definition at line 2993 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ addItemChangeListener()

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

Definition at line 4049 of file qquickitem.cpp.

References changeListeners, and PRINT_LISTENERS.

Referenced by QQuickRowPrivate::effectiveLayoutDirectionChange(), QQuickGridPrivate::effectiveLayoutDirectionChange(), QQuickPathViewPrivate::getItem(), QQuickItemViewFxItem::trackGeometry(), and QQuickIconLabelPrivate::watchChanges().

+ Here is the caller graph for this function:

◆ addPointerHandler()

void QQuickItemPrivate::addPointerHandler ( QQuickPointerHandler * h)
virtual

Reimplemented in QQuickFlickablePrivate.

Definition at line 9398 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ addToDirtyList()

void QQuickItemPrivate::addToDirtyList ( )

Definition at line 6772 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 5503 of file qquickitem.cpp.

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

+ Here is the call 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 3756 of file qquickitem.cpp.

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

Referenced by anchors(), QQuickTableViewPrivate::createFxTableItem(), and QQuickSwipeViewPrivate::resizeItem().

+ 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 5743 of file qquickitem.cpp.

References extra, and hasPointerHandlers().

+ Here is the call graph for this function:

◆ baseline()

QQuickAnchorLine QQuickItemPrivate::baseline ( ) const

Definition at line 4533 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 4521 of file qquickitem.cpp.

References QQuickAnchors::BottomAnchor.

◆ calcEffectiveEnable()

bool QQuickItemPrivate::calcEffectiveEnable ( ) const

Definition at line 6656 of file qquickitem.cpp.

References explicitEnable, get(), and parentItem.

+ Here is the call graph for this function:

◆ calcEffectiveVisible()

bool QQuickItemPrivate::calcEffectiveVisible ( ) const

Definition at line 6608 of file qquickitem.cpp.

References 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 2432 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 1051 of file qquickitem_p.h.

◆ children()

QQmlListProperty< QQuickItem > QQuickItemPrivate::children ( )

Definition at line 5157 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(), nextTabChildItem(), prevTabChildItem(), QQuickMouseAreaPrivate::propagateHelper(), QQuickOverlayPrivate::stackingOrderPopups(), transformChanged(), 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 3513 of file qquickitem.cpp.

References o.

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 3504 of file qquickitem.cpp.

References get().

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 3531 of file qquickitem.cpp.

References get().

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 3525 of file qquickitem.cpp.

References get().

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 3539 of file qquickitem.cpp.

References get().

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 684 of file qquickitem_p.h.

◆ computeTransformOrigin()

QPointF QQuickItemPrivate::computeTransformOrigin ( ) const

Definition at line 5415 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 4019 of file qquickitem.cpp.

◆ data()

QQmlListProperty< QObject > QQuickItemPrivate::data ( )

Definition at line 3773 of file qquickitem.cpp.

References data_append(), data_at(), data_clear(), data_count(), data_removeLast(), and QQmlListProperty< T >::object.

Referenced by QQuickShapePrivate::asyncShapeReady(), 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 3344 of file qquickitem.cpp.

References get(), item, o, qCDebug, resources_append(), and QGraphicsItem::setParentItem().

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 3410 of file qquickitem.cpp.

References children_at(), children_count(), get(), i, item, j, 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 3426 of file qquickitem.cpp.

References children_clear(), get(), item, 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 3400 of file qquickitem.cpp.

References children_count(), get(), item, 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 3437 of file qquickitem.cpp.

References children_count(), children_removeLast(), get(), item, 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 5670 of file qquickitem.cpp.

References QEvent::accept(), Qt::AltModifier, Qt::ControlModifier, filterKeyEvent(), focusNextPrev(), QEvent::isAccepted(), QKeyEvent::key(), Qt::Key_Backtab, Qt::Key_Tab, QEvent::KeyPress, QKeyEvent::modifiers(), Q_ASSERT, QEvent::setAccepted(), Qt::ShiftModifier, and QEvent::type().

+ Here is the call graph for this function:

◆ deliverPointerEvent()

void QQuickItemPrivate::deliverPointerEvent ( QEvent * event)

Definition at line 5635 of file qquickitem.cpp.

References QEvent::MouseButtonDblClick, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, setFocusIfNeeded(), QEvent::TouchBegin, QEvent::TouchCancel, QEvent::TouchEnd, QEvent::TouchUpdate, and QEvent::Wheel.

+ Here is the call graph for this function:

◆ deliverShortcutOverrideEvent()

void QQuickItemPrivate::deliverShortcutOverrideEvent ( QKeyEvent * event)

Definition at line 5735 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 5559 of file qquickitem.cpp.

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

Referenced by 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 5588 of file qquickitem.cpp.

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

Referenced by QQuickTableViewPrivate::releaseItem(), QQuickFlickablePrivate::replayDelayedPress(), setEffectiveEnableRecur(), and setEffectiveVisibleRecur().

+ 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 6833 of file qquickitem.cpp.

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

Referenced by QQuickShaderEffectSource::~QQuickShaderEffectSource().

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

◆ derefWindow()

void QQuickItemPrivate::derefWindow ( )

Definition at line 3098 of file qquickitem.cpp.

References QList< T >::at(), child, childItems, 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().

+ 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 6758 of file qquickitem.cpp.

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

Referenced by addChild(), derefFromEffectItem(), derefWindow(), refFromEffectItem(), refWindow(), removeChild(), setCulled(), setEffectiveVisibleRecur(), setVisible(), QQuickShapePrivate::sync(), transformChanged(), and QQuickTextPrivate::transformChanged().

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

◆ dirtyToString()

◆ dumpItemTree()

void QQuickItemPrivate::dumpItemTree ( int indent) const
virtual

Definition at line 5105 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 632 of file qquickitem_p.h.

References Q_EMIT, and rect.

◆ enableSubtreeChangeNotificationsForParentHierachy()

void QQuickItemPrivate::enableSubtreeChangeNotificationsForParentHierachy ( )

Definition at line 7111 of file qquickitem.cpp.

References get(), QQuickItem::parentItem(), and qCDebug.

Referenced by itemChange().

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

◆ 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 5602 of file qquickitem.cpp.

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

◆ filterKeyEvent()

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

Definition at line 5619 of file qquickitem.cpp.

References QEvent::accept(), extra, QEvent::isAccepted(), QEvent::KeyPress, post(), and QEvent::type().

Referenced by deliverKeyEvent().

+ Here is the call graph for this function:
+ 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 2471 of file qquickitem.cpp.

References Qt::BacktabFocusReason, item, QWindowPrivate::Next, next, nextPrevItemInTabFocusChain(), QObject::parent(), QWindowPrivate::Prev, Q_ASSERT, qt_window_private(), Qt::TabFocusReason, QGraphicsItem::window(), window, and wrap().

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 231 of file qquickitem_p.h.

References item.

◆ get() [2/2]

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

Definition at line 230 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(), QQuickWindowContainer::QQuickWindowContainer(), 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(), QQuickLoaderPrivate::_q_updateSize(), QQuickPopupPositioner::addAncestorListeners(), addChild(), QQuick3DItem2D::addChildItem(), QQuickAnchorsPrivate::addDepend(), QQuickDesignerSupport::addDirty(), QQuickControlPrivate::addImplicitSizeListener(), QQuickFlickablePrivate::addPointerHandler(), 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(), 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(), QQuickLayout::effectiveSizePolicy_helper(), enableSubtreeChangeNotificationsForParentHierachy(), QQuickAnchorChanges::execute(), fetchNextNode(), QQuickVisualTestUtils::findItems(), QQuickVisualTestUtils::findVisibleChild(), firstItemWithDirtyChildrenStacking(), forceUpdate(), QQuickItemGenerator::generateImageNode(), QQuickItemGenerator::generateTextNode(), 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(), QQuickVisualTestUtils::isDelegateVisible(), QQuickDesignerSupport::isDirty(), QDeclarativeGeoMapItemBase::isPolishScheduled(), QQuickDesignerSupport::isValidHeight(), QQuickDesignerSupport::isValidWidth(), QQuickSplitView::itemAdded(), QQuickTabBar::itemAdded(), QQuickPageIndicatorPrivate::itemAt(), QmlJSDebugger::itemAt(), QQuickContainer::itemChange(), QQuickShaderEffectSource::itemChange(), QQuickLayout::itemChange(), QQuick3DTexture::itemChange(), itemChange(), QQuickContents::itemChildAdded(), QQuickPageIndicatorPrivate::itemChildAdded(), QQuickContainerPrivate::itemChildAdded(), QQuickMenuPrivate::itemChildAdded(), QQuickContents::itemChildRemoved(), QQuickContents::itemDestroyed(), QQuickLayoutAttached::itemForSizePolicy(), QQuickApplicationWindowPrivate::itemGeometryChanged(), 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(), QQuickPopupPrivate::prepareExitTransition(), 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(), 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(), QQuickSwipeViewPrivate::resizeItem(), QQuickMenuPrivate::resizeItem(), QQuickMonthGridPrivate::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(), setActiveFocus(), QQuickControl::setBackground(), QQuickLabel::setBackground(), QQuickTextArea::setBackground(), QQuickTextField::setBackground(), QQuickPopupAnchors::setCenterIn(), QQuickItem::setContainmentMask(), QQuickControlPrivate::setContentItem_helper(), QQuickMenuPrivate::setCurrentIndex(), setEffectiveEnableRecur(), setEffectiveVisibleRecur(), QQuickScrollBarAttachedPrivate::setFlickable(), QQuickItem::setFocus(), QQuickDeliveryAgentPrivate::setFocusInScope(), QQuickWindowPrivate::setFocusToTarget(), 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(), QQuickWindowContainerPrivate::transformChanged(), QQuickItemGroup::unwatch(), QQuickIconLabelPrivate::unwatchChanges(), QQuickBasePositionerPrivate::unwatchChanges(), QQuickActionPrivate::unwatchItem(), QQuickTransform::update(), QQuickMultiEffectPrivate::updateBlurItemsAmount(), QQuickWindowPrivate::updateChildrenPalettes(), QQuickWindowPrivate::updateChildWindowStackingOrder(), 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, QQuickShapePrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.

Definition at line 7557 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, QQuickShapePrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.

Definition at line 7346 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 3221 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 5764 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 9388 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 9383 of file qquickitem.cpp.

References extra.

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

+ Here is the caller graph for this function:

◆ heightChanged()

void QQuickItemPrivate::heightChanged ( )
inline

Definition at line 592 of file qquickitem_p.h.

◆ heightValid()

bool QQuickItemPrivate::heightValid ( ) const
inline

Definition at line 598 of file qquickitem_p.h.

Referenced by QQuickLoaderPrivate::setInitialState().

+ Here is the caller graph for this function:

◆ horizontalCenter()

QQuickAnchorLine QQuickItemPrivate::horizontalCenter ( ) const

Definition at line 4509 of file qquickitem.cpp.

References QQuickAnchors::HCenterAnchor.

◆ implicitHeightChanged()

void QQuickItemPrivate::implicitHeightChanged ( )
virtual

Reimplemented in QQuickPopupItemPrivate, QQuickTextAreaPrivate, and QQuickTextFieldPrivate.

Definition at line 7550 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 7339 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 3318 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ isMirrored()

bool QQuickItemPrivate::isMirrored ( ) const
inline

Definition at line 628 of file qquickitem_p.h.

◆ isTransparentForPositioner()

bool QQuickItemPrivate::isTransparentForPositioner ( ) const

Definition at line 6714 of file qquickitem.cpp.

References extra.

Referenced by QQuickContainerPrivate::contentData_append(), QQuickPageIndicatorPrivate::itemAt(), QQuickPageIndicatorPrivate::itemChildAdded(), QQuickContainerPrivate::itemChildAdded(), and QQuickContainerPrivate::reorderItems().

+ 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 1038 of file qquickitem_p.h.

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

+ Here is the call 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 3174 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().

+ 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 3162 of file qquickitem.cpp.

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

Referenced by windowToItemTransform().

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

◆ lastFocusChangeReason()

Qt::FocusReason QQuickItemPrivate::lastFocusChangeReason ( ) const

Definition at line 1742 of file qquickitem.cpp.

References focusReason.

◆ left()

QQuickAnchorLine QQuickItemPrivate::left ( ) const

Definition at line 4497 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:84
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 9291 of file qquickitem.cpp.

References QMutableEventPoint::detach(), 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().

+ 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 1021 of file qquickitem_p.h.

References child.

Referenced by addChild(), and removeChild().

+ 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 702 of file qquickitem_p.h.

Referenced by setLayoutMirror().

+ Here is the caller graph for this function:

◆ nextPrevItemInTabFocusChain()

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

Definition at line 2547 of file qquickitem.cpp.

References QQuickItem::activeFocusOnTab(), canAcceptTabFocus(), QGraphicsItem::childItems(), QQuickItem::childItems(), QList< T >::constFirst(), 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, QGraphicsItem::window(), and wrap().

Referenced by focusNextPrev(), and QQuickWindowPrivate::setFocusToTarget().

+ 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 2503 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 348 of file qquickitem_p.h.

References args, changeTypes, function, and listeners.

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 607 of file qquickitem_p.h.

◆ opacityNode()

QSGOpacityNode * QQuickItemPrivate::opacityNode ( ) const
inline

Definition at line 683 of file qquickitem_p.h.

◆ origin()

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

Definition at line 1032 of file qquickitem_p.h.

References QQuickItem::Center.

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

+ Here is the caller graph for this function:

◆ paintOrderChildItems()

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

Definition at line 2968 of file qquickitem.cpp.

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

Referenced by QQuickDeliveryAgentPrivate::deliverHoverEventRecursive(), QQuickMouseAreaPrivate::propagateHelper(), QQuickOverlayPrivate::stackingOrderPopups(), and transformChanged().

+ 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 2524 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 6817 of file qquickitem.cpp.

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

Referenced by derefFromEffectItem(), and refFromEffectItem().

+ 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 6802 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ refWindow()

void QQuickItemPrivate::refWindow ( QQuickWindow * c)

Definition at line 3057 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ registerAsContainmentMask()

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

Definition at line 426 of file qquickitem_p.h.

◆ removeChild()

void QQuickItemPrivate::removeChild ( QQuickItem * child)

Definition at line 3022 of file qquickitem.cpp.

References child, childItems, ChildrenChanged, QListSpecialMethodsBase< T >::contains(), dirty(), emit, extra, get(), inDestructor, itemChange(), QQuickItem::ItemChildRemovedChange, markSortedChildrenDirty(), Q_ASSERT, 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 6790 of file qquickitem.cpp.

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

Referenced by derefWindow().

+ 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 4070 of file qquickitem.cpp.

References changeListeners, and PRINT_LISTENERS.

Referenced by QQuickShaderEffectSource::~QQuickShaderEffectSource(), QQuickRowPrivate::effectiveLayoutDirectionChange(), QQuickGridPrivate::effectiveLayoutDirectionChange(), QQuickPathViewPrivate::releaseItem(), QQuickItemViewFxItem::trackGeometry(), and QQuickIconLabelPrivate::unwatchChanges().

+ Here is the caller graph for this function:

◆ removePointerHandler()

void QQuickItemPrivate::removePointerHandler ( QQuickPointerHandler * h)
virtual

Definition at line 9417 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ resolveLayoutMirror()

void QQuickItemPrivate::resolveLayoutMirror ( )

Definition at line 1541 of file qquickitem.cpp.

References effectiveLayoutMirror, get(), inheritMirrorFromItem, 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 5126 of file qquickitem.cpp.

References QQmlListProperty< T >::object, resources_append(), resources_at(), resources_clear(), resources_count(), and resources_removeLast().

Referenced by 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 3459 of file qquickitem.cpp.

References _q_resourceObjectDeleted(), get(), 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 3453 of file qquickitem.cpp.

References get().

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 3476 of file qquickitem.cpp.

References _q_resourceObjectDeleted(), get(), 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 3470 of file qquickitem.cpp.

References get().

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 3489 of file qquickitem.cpp.

References _q_resourceObjectDeleted(), get(), 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 4503 of file qquickitem.cpp.

References QQuickAnchors::RightAnchor.

◆ rootNode()

QSGRootNode * QQuickItemPrivate::rootNode ( ) const
inline

Definition at line 685 of file qquickitem_p.h.

◆ rotation()

qreal QQuickItemPrivate::rotation ( ) const
inline

Definition at line 606 of file qquickitem_p.h.

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

+ Here is the caller graph for this function:

◆ scale()

qreal QQuickItemPrivate::scale ( ) const
inline

Definition at line 605 of file qquickitem_p.h.

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

+ Here is the caller graph for this function:

◆ sceneGraphContext()

QSGContext * QQuickItemPrivate::sceneGraphContext ( ) const
inline

Definition at line 1009 of file qquickitem_p.h.

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

Referenced by QQuickTextEditPrivate::createTextNode().

+ 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 1015 of file qquickitem_p.h.

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

Referenced by QQuickTextEditPrivate::createTextNode().

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

◆ setAccessible()

void QQuickItemPrivate::setAccessible ( )

Definition at line 1669 of file qquickitem.cpp.

References isAccessible.

◆ setCulled()

void QQuickItemPrivate::setCulled ( bool cull)

Definition at line 6849 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ setEffectiveEnableRecur()

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

◆ setEffectiveVisibleRecur()

bool QQuickItemPrivate::setEffectiveVisibleRecur ( bool newEffectiveVisible)

Definition at line 6614 of file qquickitem.cpp.

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

Referenced by setVisible().

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

◆ setFocusIfNeeded()

bool QQuickItemPrivate::setFocusIfNeeded ( QEvent::Type eventType)

Definition at line 1709 of file qquickitem.cpp.

References Qt::ClickFocus, focusPolicy, QEvent::MouseButtonDblClick, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, Qt::MouseFocusReason, policy, setActiveFocus(), QGuiApplication::styleHints(), QEvent::TouchBegin, QEvent::TouchEnd, QEvent::Wheel, and Qt::WheelFocus.

Referenced by deliverPointerEvent().

+ 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 8190 of file qquickitem.cpp.

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

Referenced by addChild(), and removeChild().

+ 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 8218 of file qquickitem.cpp.

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

Referenced by addChild(), and removeChild().

+ 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 591 of file qquickitem_p.h.

◆ setImplicitAntialiasing()

void QQuickItemPrivate::setImplicitAntialiasing ( bool antialiasing)

Definition at line 7069 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 1552 of file qquickitem.cpp.

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

Referenced by init(), and resolveLayoutMirror().

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

◆ setLastFocusChangeReason()

void QQuickItemPrivate::setLastFocusChangeReason ( Qt::FocusReason reason)

Definition at line 1747 of file qquickitem.cpp.

References focusReason.

Referenced by QQuickControlPrivate::itemFocusChanged().

+ Here is the caller graph for this function:

◆ setLayoutMirror()

void QQuickItemPrivate::setLayoutMirror ( bool mirror)

Definition at line 1573 of file qquickitem.cpp.

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

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

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

◆ setSizePolicy()

void QQuickItemPrivate::setSizePolicy ( const QLayoutPolicy::Policy & horizontalPolicy,
const QLayoutPolicy::Policy & verticalPolicy )

Definition at line 3338 of file qquickitem.cpp.

References QLayoutPolicy::setHorizontalPolicy(), QLayoutPolicy::setVerticalPolicy(), and szPolicy.

Referenced by QQuickPathViewPrivate::QQuickPathViewPrivate(), QQuickFlickablePrivate::init(), QQuickTextEditPrivate::init(), QQuickTextInputPrivate::init(), QQuickAbstractButtonPrivate::init(), and QQuickContainerPrivate::init().

+ 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 5280 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 6719 of file qquickitem.cpp.

References extra.

Referenced by QQuickRepeaterPrivate::QQuickRepeaterPrivate().

+ Here is the caller graph for this function:

◆ setVisible()

void QQuickItemPrivate::setVisible ( bool visible)
virtual

Reimplemented in QDeclarativeGeoMapCopyrightNoticePrivate.

Definition at line 6526 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 588 of file qquickitem_p.h.

◆ setX()

void QQuickItemPrivate::setX ( qreal x)
inline

Definition at line 582 of file qquickitem_p.h.

◆ setY()

void QQuickItemPrivate::setY ( qreal y)
inline

Definition at line 585 of file qquickitem_p.h.

◆ siblingOrderChanged()

void QQuickItemPrivate::siblingOrderChanged ( )

Definition at line 3767 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ sizePolicy()

QLayoutPolicy QQuickItemPrivate::sizePolicy ( ) const

Definition at line 3333 of file qquickitem.cpp.

References szPolicy.

◆ state()

QString QQuickItemPrivate::state ( ) const

Definition at line 5272 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 5230 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 4515 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 3620 of file qquickitem.cpp.

◆ transform_at()

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

Definition at line 3629 of file qquickitem.cpp.

References get().

+ Here is the call graph for this function:

◆ transform_clear()

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

Definition at line 3640 of file qquickitem.cpp.

References get(), QQuickTransformPrivate::get(), QQuickTransformPrivate::items, 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 3574 of file qquickitem.cpp.

References get().

+ 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, QQuickTextEditPrivate, and QQuickWindowContainerPrivate.

Definition at line 5454 of file qquickitem.cpp.

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

Referenced by dirty(), QQuickFlipablePrivate::transformChanged(), QQuickTextPrivate::transformChanged(), QQuickTextEditPrivate::transformChanged(), and QQuickWindowContainerPrivate::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 5267 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 )

◆ updateOrAddItemChangeListener()

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

◆ updateOrRemoveGeometryChangeListener()

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

◆ updatePolish()

virtual void QQuickItemPrivate::updatePolish ( )
inlinevirtual

Reimplemented in QQuickShaderEffectPrivate, QQuickTableViewPrivate, and QQuickSplitViewPrivate.

Definition at line 711 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 1679 of file qquickitem.cpp.

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

+ Here is the call graph for this function:

◆ verticalCenter()

QQuickAnchorLine QQuickItemPrivate::verticalCenter ( ) const

Definition at line 4527 of file qquickitem.cpp.

References QQuickAnchors::VCenterAnchor.

◆ visibleChildren()

QQmlListProperty< QQuickItem > QQuickItemPrivate::visibleChildren ( )

Definition at line 5181 of file qquickitem.cpp.

References visibleChildren_at(), and visibleChildren_count().

+ Here is the call graph for this function:

◆ visibleChildren_at()

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

Definition at line 3559 of file qquickitem.cpp.

References get(), and i.

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 3547 of file qquickitem.cpp.

References get().

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 589 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 597 of file qquickitem_p.h.

Referenced by 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 3207 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 3153 of file qquickitem.cpp.

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

Referenced by QQuickFlickablePrivate::firstPointLocalVelocity().

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

◆ xChanged()

void QQuickItemPrivate::xChanged ( )
inline

Definition at line 583 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 586 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 604 of file qquickitem_p.h.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ _anchors

QQuickAnchors* QQuickItemPrivate::_anchors
mutable

Definition at line 429 of file qquickitem_p.h.

Referenced by anchors(), and setLayoutMirror().

◆ _stateGroup

QQuickStateGroup* QQuickItemPrivate::_stateGroup

Definition at line 442 of file qquickitem_p.h.

Referenced by _states(), and state().

◆ activeFocus

◆ activeFocusOnTab

quint32 QQuickItemPrivate::activeFocusOnTab

Definition at line 478 of file qquickitem_p.h.

◆ antialiasing

quint32 QQuickItemPrivate::antialiasing

Definition at line 455 of file qquickitem_p.h.

Referenced by setImplicitAntialiasing().

◆ antialiasingValid

quint32 QQuickItemPrivate::antialiasingValid

Definition at line 480 of file qquickitem_p.h.

◆ baselineOffset

qreal QQuickItemPrivate::baselineOffset

Definition at line 600 of file qquickitem_p.h.

Referenced by init().

◆ changeListeners

◆ childItems

◆ componentComplete

◆ culled

quint32 QQuickItemPrivate::culled

Definition at line 473 of file qquickitem_p.h.

Referenced by setCulled().

◆ dirtyAttributes

quint32 QQuickItemPrivate::dirtyAttributes

Definition at line 533 of file qquickitem_p.h.

Referenced by dirty(), and transformChanged().

◆ effectiveEnable

quint32 QQuickItemPrivate::effectiveEnable

◆ effectiveLayoutMirror

◆ effectiveVisible

quint32 QQuickItemPrivate::effectiveVisible

Definition at line 463 of file qquickitem_p.h.

Referenced by recursiveRefFromEffectItem(), and setEffectiveVisibleRecur().

◆ explicitEnable

quint32 QQuickItemPrivate::explicitEnable

Definition at line 464 of file qquickitem_p.h.

Referenced by calcEffectiveEnable(), and setEffectiveEnableRecur().

◆ explicitVisible

quint32 QQuickItemPrivate::explicitVisible

◆ extra

◆ filtersChildMouseEvents

quint32 QQuickItemPrivate::filtersChildMouseEvents

Definition at line 461 of file qquickitem_p.h.

◆ flags

◆ focus

◆ focusPolicy

quint32 QQuickItemPrivate::focusPolicy

Definition at line 498 of file qquickitem_p.h.

Referenced by QQuickRangeSliderPrivate::handlePress(), and setFocusIfNeeded().

◆ focusReason

quint32 QQuickItemPrivate::focusReason

Definition at line 497 of file qquickitem_p.h.

Referenced by lastFocusChangeReason(), and setLastFocusChangeReason().

◆ hasCursor

quint32 QQuickItemPrivate::hasCursor

Definition at line 475 of file qquickitem_p.h.

Referenced by setHasCursorInChild().

◆ hasCursorHandler

quint32 QQuickItemPrivate::hasCursorHandler

Definition at line 490 of file qquickitem_p.h.

◆ heightValidFlag

quint32 QQuickItemPrivate::heightValidFlag

Definition at line 449 of file qquickitem_p.h.

◆ hoverEnabled

quint32 QQuickItemPrivate::hoverEnabled

◆ implicitAntialiasing

quint32 QQuickItemPrivate::implicitAntialiasing

◆ implicitHeight

◆ implicitWidth

◆ inDestructor

quint32 QQuickItemPrivate::inDestructor

◆ inheritedLayoutMirror

quint32 QQuickItemPrivate::inheritedLayoutMirror

Definition at line 467 of file qquickitem_p.h.

Referenced by setImplicitLayoutMirror().

◆ inheritMirrorFromItem

◆ inheritMirrorFromParent

quint32 QQuickItemPrivate::inheritMirrorFromParent

Definition at line 470 of file qquickitem_p.h.

Referenced by setImplicitLayoutMirror().

◆ isAccessible

quint32 QQuickItemPrivate::isAccessible

◆ isMirrorImplicit

◆ isTabFence

quint32 QQuickItemPrivate::isTabFence

Definition at line 486 of file qquickitem_p.h.

Referenced by nextPrevItemInTabFocusChain().

◆ itemNodeInstance

QSGTransformNode* QQuickItemPrivate::itemNodeInstance

Definition at line 687 of file qquickitem_p.h.

Referenced by derefWindow().

◆ keepMouse

quint32 QQuickItemPrivate::keepMouse

Definition at line 451 of file qquickitem_p.h.

◆ keepTouch

quint32 QQuickItemPrivate::keepTouch

Definition at line 452 of file qquickitem_p.h.

◆ maybeHasSubsceneDeliveryAgent

quint32 QQuickItemPrivate::maybeHasSubsceneDeliveryAgent

Definition at line 492 of file qquickitem_p.h.

Referenced by deliveryAgent(), and ensureSubsceneDeliveryAgent().

◆ nextDirtyItem

QQuickItem* QQuickItemPrivate::nextDirtyItem

Definition at line 538 of file qquickitem_p.h.

Referenced by addToDirtyList(), and removeFromDirtyList().

◆ notifiedActiveFocus

quint32 QQuickItemPrivate::notifiedActiveFocus

Definition at line 460 of file qquickitem_p.h.

Referenced by QQuickDeliveryAgentPrivate::notifyFocusChangesRecur().

◆ notifiedFocus

quint32 QQuickItemPrivate::notifiedFocus

Definition at line 459 of file qquickitem_p.h.

Referenced by QQuickDeliveryAgentPrivate::notifyFocusChangesRecur().

◆ paintNode

QSGNode* QQuickItemPrivate::paintNode

Definition at line 688 of file qquickitem_p.h.

Referenced by derefWindow().

◆ parentItem

◆ polishScheduled

quint32 QQuickItemPrivate::polishScheduled

◆ prevDirtyItem

QQuickItem** QQuickItemPrivate::prevDirtyItem

Definition at line 539 of file qquickitem_p.h.

Referenced by addToDirtyList(), dirty(), and removeFromDirtyList().

◆ replayingPressEvent

quint32 QQuickItemPrivate::replayingPressEvent

Definition at line 487 of file qquickitem_p.h.

Referenced by QQuickFlickablePrivate::replayDelayedPress().

◆ smooth

quint32 QQuickItemPrivate::smooth

Definition at line 454 of file qquickitem_p.h.

◆ sortedChildItems

QList<QQuickItem *>* QQuickItemPrivate::sortedChildItems
mutable

Definition at line 551 of file qquickitem_p.h.

Referenced by ~QQuickItemPrivate(), and paintOrderChildItems().

◆ subFocusItem

QPointer<QQuickItem> QQuickItemPrivate::subFocusItem

Definition at line 562 of file qquickitem_p.h.

Referenced by QQuickItem::setParentItem().

◆ subtreeCursorEnabled

quint32 QQuickItemPrivate::subtreeCursorEnabled

Definition at line 476 of file qquickitem_p.h.

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

◆ subtreeHoverEnabled

quint32 QQuickItemPrivate::subtreeHoverEnabled

Definition at line 477 of file qquickitem_p.h.

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

◆ subtreeTransformChangedEnabled

quint32 QQuickItemPrivate::subtreeTransformChangedEnabled

Definition at line 495 of file qquickitem_p.h.

Referenced by itemChange(), and transformChanged().

◆ szPolicy

QLayoutPolicy QQuickItemPrivate::szPolicy

Definition at line 716 of file qquickitem_p.h.

Referenced by setSizePolicy(), and sizePolicy().

◆ touchEnabled

quint32 QQuickItemPrivate::touchEnabled

Definition at line 489 of file qquickitem_p.h.

◆ transforms

QList<QQuickTransform *> QQuickItemPrivate::transforms

Definition at line 602 of file qquickitem_p.h.

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

◆ widthValidFlag

quint32 QQuickItemPrivate::widthValidFlag

Definition at line 448 of file qquickitem_p.h.

◆ window

◆ windowRefCount

int QQuickItemPrivate::windowRefCount

Definition at line 544 of file qquickitem_p.h.

Referenced by derefWindow(), and refWindow().


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