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
QGraphicsItemPrivate Class Reference

#include <qgraphicsitem_p.h>

+ Inheritance diagram for QGraphicsItemPrivate:
+ Collaboration diagram for QGraphicsItemPrivate:

Classes

struct  ExtraStruct
 
struct  TransformData
 

Public Types

enum  Extra {
  ExtraToolTip , ExtraCursor , ExtraCacheData , ExtraMaxDeviceCoordCacheSize ,
  ExtraBoundingRegionGranularity
}
 
enum  AncestorFlag {
  NoFlag = 0 , AncestorHandlesChildEvents = 0x1 , AncestorClipsChildren = 0x2 , AncestorIgnoresTransformations = 0x4 ,
  AncestorFiltersChildEvents = 0x8 , AncestorContainsChildren = 0x10
}
 

Public Member Functions

 QGraphicsItemPrivate ()
 
virtual ~QGraphicsItemPrivate ()
 
void updateChildWithGraphicsEffectFlagRecursively ()
 Returns a pointer to this item's effect if it has one; otherwise \nullptr.
 
void updateAncestorFlag (QGraphicsItem::GraphicsItemFlag childFlag, AncestorFlag flag=NoFlag, bool enabled=false, bool root=true)
 
void updateAncestorFlags ()
 
void setIsMemberOfGroup (bool enabled)
 
void remapItemPos (QEvent *event, QGraphicsItem *item)
 
QTransform genericMapFromSceneTransform (const QWidget *viewport=nullptr) const
 
QPointF genericMapFromScene (const QPointF &pos, const QWidget *viewport) const
 
bool itemIsUntransformable () const
 
void combineTransformToParent (QTransform *x, const QTransform *viewTransform=nullptr) const
 
void combineTransformFromParent (QTransform *x, const QTransform *viewTransform=nullptr) const
 
virtual void updateSceneTransformFromParent ()
 
virtual void setPosHelper (const QPointF &pos)
 
void setTransformHelper (const QTransform &transform)
 
void prependGraphicsTransform (QGraphicsTransform *t)
 
void appendGraphicsTransform (QGraphicsTransform *t)
 
void setVisibleHelper (bool newVisible, bool explicitly, bool update=true, bool hiddenByPanel=false)
 
void setEnabledHelper (bool newEnabled, bool explicitly, bool update=true)
 
bool discardUpdateRequest (bool ignoreVisibleBit=false, bool ignoreDirtyBit=false, bool ignoreOpacity=false) const
 
virtual void transformChanged ()
 
int depth () const
 
void invalidateDepthRecursively ()
 
void resolveDepth ()
 
void addChild (QGraphicsItem *child)
 
void removeChild (QGraphicsItem *child)
 
void setParentItemHelper (QGraphicsItem *parent, const QVariant *newParentVariant, const QVariant *thisPointerVariant)
 
void childrenBoundingRectHelper (QTransform *x, QRectF *rect, QGraphicsItem *topMostEffectItem)
 
void initStyleOption (QStyleOptionGraphicsItem *option, const QTransform &worldTransform, const QRegion &exposedRegion, bool allItems=false) const
 
QRectF effectiveBoundingRect (QGraphicsItem *topMostEffectItem=nullptr) const
 
QRectF sceneEffectiveBoundingRect () const
 
QRectF effectiveBoundingRect (const QRectF &rect) const
 
virtual void resolveFont (uint inheritedMask)
 
virtual void resolvePalette (uint inheritedMask)
 
virtual bool isProxyWidget () const
 
QVariant extra (Extra type) const
 
void setExtra (Extra type, const QVariant &value)
 
void unsetExtra (Extra type)
 
QGraphicsItemCachemaybeExtraItemCache () const
 
QGraphicsItemCacheextraItemCache () const
 
void removeExtraItemCache ()
 
void updatePaintedViewBoundingRects (bool updateChildren)
 
void ensureSceneTransformRecursive (QGraphicsItem **topMostDirtyItem)
 
void ensureSceneTransform ()
 
bool hasTranslateOnlySceneTransform ()
 
void invalidateChildrenSceneTransform ()
 
qreal calcEffectiveOpacity () const
 
bool isOpacityNull () const
 
bool isFullyTransparent () const
 
qreal effectiveOpacity () const
 
qreal combineOpacityFromParent (qreal parentOpacity) const
 
bool childrenCombineOpacity () const
 
bool childrenClippedToShape () const
 
bool isInvisible () const
 
void markParentDirty (bool updateBoundingRect=false)
 
void setFocusHelper (Qt::FocusReason focusReason, bool climb, bool focusFromHide)
 
void clearFocusHelper (bool giveFocusToParent, bool hiddenByParentPanel)
 
void setSubFocus (QGraphicsItem *rootItem=nullptr, QGraphicsItem *stopItem=nullptr)
 
void clearSubFocus (QGraphicsItem *rootItem=nullptr, QGraphicsItem *stopItem=nullptr)
 
void resetFocusProxy ()
 
virtual void subFocusItemChange ()
 
virtual void focusScopeItemChange (bool isSubFocusItem)
 
QTransform transformToParent () const
 
void ensureSortedChildren ()
 
void ensureSequentialSiblingIndex ()
 
void sendScenePosChange ()
 
virtual void siblingOrderChange ()
 
virtual qreal width () const
 
virtual void setWidth (qreal)
 
virtual void resetWidth ()
 
virtual qreal height () const
 
virtual void setHeight (qreal)
 
virtual void resetHeight ()
 

Static Public Member Functions

static const QGraphicsItemPrivateget (const QGraphicsItem *item)
 
static QGraphicsItemPrivateget (QGraphicsItem *item)
 
static bool movableAncestorIsSelected (const QGraphicsItem *item)
 
static bool isOpacityNull (qreal opacity)
 
static bool insertionOrder (QGraphicsItem *a, QGraphicsItem *b)
 

Public Attributes

QList< ExtraStructextras
 
QRectF childrenBoundingRect
 
QRectF needsRepaint
 
QHash< QWidget *, QRectpaintedViewBoundingRects
 
QPointF pos
 
qreal z
 
qreal opacity
 
QGraphicsScenescene
 
QGraphicsItemparent
 
QList< QGraphicsItem * > children
 
TransformDatatransformData
 
QGraphicsEffectgraphicsEffect
 
QTransform sceneTransform
 
int index
 
int siblingIndex
 
int itemDepth
 
QGraphicsItemfocusProxy
 
QList< QGraphicsItem ** > focusProxyRefs
 
QGraphicsItemsubFocusItem
 
QGraphicsItemfocusScopeItem
 
Qt::InputMethodHints imHints
 
QGraphicsItem::PanelModality panelModality
 
QMap< Qt::GestureType, Qt::GestureFlags > gestureContext
 
quint32 acceptedMouseButtons: 5
 
quint32 visible: 1
 
quint32 explicitlyHidden: 1
 
quint32 enabled: 1
 
quint32 explicitlyDisabled: 1
 
quint32 selected: 1
 
quint32 acceptsHover: 1
 
quint32 acceptDrops: 1
 
quint32 isMemberOfGroup: 1
 
quint32 handlesChildEvents: 1
 
quint32 itemDiscovered: 1
 
quint32 hasCursor: 1
 
quint32 ancestorFlags: 5
 
quint32 cacheMode: 2
 
quint32 hasBoundingRegionGranularity: 1
 
quint32 isWidget: 1
 
quint32 dirty: 1
 
quint32 dirtyChildren: 1
 
quint32 localCollisionHack: 1
 
quint32 inSetPosHelper: 1
 
quint32 needSortChildren: 1
 
quint32 allChildrenDirty: 1
 
quint32 fullUpdatePending: 1
 
quint32 flags: 20
 
quint32 paintedViewBoundingRectsNeedRepaint: 1
 
quint32 dirtySceneTransform: 1
 
quint32 geometryChanged: 1
 
quint32 inDestructor: 1
 
quint32 isObject: 1
 
quint32 ignoreVisible: 1
 
quint32 ignoreOpacity: 1
 
quint32 acceptTouchEvents: 1
 
quint32 acceptedTouchBeginEvent: 1
 
quint32 filtersDescendantEvents: 1
 
quint32 sceneTransformTranslateOnly: 1
 
quint32 notifyBoundingRectChanged: 1
 
quint32 notifyInvalidated: 1
 
quint32 mouseSetsFocus: 1
 
quint32 explicitActivate: 1
 
quint32 wantsActive: 1
 
quint32 holesInSiblingIndex: 1
 
quint32 sequentialOrdering: 1
 
quint32 updateDueToGraphicsEffect: 1
 
quint32 scenePosDescendants: 1
 
quint32 pendingPolish: 1
 
quint32 mayHaveChildWithGraphicsEffect: 1
 
quint32 sendParentChangeNotification: 1
 
quint32 dirtyChildrenBoundingRect: 1
 
quint32 padding: 20
 
int globalStackingOrder
 
QGraphicsItemq_ptr
 

Detailed Description

Definition at line 61 of file qgraphicsitem_p.h.

Member Enumeration Documentation

◆ AncestorFlag

Enumerator
NoFlag 
AncestorHandlesChildEvents 
AncestorClipsChildren 
AncestorIgnoresTransformations 
AncestorFiltersChildEvents 
AncestorContainsChildren 

Definition at line 73 of file qgraphicsitem_p.h.

◆ Extra

Enumerator
ExtraToolTip 
ExtraCursor 
ExtraCacheData 
ExtraMaxDeviceCoordCacheSize 
ExtraBoundingRegionGranularity 

Definition at line 65 of file qgraphicsitem_p.h.

Constructor & Destructor Documentation

◆ QGraphicsItemPrivate()

QGraphicsItemPrivate::QGraphicsItemPrivate ( )

Definition at line 846 of file qgraphicsitem.cpp.

◆ ~QGraphicsItemPrivate()

QGraphicsItemPrivate::~QGraphicsItemPrivate ( )
virtual

Definition at line 917 of file qgraphicsitem.cpp.

Member Function Documentation

◆ addChild()

void QGraphicsItemPrivate::addChild ( QGraphicsItem * child)

This function is almost identical to

QGraphicsScenePrivate::registerTopLevelItem().

Definition at line 5403 of file qgraphicsitem.cpp.

References QList< T >::append(), child, children, emit, ensureSequentialSiblingIndex(), isObject, needSortChildren, q_ptr, and QList< T >::size().

Referenced by setParentItemHelper().

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

◆ appendGraphicsTransform()

void QGraphicsItemPrivate::appendGraphicsTransform ( QGraphicsTransform * t)

Definition at line 4161 of file qgraphicsitem.cpp.

References QList< T >::append(), QListSpecialMethodsBase< T >::contains(), dirtySceneTransform, QGraphicsItemPrivate::TransformData::graphicsTransforms, QGraphicsItemPrivate::TransformData::onlyTransform, transformChanged(), and transformData.

+ Here is the call graph for this function:

◆ calcEffectiveOpacity()

qreal QGraphicsItemPrivate::calcEffectiveOpacity ( ) const
inline

◆ childrenBoundingRectHelper()

void QGraphicsItemPrivate::childrenBoundingRectHelper ( QTransform * x,
QRectF * rect,
QGraphicsItem * topMostEffectItem )

Returns the bounding rect of this item's children (excluding itself).

Definition at line 1386 of file qgraphicsitem.cpp.

References QList< T >::at(), child, children, i, QGraphicsItem::ItemClipsChildrenToShape, QTransform::mapRect(), rect, and QList< T >::size().

Referenced by QGraphicsItem::childrenBoundingRect().

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

◆ childrenClippedToShape()

bool QGraphicsItemPrivate::childrenClippedToShape ( ) const
inline

Definition at line 305 of file qgraphicsitem_p.h.

References QGraphicsItem::ItemClipsChildrenToShape.

◆ childrenCombineOpacity()

bool QGraphicsItemPrivate::childrenCombineOpacity ( ) const
inline

Definition at line 291 of file qgraphicsitem_p.h.

References i, QGraphicsItem::ItemDoesntPropagateOpacityToChildren, and QGraphicsItem::ItemIgnoresParentOpacity.

Referenced by discardUpdateRequest(), QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsSceneIndexPrivate::recursive_items_helper().

+ Here is the caller graph for this function:

◆ clearFocusHelper()

void QGraphicsItemPrivate::clearFocusHelper ( bool giveFocusToParent,
bool hiddenByParentPanel )

Definition at line 3472 of file qgraphicsitem.cpp.

References clearSubFocus(), QGraphicsItem::d_ptr, focusScopeItem, focusScopeItemChange(), QGraphicsItem::hasFocus(), inDestructor, QGraphicsItem::ItemIsFocusScope, Qt::OtherFocusReason, parent, q_ptr, scene, QGraphicsScene::setFocusItem(), and subFocusItem.

Referenced by QGraphicsItem::clearFocus(), and setVisibleHelper().

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

◆ clearSubFocus()

void QGraphicsItemPrivate::clearSubFocus ( QGraphicsItem * rootItem = nullptr,
QGraphicsItem * stopItem = nullptr )

Definition at line 5557 of file qgraphicsitem.cpp.

References QGraphicsItem::d_ptr, QGraphicsItem::isAncestorOf(), QGraphicsItem::isPanel(), parent, q_ptr, rootItem(), subFocusItem, and subFocusItemChange().

Referenced by clearFocusHelper(), QGraphicsScenePrivate::removeItemHelper(), setFocusHelper(), setParentItemHelper(), and setSubFocus().

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

◆ combineOpacityFromParent()

qreal QGraphicsItemPrivate::combineOpacityFromParent ( qreal parentOpacity) const
inline

Definition at line 282 of file qgraphicsitem_p.h.

References QGraphicsItem::ItemDoesntPropagateOpacityToChildren, and QGraphicsItem::ItemIgnoresParentOpacity.

Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsSceneIndexPrivate::recursive_items_helper().

+ Here is the caller graph for this function:

◆ combineTransformFromParent()

void QGraphicsItemPrivate::combineTransformFromParent ( QTransform * x,
const QTransform * viewTransform = nullptr ) const

Combines this item's position and transform onto transform.

If you need to change this function (e.g., adding more transformation modes / options), make sure to change QGraphicsItem::deviceTransform() as well.

Definition at line 1146 of file qgraphicsitem.cpp.

References QGraphicsItemPrivate::TransformData::computedFullTransform(), QGraphicsItem::deviceTransform(), itemIsUntransformable(), pos, q_ptr, transformData, QTransform::translate(), QPointF::x(), and QPointF::y().

Referenced by QGraphicsItem::deviceTransform(), and QGraphicsItem::itemTransform().

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

◆ combineTransformToParent()

void QGraphicsItemPrivate::combineTransformToParent ( QTransform * x,
const QTransform * viewTransform = nullptr ) const

Combines this item's position and transform onto transform.

If you need to change this function (e.g., adding more transformation modes / options), make sure to change all places marked with COMBINE.

Definition at line 1124 of file qgraphicsitem.cpp.

References QGraphicsItemPrivate::TransformData::computedFullTransform(), QGraphicsItem::deviceTransform(), QTransform::fromTranslate(), QPointF::isNull(), itemIsUntransformable(), pos, q_ptr, transformData, QPointF::x(), and QPointF::y().

Referenced by transformToParent().

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

◆ depth()

int QGraphicsItemPrivate::depth ( ) const

Definition at line 5324 of file qgraphicsitem.cpp.

References itemDepth, and resolveDepth().

Referenced by QGraphicsItem::commonAncestorItem(), and QGraphicsItem::isAncestorOf().

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

◆ discardUpdateRequest()

bool QGraphicsItemPrivate::discardUpdateRequest ( bool ignoreVisibleBit = false,
bool ignoreDirtyBit = false,
bool ignoreOpacity = false ) const

Returns true if we can discard an update request; otherwise false.

Definition at line 5310 of file qgraphicsitem.cpp.

References childrenCombineOpacity(), fullUpdatePending, ignoreOpacity, ignoreVisible, isFullyTransparent(), scene, and visible.

Referenced by QGraphicsScenePrivate::markDirty().

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

◆ effectiveBoundingRect() [1/2]

QRectF QGraphicsItemPrivate::effectiveBoundingRect ( const QRectF & rect) const
Since
4.6 Returns the effective bounding rect of the given item space rect. If the item has no effect, the rect is returned unmodified. If the item has an effect, the effective rect can be extend beyond the item's bounding rect, depending on the effect.
See also
boundingRect()

Definition at line 2946 of file qgraphicsitem.cpp.

References QGraphicsEffect::boundingRectFor(), deviceRect, effect, graphicsEffect, QList< T >::isEmpty(), QGraphicsEffect::isEnabled(), rect, scene, view, and QGraphicsScene::views().

+ Here is the call graph for this function:

◆ effectiveBoundingRect() [2/2]

QRectF QGraphicsItemPrivate::effectiveBoundingRect ( QGraphicsItem * topMostEffectItem = nullptr) const
Since
4.6 Returns the effective bounding rect of the item. If the item has no effect, this is the same as the item's bounding rect. If the item has an effect, the effective rect can be larger than the item's bounding rect, depending on the effect.
See also
boundingRect()

Definition at line 2978 of file qgraphicsitem.cpp.

References AncestorClipsChildren, AncestorContainsChildren, ancestorFlags, QGraphicsItem::boundingRect(), QObject::d_ptr, effect, effectiveBoundingRect(), QGraphicsEffect::isEnabled(), parent, q_ptr, Q_UNUSED, and scene.

Referenced by effectiveBoundingRect(), and sceneEffectiveBoundingRect().

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

◆ effectiveOpacity()

qreal QGraphicsItemPrivate::effectiveOpacity ( ) const
inline

Definition at line 275 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::effectiveOpacity().

+ Here is the caller graph for this function:

◆ ensureSceneTransform()

void QGraphicsItemPrivate::ensureSceneTransform ( )
inline

Definition at line 218 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::deviceTransform(), QGraphicsItem::itemTransform(), and QGraphicsItem::sceneTransform().

+ Here is the caller graph for this function:

◆ ensureSceneTransformRecursive()

void QGraphicsItemPrivate::ensureSceneTransformRecursive ( QGraphicsItem ** topMostDirtyItem)

Definition at line 5497 of file qgraphicsitem.cpp.

References QGraphicsItem::d_ptr, dirtySceneTransform, ensureSceneTransformRecursive(), invalidateChildrenSceneTransform(), parent, Q_ASSERT, q_ptr, and updateSceneTransformFromParent().

Referenced by ensureSceneTransformRecursive().

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

◆ ensureSequentialSiblingIndex()

void QGraphicsItemPrivate::ensureSequentialSiblingIndex ( )

Ensures that the list of children is sorted by insertion order, and that the siblingIndexes are packed (no gaps), and start at 0.

This function is almost identical to

QGraphicsScenePrivate::ensureSequentialTopLevelSiblingIndexes().

Definition at line 4605 of file qgraphicsitem.cpp.

References QList< T >::begin(), children, QList< T >::end(), holesInSiblingIndex, i, insertionOrder(), needSortChildren, sequentialOrdering, and QList< T >::size().

Referenced by addChild(), and QGraphicsItem::stackBefore().

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

◆ ensureSortedChildren()

void QGraphicsItemPrivate::ensureSortedChildren ( )
inline

Definition at line 655 of file qgraphicsitem_p.h.

References QList< T >::at(), QList< T >::begin(), children, QGraphicsItem::d_ptr, QList< T >::end(), i, QList< T >::isEmpty(), needSortChildren, qt_notclosestLeaf(), sequentialOrdering, siblingIndex, and QList< T >::size().

Referenced by QGraphicsScene::addItem(), QGraphicsItem::childItems(), QGraphicsScenePrivate::draw(), and QGraphicsSceneIndexPrivate::recursive_items_helper().

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

◆ extra()

◆ extraItemCache()

QGraphicsItemCache * QGraphicsItemPrivate::extraItemCache ( ) const

Definition at line 5450 of file qgraphicsitem.cpp.

References extra(), and ExtraCacheData.

Referenced by QGraphicsItem::setCacheMode(), and QGraphicsItem::update().

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

◆ focusScopeItemChange()

void QGraphicsItemPrivate::focusScopeItemChange ( bool isSubFocusItem)
virtual

Subclasses can reimplement this function to be notified when an item becomes a focusScopeItem (or is no longer a focusScopeItem).

Definition at line 5599 of file qgraphicsitem.cpp.

References Q_UNUSED.

Referenced by clearFocusHelper(), setFocusHelper(), and setParentItemHelper().

+ Here is the caller graph for this function:

◆ genericMapFromScene()

QPointF QGraphicsItemPrivate::genericMapFromScene ( const QPointF & pos,
const QWidget * viewport ) const

Definition at line 1110 of file qgraphicsitem.cpp.

References genericMapFromSceneTransform(), QTransform::map(), pos, and viewport().

Referenced by QGraphicsScene::contextMenuEvent(), QGraphicsScenePrivate::sendDragDropEvent(), QGraphicsScenePrivate::storeMouseButtonsForMouseGrabber(), and QGraphicsScene::wheelEvent().

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

◆ genericMapFromSceneTransform()

QTransform QGraphicsItemPrivate::genericMapFromSceneTransform ( const QWidget * viewport = nullptr) const

Maps the point pos from scene to item coordinates. If view is passed and the item is untransformable, this function will correctly map pos from the scene using the view's transformation.

Definition at line 1095 of file qgraphicsitem.cpp.

References QTransform::inverted(), itemIsUntransformable(), sceneTransform, view, and viewport().

Referenced by genericMapFromScene(), QGraphicsScenePrivate::sendHoverEvent(), QGraphicsScenePrivate::sendMouseEvent(), and QGraphicsScenePrivate::updateTouchPointsForItem().

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

◆ get() [1/2]

static const QGraphicsItemPrivate * QGraphicsItemPrivate::get ( const QGraphicsItem * item)
inlinestatic

Definition at line 85 of file qgraphicsitem_p.h.

References QGraphicsItem::d_ptr, QScopedPointer< T, Cleanup >::data(), and item.

Referenced by adjustedItemEffectiveBoundingRect(), QtPrivate::intersect_path(), QtPrivate::intersect_point(), QtPrivate::intersect_rect(), and QGraphicsLayoutItem::isEmpty().

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

◆ get() [2/2]

static QGraphicsItemPrivate * QGraphicsItemPrivate::get ( QGraphicsItem * item)
inlinestatic

Definition at line 89 of file qgraphicsitem_p.h.

References QGraphicsItem::d_ptr, QScopedPointer< T, Cleanup >::data(), and item.

+ Here is the call graph for this function:

◆ hasTranslateOnlySceneTransform()

bool QGraphicsItemPrivate::hasTranslateOnlySceneTransform ( )
inline

◆ height()

qreal QGraphicsItemPrivate::height ( ) const
virtual

Returns the height of the item Reimplemented by QGraphicsWidget

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7686 of file qgraphicsitem.cpp.

◆ initStyleOption()

void QGraphicsItemPrivate::initStyleOption ( QStyleOptionGraphicsItem * option,
const QTransform & worldTransform,
const QRegion & exposedRegion,
bool allItems = false ) const

Definition at line 1429 of file qgraphicsitem.cpp.

References QTransform::inverted(), QGraphicsItem::ItemUsesExtendedStyleOption, QTransform::mapRect(), QGraphicsScene::mouseGrabberItem(), Q_ASSERT, q_ptr, scene, selected, QStyle::State_Enabled, QStyle::State_HasFocus, QStyle::State_MouseOver, QStyle::State_None, QStyle::State_Selected, QStyle::State_Sunken, QGraphicsItem::toGraphicsObject(), and QRectF::toRect().

Referenced by QGraphicsScenePrivate::draw(), and QGraphicsView::paintEvent().

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

◆ insertionOrder()

bool QGraphicsItemPrivate::insertionOrder ( QGraphicsItem * a,
QGraphicsItem * b )
inlinestatic

Definition at line 675 of file qgraphicsitem_p.h.

Referenced by ensureSequentialSiblingIndex(), and QGraphicsScenePrivate::ensureSequentialTopLevelSiblingIndexes().

+ Here is the caller graph for this function:

◆ invalidateChildrenSceneTransform()

void QGraphicsItemPrivate::invalidateChildrenSceneTransform ( )
inline

Definition at line 230 of file qgraphicsitem_p.h.

References i.

Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), ensureSceneTransformRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsSceneIndexPrivate::recursive_items_helper().

+ Here is the caller graph for this function:

◆ invalidateDepthRecursively()

void QGraphicsItemPrivate::invalidateDepthRecursively ( )

Definition at line 5371 of file qgraphicsitem.cpp.

References QList< T >::at(), children, QGraphicsItem::d_ptr, i, invalidateDepthRecursively(), itemDepth, and QList< T >::size().

Referenced by invalidateDepthRecursively(), and setParentItemHelper().

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

◆ isFullyTransparent()

bool QGraphicsItemPrivate::isFullyTransparent ( ) const
inline

Definition at line 265 of file qgraphicsitem_p.h.

Referenced by discardUpdateRequest().

+ Here is the caller graph for this function:

◆ isInvisible()

bool QGraphicsItemPrivate::isInvisible ( ) const
inline

Definition at line 308 of file qgraphicsitem_p.h.

◆ isOpacityNull() [1/2]

bool QGraphicsItemPrivate::isOpacityNull ( ) const
inline

Definition at line 259 of file qgraphicsitem_p.h.

Referenced by QGraphicsScenePrivate::draw(), QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), and QGraphicsItem::setOpacity().

+ Here is the caller graph for this function:

◆ isOpacityNull() [2/2]

static bool QGraphicsItemPrivate::isOpacityNull ( qreal opacity)
inlinestatic

Definition at line 262 of file qgraphicsitem_p.h.

◆ isProxyWidget()

bool QGraphicsItemPrivate::isProxyWidget ( ) const
virtual

Tells us if it is a proxy widget

Reimplemented in QGraphicsProxyWidgetPrivate.

Definition at line 5619 of file qgraphicsitem.cpp.

Referenced by QGraphicsViewPrivate::updateInputMethodSensitivity().

+ Here is the caller graph for this function:

◆ itemIsUntransformable()

◆ markParentDirty()

void QGraphicsItemPrivate::markParentDirty ( bool updateBoundingRect = false)
inline

Definition at line 683 of file qgraphicsitem_p.h.

References notifyInvalidated.

Referenced by QGraphicsScenePrivate::markDirty(), QGraphicsItem::prepareGeometryChange(), QGraphicsItem::setFlags(), and setParentItemHelper().

+ Here is the caller graph for this function:

◆ maybeExtraItemCache()

QGraphicsItemCache * QGraphicsItemPrivate::maybeExtraItemCache ( ) const

Definition at line 5442 of file qgraphicsitem.cpp.

References extra(), and ExtraCacheData.

+ Here is the call graph for this function:

◆ movableAncestorIsSelected()

bool QGraphicsItemPrivate::movableAncestorIsSelected ( const QGraphicsItem * item)
static

Definition at line 7048 of file qgraphicsitem.cpp.

References _qt_movableAncestorIsSelected(), QGraphicsItem::d_ptr, QGraphicsItem::flags(), QGraphicsItem::isSelected(), item, QGraphicsItem::ItemIsMovable, and parent.

Referenced by QGraphicsItem::mouseMoveEvent().

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

◆ prependGraphicsTransform()

void QGraphicsItemPrivate::prependGraphicsTransform ( QGraphicsTransform * t)

Definition at line 4144 of file qgraphicsitem.cpp.

References QListSpecialMethodsBase< T >::contains(), dirtySceneTransform, QGraphicsItemPrivate::TransformData::graphicsTransforms, QGraphicsItemPrivate::TransformData::onlyTransform, QList< T >::prepend(), transformChanged(), and transformData.

+ Here is the call graph for this function:

◆ remapItemPos()

void QGraphicsItemPrivate::remapItemPos ( QEvent * event,
QGraphicsItem * item )

◆ removeChild()

void QGraphicsItemPrivate::removeChild ( QGraphicsItem * child)

This function is almost identical to

QGraphicsScenePrivate::unregisterTopLevelItem().

Definition at line 5421 of file qgraphicsitem.cpp.

References child, children, emit, holesInSiblingIndex, isObject, q_ptr, QList< T >::removeAt(), QList< T >::removeOne(), sequentialOrdering, and QList< T >::size().

Referenced by setParentItemHelper().

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

◆ removeExtraItemCache()

void QGraphicsItemPrivate::removeExtraItemCache ( )

Definition at line 5464 of file qgraphicsitem.cpp.

References extra(), ExtraCacheData, QGraphicsItemCache::purge(), and unsetExtra().

Referenced by QGraphicsItem::~QGraphicsItem(), and QGraphicsItem::setCacheMode().

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

◆ resetFocusProxy()

void QGraphicsItemPrivate::resetFocusProxy ( )

Sets the focusProxy pointer to \nullptr for all items that have this item as their focusProxy.

Definition at line 5576 of file qgraphicsitem.cpp.

References QList< T >::at(), QList< T >::clear(), focusProxyRefs, i, and QList< T >::size().

Referenced by QGraphicsItem::~QGraphicsItem(), and QGraphicsScenePrivate::removeItemHelper().

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

◆ resetHeight()

void QGraphicsItemPrivate::resetHeight ( )
virtual

Reset the height of the item Reimplemented by QGraphicsWidget

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7706 of file qgraphicsitem.cpp.

◆ resetWidth()

void QGraphicsItemPrivate::resetWidth ( )
virtual

Reset the width of the item Reimplemented by QGraphicsWidget

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7677 of file qgraphicsitem.cpp.

◆ resolveDepth()

void QGraphicsItemPrivate::resolveDepth ( )

Resolves the stacking depth of this object and all its ancestors.

Definition at line 5386 of file qgraphicsitem.cpp.

References QGraphicsItem::d_ptr, itemDepth, parent, and resolveDepth().

Referenced by depth(), and resolveDepth().

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

◆ resolveFont()

virtual void QGraphicsItemPrivate::resolveFont ( uint inheritedMask)
inlinevirtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 146 of file qgraphicsitem_p.h.

References i.

Referenced by QGraphicsScene::addItem(), QGraphicsScenePrivate::updateFont(), and QGraphicsWidgetPrivate::updateFont().

+ Here is the caller graph for this function:

◆ resolvePalette()

virtual void QGraphicsItemPrivate::resolvePalette ( uint inheritedMask)
inlinevirtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 152 of file qgraphicsitem_p.h.

References i.

Referenced by QGraphicsScene::addItem(), QGraphicsScenePrivate::updatePalette(), and QGraphicsWidgetPrivate::updatePalette().

+ Here is the caller graph for this function:

◆ sceneEffectiveBoundingRect()

QRectF QGraphicsItemPrivate::sceneEffectiveBoundingRect ( ) const
Since
4.6 Returns the effective bounding rect of this item in scene coordinates, by combining sceneTransform() with boundingRect(), taking into account the effect that the item might have.

If the item has no effect, this is the same as sceneBoundingRect().

See also
effectiveBoundingRect(), sceneBoundingRect()

Definition at line 3023 of file qgraphicsitem.cpp.

References QGraphicsItem::d_ptr, QScopedPointer< T, Cleanup >::data(), effectiveBoundingRect(), QTransform::mapRect(), pos, q_ptr, QGraphicsItem::sceneTransform(), and QRectF::translate().

Referenced by QGraphicsSceneBspTreeIndexPrivate::_q_updateIndex(), and QGraphicsSceneBspTreeIndexPrivate::removeItem().

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

◆ sendScenePosChange()

void QGraphicsItemPrivate::sendScenePosChange ( )
inline

Definition at line 4622 of file qgraphicsitem.cpp.

References item, QGraphicsItem::itemChange(), QGraphicsItem::ItemScenePositionHasChanged, QGraphicsItem::ItemSendsScenePositionChanges, scene, QGraphicsItem::scenePos(), and scenePosDescendants.

Referenced by QGraphicsItem::setPos(), and QGraphicsItem::setTransform().

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

◆ setEnabledHelper()

void QGraphicsItemPrivate::setEnabledHelper ( bool newEnabled,
bool explicitly,
bool update = true )

Sets this item's visibility to newEnabled. If explicitly is true, this item will be "explicitly" newEnabled; otherwise, it.. will not be.

Definition at line 2607 of file qgraphicsitem.cpp.

References child, children, clear(), QGraphicsItem::clearFocus(), emit, explicitlyDisabled, QGraphicsScene::focusItem(), QGraphicsItem::hasFocus(), QGraphicsItem::isAncestorOf(), isObject, QGraphicsItem::isPanel(), QGraphicsItem::isSelected(), isWidget, QGraphicsItem::itemChange(), QGraphicsItem::ItemEnabledChange, QGraphicsItem::ItemEnabledHasChanged, QGraphicsScene::mouseGrabberItem(), QGraphicsItem::parentWidget(), q_ptr, scene, QGraphicsItem::setSelected(), QGraphicsItem::ungrabMouse(), and QGraphicsItem::update().

Referenced by QGraphicsItem::setEnabled(), and setParentItemHelper().

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

◆ setExtra()

void QGraphicsItemPrivate::setExtra ( Extra type,
const QVariant & value )
inline

Definition at line 170 of file qgraphicsitem_p.h.

References i.

Referenced by QGraphicsItem::setBoundingRegionGranularity(), QGraphicsItem::setCursor(), and QGraphicsSvgItem::setMaximumCacheSize().

+ Here is the caller graph for this function:

◆ setFocusHelper()

void QGraphicsItemPrivate::setFocusHelper ( Qt::FocusReason focusReason,
bool climb,
bool focusFromHide )

Definition at line 3392 of file qgraphicsitem.cpp.

References clearSubFocus(), QGraphicsItem::commonAncestorItem(), QGraphicsItem::d_ptr, QGraphicsScene::focusItem(), focusProxy, focusScopeItem, focusScopeItemChange(), QGraphicsScene::isActive(), QGraphicsItem::isEnabled(), QGraphicsItem::ItemIsFocusable, QGraphicsItem::ItemIsFocusScope, QGraphicsItem::panel(), parent, q_ptr, and scene.

Referenced by QGraphicsItem::setFocus(), and setVisibleHelper().

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

◆ setHeight()

void QGraphicsItemPrivate::setHeight ( qreal h)
virtual

Set the height of the item Reimplemented by QGraphicsWidget

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7696 of file qgraphicsitem.cpp.

References Q_UNUSED.

◆ setIsMemberOfGroup()

void QGraphicsItemPrivate::setIsMemberOfGroup ( bool enabled)

Propagates item group membership.

Definition at line 1033 of file qgraphicsitem.cpp.

References child, children, enabled, and isMemberOfGroup.

◆ setParentItemHelper()

void QGraphicsItemPrivate::setParentItemHelper ( QGraphicsItem * newParent,
const QVariant * newParentVariant,
const QVariant * thisPointerVariant )

Make sure not to trigger any pure virtual function calls (e.g., prepareGeometryChange) if the item is in its destructor, i.e. inDestructor is 1.

Definition at line 1201 of file qgraphicsitem.cpp.

References addChild(), QGraphicsScene::addItem(), clearSubFocus(), QGraphicsItem::d_ptr, dirtySceneTransform, emit, enabled, explicitlyDisabled, explicitlyHidden, QGraphicsItem::focusItem(), focusScopeItem, focusScopeItemChange(), graphicsEffect, inDestructor, invalidateDepthRecursively(), QGraphicsItem::isActive(), QGraphicsItem::isAncestorOf(), QGraphicsItem::isEnabled(), isObject, QGraphicsItem::isWidget(), isWidget, QGraphicsItem::itemChange(), QGraphicsItem::ItemChildAddedChange, QGraphicsItem::ItemChildRemovedChange, QGraphicsItem::ItemIsFocusScope, QGraphicsItem::ItemIsPanel, QGraphicsItem::ItemParentChange, QGraphicsItem::ItemParentHasChanged, QGraphicsItem::ItemSendsScenePositionChanges, markParentDirty(), mayHaveChildWithGraphicsEffect, QGraphicsScene::NoIndex, p2, parent, QGraphicsItem::prepareGeometryChange(), q_ptr, removeChild(), QGraphicsScene::removeItem(), QGraphicsItem::scene(), scene, scenePosDescendants, setEnabledHelper(), QGraphicsItem::setFocus(), setSubFocus(), setVisibleHelper(), subFocusItem, transformChanged(), transformData, updateAncestorFlags(), updateChildWithGraphicsEffectFlagRecursively(), and visible.

Referenced by QGraphicsItem::setParentItem().

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

◆ setPosHelper()

void QGraphicsItemPrivate::setPosHelper ( const QPointF & pos)
virtual

Sets the position pos.

Definition at line 3808 of file qgraphicsitem.cpp.

References dirtySceneTransform, emit, inSetPosHelper, isObject, pos, q_ptr, scene, QPointF::x(), and QPointF::y().

Referenced by QGraphicsItem::setPos().

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

◆ setSubFocus()

void QGraphicsItemPrivate::setSubFocus ( QGraphicsItem * rootItem = nullptr,
QGraphicsItem * stopItem = nullptr )

Definition at line 5529 of file qgraphicsitem.cpp.

References clearSubFocus(), QGraphicsItem::d_ptr, QGraphicsScene::isActive(), QGraphicsItem::isPanel(), QGraphicsItem::panel(), parent, q_ptr, rootItem(), scene, subFocusItem, subFocusItemChange(), and visible.

Referenced by setParentItemHelper().

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

◆ setTransformHelper()

void QGraphicsItemPrivate::setTransformHelper ( const QTransform & transform)

Sets the transform transform.

Definition at line 3831 of file qgraphicsitem.cpp.

References dirtySceneTransform, QGraphicsItem::prepareGeometryChange(), q_ptr, QGraphicsItemPrivate::TransformData::transform, transformChanged(), and transformData.

Referenced by QGraphicsItem::setTransform().

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

◆ setVisibleHelper()

void QGraphicsItemPrivate::setVisibleHelper ( bool newVisible,
bool explicitly,
bool update = true,
bool hiddenByPanel = false )

Sets this item's visibility to newVisible. If explicitly is true, this item will be "explicitly" newVisible; otherwise, it.. will not be.

Definition at line 2375 of file qgraphicsitem.cpp.

References child, children, clear(), clearFocusHelper(), QGraphicsItem::d_ptr, done, emit, explicitlyHidden, extra(), ExtraCacheData, QGraphicsScene::focusItem(), focusScopeItem, geometryChanged, QGraphicsItem::hasFocus(), QGraphicsItem::isActive(), QGraphicsItem::isAncestorOf(), isObject, QGraphicsItem::isPanel(), QGraphicsItem::isSelected(), isWidget, QGraphicsItem::itemChange(), QGraphicsItem::ItemClipsChildrenToShape, QGraphicsItem::ItemContainsChildrenInShape, QGraphicsItem::ItemHasNoContents, QGraphicsItem::ItemIsFocusScope, QGraphicsItem::ItemVisibleChange, QGraphicsItem::ItemVisibleHasChanged, QGraphicsItem::NonModal, Qt::OtherFocusReason, paintedViewBoundingRectsNeedRepaint, panelModality, parent, QGraphicsItem::parentWidget(), Qt::Popup, QGraphicsItemCache::purge(), q_ptr, scene, QGraphicsScene::setActivePanel(), QGraphicsItem::setFocus(), setFocusHelper(), QGraphicsScene::setFocusItem(), QGraphicsItem::setSelected(), subFocusItem, visible, widget, and QWidget::windowType().

Referenced by setParentItemHelper(), and QGraphicsItem::setVisible().

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

◆ setWidth()

void QGraphicsItemPrivate::setWidth ( qreal w)
virtual

Set the width of the item Reimplemented by QGraphicsWidget

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7667 of file qgraphicsitem.cpp.

References Q_UNUSED.

◆ siblingOrderChange()

void QGraphicsItemPrivate::siblingOrderChange ( )
virtual

Subclasses can reimplement this function to be notified when its siblingIndex order is changed.

Definition at line 5610 of file qgraphicsitem.cpp.

Referenced by QGraphicsItem::stackBefore().

+ Here is the caller graph for this function:

◆ subFocusItemChange()

void QGraphicsItemPrivate::subFocusItemChange ( )
virtual

Subclasses can reimplement this function to be notified when subFocusItem changes.

Definition at line 5589 of file qgraphicsitem.cpp.

Referenced by clearSubFocus(), and setSubFocus().

+ Here is the caller graph for this function:

◆ transformChanged()

virtual void QGraphicsItemPrivate::transformChanged ( )
inlinevirtual

Definition at line 123 of file qgraphicsitem_p.h.

Referenced by appendGraphicsTransform(), prependGraphicsTransform(), setParentItemHelper(), QGraphicsItem::setRotation(), QGraphicsItem::setScale(), QGraphicsItem::setTransformations(), and setTransformHelper().

+ Here is the caller graph for this function:

◆ transformToParent()

QTransform QGraphicsItemPrivate::transformToParent ( ) const
inline

Definition at line 645 of file qgraphicsitem_p.h.

References combineTransformToParent().

Referenced by QGraphicsItem::mapFromParent(), QGraphicsItem::mapFromParent(), QGraphicsItem::mapFromParent(), QGraphicsItem::mapFromParent(), QGraphicsItem::mapRectFromParent(), QGraphicsItem::mapRectToParent(), QGraphicsItem::mapToParent(), QGraphicsItem::mapToParent(), QGraphicsItem::mapToParent(), and QGraphicsItem::mapToParent().

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

◆ unsetExtra()

void QGraphicsItemPrivate::unsetExtra ( Extra type)
inline

Definition at line 187 of file qgraphicsitem_p.h.

References i.

Referenced by removeExtraItemCache(), QGraphicsItem::setBoundingRegionGranularity(), and QGraphicsItem::unsetCursor().

+ Here is the caller graph for this function:

◆ updateAncestorFlag()

void QGraphicsItemPrivate::updateAncestorFlag ( QGraphicsItem::GraphicsItemFlag childFlag,
AncestorFlag flag = NoFlag,
bool enabled = false,
bool root = true )

Propagates the ancestor flag flag with value enabled to all this item's children. If root is false, the flag is also set on this item (default is true).

Definition at line 928 of file qgraphicsitem.cpp.

References AncestorClipsChildren, AncestorContainsChildren, AncestorFiltersChildEvents, ancestorFlags, AncestorHandlesChildEvents, AncestorIgnoresTransformations, QList< T >::at(), children, QGraphicsItem::d_ptr, filtersDescendantEvents, flags, handlesChildEvents, i, QGraphicsItem::ItemClipsChildrenToShape, QGraphicsItem::ItemContainsChildrenInShape, QGraphicsItem::ItemIgnoresTransformations, parent, QList< T >::size(), and updateAncestorFlag().

Referenced by QGraphicsItem::setFiltersChildEvents(), QGraphicsItem::setFlags(), QGraphicsItem::setHandlesChildEvents(), and updateAncestorFlag().

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

◆ updateAncestorFlags()

void QGraphicsItemPrivate::updateAncestorFlags ( )

Definition at line 998 of file qgraphicsitem.cpp.

References AncestorClipsChildren, AncestorContainsChildren, AncestorFiltersChildEvents, ancestorFlags, AncestorHandlesChildEvents, AncestorIgnoresTransformations, QList< T >::at(), children, QGraphicsItem::d_ptr, QScopedPointer< T, Cleanup >::data(), filtersDescendantEvents, flags, handlesChildEvents, i, QGraphicsItem::ItemClipsChildrenToShape, QGraphicsItem::ItemContainsChildrenInShape, QGraphicsItem::ItemIgnoresTransformations, parent, QList< T >::size(), and updateAncestorFlags().

Referenced by setParentItemHelper(), and updateAncestorFlags().

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

◆ updateChildWithGraphicsEffectFlagRecursively()

void QGraphicsItemPrivate::updateChildWithGraphicsEffectFlagRecursively ( )

Returns a pointer to this item's effect if it has one; otherwise \nullptr.

Since
4.6

Definition at line 2923 of file qgraphicsitem.cpp.

References QGraphicsItem::d_ptr, QScopedPointer< T, Cleanup >::data(), mayHaveChildWithGraphicsEffect, and parent.

Referenced by setParentItemHelper().

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

◆ updatePaintedViewBoundingRects()

void QGraphicsItemPrivate::updatePaintedViewBoundingRects ( bool updateChildren)

Definition at line 5474 of file qgraphicsitem.cpp.

References QList< T >::at(), children, QGraphicsItem::d_ptr, i, paintedViewBoundingRects, rect, scene, QList< T >::size(), QRect::translate(), updatePaintedViewBoundingRects(), QHash< Key, T >::value(), and QGraphicsScene::views().

Referenced by QGraphicsItem::setFlags(), and updatePaintedViewBoundingRects().

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

◆ updateSceneTransformFromParent()

void QGraphicsItemPrivate::updateSceneTransformFromParent ( )
virtual

◆ width()

qreal QGraphicsItemPrivate::width ( ) const
virtual

Returns the width of the item Reimplemented by QGraphicsWidget

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7657 of file qgraphicsitem.cpp.

Member Data Documentation

◆ acceptDrops

quint32 QGraphicsItemPrivate::acceptDrops

Definition at line 373 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::acceptDrops(), and QGraphicsItem::setAcceptDrops().

◆ acceptedMouseButtons

quint32 QGraphicsItemPrivate::acceptedMouseButtons

◆ acceptedTouchBeginEvent

quint32 QGraphicsItemPrivate::acceptedTouchBeginEvent

◆ acceptsHover

◆ acceptTouchEvents

quint32 QGraphicsItemPrivate::acceptTouchEvents

◆ allChildrenDirty

◆ ancestorFlags

◆ cacheMode

quint32 QGraphicsItemPrivate::cacheMode

◆ children

◆ childrenBoundingRect

QRectF QGraphicsItemPrivate::childrenBoundingRect

Definition at line 339 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::childrenBoundingRect().

◆ dirty

◆ dirtyChildren

◆ dirtyChildrenBoundingRect

quint32 QGraphicsItemPrivate::dirtyChildrenBoundingRect

◆ dirtySceneTransform

◆ enabled

quint32 QGraphicsItemPrivate::enabled

◆ explicitActivate

quint32 QGraphicsItemPrivate::explicitActivate

Definition at line 410 of file qgraphicsitem_p.h.

Referenced by QGraphicsScene::addItem(), and QGraphicsItem::setActive().

◆ explicitlyDisabled

quint32 QGraphicsItemPrivate::explicitlyDisabled

Definition at line 370 of file qgraphicsitem_p.h.

Referenced by setEnabledHelper(), and setParentItemHelper().

◆ explicitlyHidden

quint32 QGraphicsItemPrivate::explicitlyHidden

◆ extras

QList<ExtraStruct> QGraphicsItemPrivate::extras

Definition at line 210 of file qgraphicsitem_p.h.

◆ filtersDescendantEvents

quint32 QGraphicsItemPrivate::filtersDescendantEvents

◆ flags

◆ focusProxy

QGraphicsItem* QGraphicsItemPrivate::focusProxy

◆ focusProxyRefs

QList<QGraphicsItem **> QGraphicsItemPrivate::focusProxyRefs

Definition at line 356 of file qgraphicsitem_p.h.

Referenced by resetFocusProxy(), and QGraphicsItem::setFocusProxy().

◆ focusScopeItem

◆ fullUpdatePending

◆ geometryChanged

◆ gestureContext

◆ globalStackingOrder

int QGraphicsItemPrivate::globalStackingOrder

◆ graphicsEffect

◆ handlesChildEvents

quint32 QGraphicsItemPrivate::handlesChildEvents

◆ hasBoundingRegionGranularity

quint32 QGraphicsItemPrivate::hasBoundingRegionGranularity

◆ hasCursor

quint32 QGraphicsItemPrivate::hasCursor

◆ holesInSiblingIndex

quint32 QGraphicsItemPrivate::holesInSiblingIndex

Definition at line 412 of file qgraphicsitem_p.h.

Referenced by ensureSequentialSiblingIndex(), and removeChild().

◆ ignoreOpacity

◆ ignoreVisible

◆ imHints

Qt::InputMethodHints QGraphicsItemPrivate::imHints

Definition at line 359 of file qgraphicsitem_p.h.

◆ inDestructor

◆ index

◆ inSetPosHelper

quint32 QGraphicsItemPrivate::inSetPosHelper

Definition at line 385 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::prepareGeometryChange(), and setPosHelper().

◆ isMemberOfGroup

quint32 QGraphicsItemPrivate::isMemberOfGroup

Definition at line 374 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::group(), and setIsMemberOfGroup().

◆ isObject

◆ isWidget

◆ itemDepth

int QGraphicsItemPrivate::itemDepth

Definition at line 354 of file qgraphicsitem_p.h.

Referenced by depth(), invalidateDepthRecursively(), and resolveDepth().

◆ itemDiscovered

◆ localCollisionHack

quint32 QGraphicsItemPrivate::localCollisionHack

◆ mayHaveChildWithGraphicsEffect

quint32 QGraphicsItemPrivate::mayHaveChildWithGraphicsEffect

◆ mouseSetsFocus

◆ needSortChildren

quint32 QGraphicsItemPrivate::needSortChildren

◆ needsRepaint

◆ notifyBoundingRectChanged

quint32 QGraphicsItemPrivate::notifyBoundingRectChanged

◆ notifyInvalidated

quint32 QGraphicsItemPrivate::notifyInvalidated

Definition at line 408 of file qgraphicsitem_p.h.

Referenced by markParentDirty(), and QGraphicsScenePrivate::resetDirtyItem().

◆ opacity

qreal QGraphicsItemPrivate::opacity

Definition at line 344 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::opacity(), and QGraphicsItem::setOpacity().

◆ padding

quint32 QGraphicsItemPrivate::padding

Definition at line 420 of file qgraphicsitem_p.h.

◆ paintedViewBoundingRects

◆ paintedViewBoundingRectsNeedRepaint

◆ panelModality

◆ parent

◆ pendingPolish

quint32 QGraphicsItemPrivate::pendingPolish

◆ pos

◆ q_ptr

◆ scene

QGraphicsScene* QGraphicsItemPrivate::scene

Definition at line 345 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::~QGraphicsItem(), QGraphicsScene::addItem(), QGraphicsItem::addToIndex(), clearFocusHelper(), QGraphicsItem::collidingItems(), discardUpdateRequest(), effectiveBoundingRect(), effectiveBoundingRect(), QGraphicsItem::ensureVisible(), QGraphicsItem::grabKeyboard(), QGraphicsItem::grabMouse(), QGraphicsItem::hasFocus(), initStyleOption(), QGraphicsItem::installSceneEventFilter(), QGraphicsItem::isActive(), QGraphicsItem::isBlockedByModalPanel(), QGraphicsItem::mouseMoveEvent(), QGraphicsItem::mousePressEvent(), QGraphicsItem::mouseReleaseEvent(), QGraphicsWidgetPrivate::naturalWidgetFont(), QGraphicsWidgetPrivate::naturalWidgetPalette(), QGraphicsItem::prepareGeometryChange(), QGraphicsItem::removeFromIndex(), QGraphicsItem::removeSceneEventFilter(), QGraphicsWidgetPrivate::resolveLayoutDirection(), QGraphicsItem::scene(), QGraphicsItem::sceneEvent(), sendScenePosChange(), QGraphicsItem::setAcceptedMouseButtons(), QGraphicsItem::setAcceptHoverEvents(), QGraphicsItem::setAcceptTouchEvents(), QGraphicsItem::setActive(), QGraphicsItem::setCursor(), setEnabledHelper(), QGraphicsItem::setFlags(), setFocusHelper(), QGraphicsItem::setFocusProxy(), QGraphicsItem::setOpacity(), QGraphicsItem::setPanelModality(), setParentItemHelper(), setPosHelper(), QGraphicsItem::setSelected(), setSubFocus(), setVisibleHelper(), QGraphicsItem::setZValue(), QGraphicsItem::stackBefore(), QGraphicsProxyWidgetPrivate::unembedSubWindow(), QGraphicsItem::ungrabKeyboard(), QGraphicsItem::ungrabMouse(), QGraphicsItem::unsetCursor(), QGraphicsItem::update(), and updatePaintedViewBoundingRects().

◆ scenePosDescendants

◆ sceneTransform

◆ sceneTransformTranslateOnly

◆ selected

◆ sendParentChangeNotification

quint32 QGraphicsItemPrivate::sendParentChangeNotification

Definition at line 418 of file qgraphicsitem_p.h.

◆ sequentialOrdering

quint32 QGraphicsItemPrivate::sequentialOrdering

◆ siblingIndex

◆ subFocusItem

QGraphicsItem* QGraphicsItemPrivate::subFocusItem

◆ transformData

◆ updateDueToGraphicsEffect

quint32 QGraphicsItemPrivate::updateDueToGraphicsEffect

Definition at line 414 of file qgraphicsitem_p.h.

◆ visible

◆ wantsActive

quint32 QGraphicsItemPrivate::wantsActive

Definition at line 411 of file qgraphicsitem_p.h.

Referenced by QGraphicsScene::addItem(), and QGraphicsItem::setActive().

◆ z

qreal QGraphicsItemPrivate::z

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