QtBase  v6.3.1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
QGraphicsItemPrivate Class Reference

#include <qgraphicsitem_p.h>

Inheritance diagram for QGraphicsItemPrivate:
Inheritance graph
[legend]
Collaboration diagram for QGraphicsItemPrivate:
Collaboration graph
[legend]

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 ()
 
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)
 
QDeclarativeListProperty< QGraphicsObjectchildrenList ()
 
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 void children_append (QDeclarativeListProperty< QGraphicsObject > *list, QGraphicsObject *item)
 
static int children_count (QDeclarativeListProperty< QGraphicsObject > *list)
 
static QGraphicsObjectchildren_at (QDeclarativeListProperty< QGraphicsObject > *list, int)
 
static void children_clear (QDeclarativeListProperty< QGraphicsObject > *list)
 
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 isDeclarativeItem: 1
 
quint32 sendParentChangeNotification: 1
 
quint32 dirtyChildrenBoundingRect: 1
 
quint32 padding: 19
 
int globalStackingOrder
 
QGraphicsItemq_ptr
 

Detailed Description

Definition at line 154 of file qgraphicsitem_p.h.

Member Enumeration Documentation

◆ AncestorFlag

Enumerator
NoFlag 
AncestorHandlesChildEvents 
AncestorClipsChildren 
AncestorIgnoresTransformations 
AncestorFiltersChildEvents 
AncestorContainsChildren 

Definition at line 166 of file qgraphicsitem_p.h.

◆ Extra

Enumerator
ExtraToolTip 
ExtraCursor 
ExtraCacheData 
ExtraMaxDeviceCoordCacheSize 
ExtraBoundingRegionGranularity 

Definition at line 158 of file qgraphicsitem_p.h.

Constructor & Destructor Documentation

◆ QGraphicsItemPrivate()

QGraphicsItemPrivate::QGraphicsItemPrivate ( )

Definition at line 881 of file qgraphicsitem.cpp.

◆ ~QGraphicsItemPrivate()

QGraphicsItemPrivate::~QGraphicsItemPrivate ( )
virtual

Definition at line 953 of file qgraphicsitem.cpp.

Member Function Documentation

◆ addChild()

void QGraphicsItemPrivate::addChild ( QGraphicsItem child)

Definition at line 5439 of file qgraphicsitem.cpp.

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 4197 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ calcEffectiveOpacity()

qreal QGraphicsItemPrivate::calcEffectiveOpacity ( ) const
inline

Definition at line 330 of file qgraphicsitem_p.h.

◆ children_append()

void QGraphicsItemPrivate::children_append ( QDeclarativeListProperty< QGraphicsObject > *  list,
QGraphicsObject item 
)
static

Definition at line 7688 of file qgraphicsitem.cpp.

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

◆ children_at()

QGraphicsObject * QGraphicsItemPrivate::children_at ( QDeclarativeListProperty< QGraphicsObject > *  list,
int  index 
)
static

Definition at line 7706 of file qgraphicsitem.cpp.

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

◆ children_clear()

void QGraphicsItemPrivate::children_clear ( QDeclarativeListProperty< QGraphicsObject > *  list)
static

Definition at line 7715 of file qgraphicsitem.cpp.

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

◆ children_count()

int QGraphicsItemPrivate::children_count ( QDeclarativeListProperty< QGraphicsObject > *  list)
static

Definition at line 7700 of file qgraphicsitem.cpp.

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

◆ childrenBoundingRectHelper()

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

Definition at line 1422 of file qgraphicsitem.cpp.

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 399 of file qgraphicsitem_p.h.

◆ childrenCombineOpacity()

bool QGraphicsItemPrivate::childrenCombineOpacity ( ) const
inline

Definition at line 385 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ childrenList()

QDeclarativeListProperty< QGraphicsObject > QGraphicsItemPrivate::childrenList ( )

Returns a list of this item's children.

The items are sorted by stacking order. This takes into account both the items' insertion order and their Z-values.

Definition at line 7735 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ clearFocusHelper()

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

Definition at line 3508 of file qgraphicsitem.cpp.

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 5593 of file qgraphicsitem.cpp.

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 376 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ combineTransformFromParent()

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

Definition at line 1182 of file qgraphicsitem.cpp.

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

Definition at line 1160 of file qgraphicsitem.cpp.

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

◆ depth()

int QGraphicsItemPrivate::depth ( ) const

Definition at line 5360 of file qgraphicsitem.cpp.

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

Definition at line 5346 of file qgraphicsitem.cpp.

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

Definition at line 2982 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ effectiveBoundingRect() [2/2]

QRectF QGraphicsItemPrivate::effectiveBoundingRect ( QGraphicsItem topMostEffectItem = nullptr) const

Definition at line 3014 of file qgraphicsitem.cpp.

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 369 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ ensureSceneTransform()

void QGraphicsItemPrivate::ensureSceneTransform ( )
inline

Definition at line 312 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ ensureSceneTransformRecursive()

void QGraphicsItemPrivate::ensureSceneTransformRecursive ( QGraphicsItem **  topMostDirtyItem)

Definition at line 5533 of file qgraphicsitem.cpp.

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

◆ ensureSequentialSiblingIndex()

void QGraphicsItemPrivate::ensureSequentialSiblingIndex ( )

Definition at line 4641 of file qgraphicsitem.cpp.

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

◆ ensureSortedChildren()

void QGraphicsItemPrivate::ensureSortedChildren ( )
inline

Definition at line 756 of file qgraphicsitem_p.h.

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

◆ extra()

QVariant QGraphicsItemPrivate::extra ( Extra  type) const
inline

Definition at line 254 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ extraItemCache()

QGraphicsItemCache * QGraphicsItemPrivate::extraItemCache ( ) const

Definition at line 5486 of file qgraphicsitem.cpp.

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

◆ focusScopeItemChange()

void QGraphicsItemPrivate::focusScopeItemChange ( bool  isSubFocusItem)
virtual

Reimplemented in FocusScopeItemPrivate.

Definition at line 5635 of file qgraphicsitem.cpp.

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

◆ genericMapFromScene()

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

Definition at line 1146 of file qgraphicsitem.cpp.

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

Definition at line 1131 of file qgraphicsitem.cpp.

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 178 of file qgraphicsitem_p.h.

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 182 of file qgraphicsitem_p.h.

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

◆ hasTranslateOnlySceneTransform()

bool QGraphicsItemPrivate::hasTranslateOnlySceneTransform ( )
inline

Definition at line 318 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ height()

qreal QGraphicsItemPrivate::height ( ) const
virtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7782 of file qgraphicsitem.cpp.

◆ initStyleOption()

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

Definition at line 1465 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ insertionOrder()

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

Definition at line 776 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ invalidateChildrenSceneTransform()

void QGraphicsItemPrivate::invalidateChildrenSceneTransform ( )
inline

Definition at line 324 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ invalidateDepthRecursively()

void QGraphicsItemPrivate::invalidateDepthRecursively ( )

Definition at line 5407 of file qgraphicsitem.cpp.

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 359 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ isInvisible()

bool QGraphicsItemPrivate::isInvisible ( ) const
inline

Definition at line 402 of file qgraphicsitem_p.h.

◆ isOpacityNull() [1/2]

bool QGraphicsItemPrivate::isOpacityNull ( ) const
inline

Definition at line 353 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ isOpacityNull() [2/2]

static bool QGraphicsItemPrivate::isOpacityNull ( qreal  opacity)
inlinestatic

Definition at line 356 of file qgraphicsitem_p.h.

◆ isProxyWidget()

bool QGraphicsItemPrivate::isProxyWidget ( ) const
virtual

Reimplemented in QGraphicsProxyWidgetPrivate.

Definition at line 5655 of file qgraphicsitem.cpp.

Here is the caller graph for this function:

◆ itemIsUntransformable()

bool QGraphicsItemPrivate::itemIsUntransformable ( ) const
inline

Definition at line 195 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ markParentDirty()

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

Definition at line 784 of file qgraphicsitem_p.h.

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

◆ maybeExtraItemCache()

QGraphicsItemCache * QGraphicsItemPrivate::maybeExtraItemCache ( ) const

Definition at line 5478 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ movableAncestorIsSelected()

bool QGraphicsItemPrivate::movableAncestorIsSelected ( const QGraphicsItem item)
static

Definition at line 7084 of file qgraphicsitem.cpp.

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 4180 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ remapItemPos()

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

Definition at line 1084 of file qgraphicsitem.cpp.

Here is the caller graph for this function:

◆ removeChild()

void QGraphicsItemPrivate::removeChild ( QGraphicsItem child)

Definition at line 5457 of file qgraphicsitem.cpp.

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

◆ removeExtraItemCache()

void QGraphicsItemPrivate::removeExtraItemCache ( )

Definition at line 5500 of file qgraphicsitem.cpp.

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

◆ resetFocusProxy()

void QGraphicsItemPrivate::resetFocusProxy ( )

Definition at line 5612 of file qgraphicsitem.cpp.

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

◆ resetHeight()

void QGraphicsItemPrivate::resetHeight ( )
virtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7802 of file qgraphicsitem.cpp.

◆ resetWidth()

void QGraphicsItemPrivate::resetWidth ( )
virtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7773 of file qgraphicsitem.cpp.

◆ resolveDepth()

void QGraphicsItemPrivate::resolveDepth ( )

Definition at line 5422 of file qgraphicsitem.cpp.

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 240 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ resolvePalette()

virtual void QGraphicsItemPrivate::resolvePalette ( uint  inheritedMask)
inlinevirtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 246 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ sceneEffectiveBoundingRect()

QRectF QGraphicsItemPrivate::sceneEffectiveBoundingRect ( ) const

Definition at line 3059 of file qgraphicsitem.cpp.

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

◆ sendScenePosChange()

void QGraphicsItemPrivate::sendScenePosChange ( )
inline

Definition at line 4658 of file qgraphicsitem.cpp.

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 
)

Definition at line 2643 of file qgraphicsitem.cpp.

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 264 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ setFocusHelper()

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

Definition at line 3428 of file qgraphicsitem.cpp.

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

◆ setHeight()

void QGraphicsItemPrivate::setHeight ( qreal  h)
virtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7792 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ setIsMemberOfGroup()

void QGraphicsItemPrivate::setIsMemberOfGroup ( bool  enabled)

Definition at line 1069 of file qgraphicsitem.cpp.

◆ setParentItemHelper()

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

Definition at line 1237 of file qgraphicsitem.cpp.

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

◆ setPosHelper()

void QGraphicsItemPrivate::setPosHelper ( const QPointF pos)
virtual

Definition at line 3844 of file qgraphicsitem.cpp.

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 5565 of file qgraphicsitem.cpp.

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

◆ setTransformHelper()

void QGraphicsItemPrivate::setTransformHelper ( const QTransform transform)

Definition at line 3867 of file qgraphicsitem.cpp.

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 
)

Definition at line 2411 of file qgraphicsitem.cpp.

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

◆ setWidth()

void QGraphicsItemPrivate::setWidth ( qreal  w)
virtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7763 of file qgraphicsitem.cpp.

Here is the call graph for this function:

◆ siblingOrderChange()

void QGraphicsItemPrivate::siblingOrderChange ( )
virtual

Definition at line 5646 of file qgraphicsitem.cpp.

Here is the caller graph for this function:

◆ subFocusItemChange()

void QGraphicsItemPrivate::subFocusItemChange ( )
virtual

Definition at line 5625 of file qgraphicsitem.cpp.

Here is the caller graph for this function:

◆ transformChanged()

virtual void QGraphicsItemPrivate::transformChanged ( )
inlinevirtual

Definition at line 216 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ transformToParent()

QTransform QGraphicsItemPrivate::transformToParent ( ) const
inline

Definition at line 746 of file qgraphicsitem_p.h.

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 281 of file qgraphicsitem_p.h.

Here is the caller graph for this function:

◆ updateAncestorFlag()

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

Definition at line 964 of file qgraphicsitem.cpp.

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

◆ updateAncestorFlags()

void QGraphicsItemPrivate::updateAncestorFlags ( )

Definition at line 1034 of file qgraphicsitem.cpp.

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 2959 of file qgraphicsitem.cpp.

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 5510 of file qgraphicsitem.cpp.

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

◆ updateSceneTransformFromParent()

void QGraphicsItemPrivate::updateSceneTransformFromParent ( )
virtual

Definition at line 1194 of file qgraphicsitem.cpp.

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

◆ width()

qreal QGraphicsItemPrivate::width ( ) const
virtual

Reimplemented in QGraphicsWidgetPrivate.

Definition at line 7753 of file qgraphicsitem.cpp.

Member Data Documentation

◆ acceptDrops

quint32 QGraphicsItemPrivate::acceptDrops

Definition at line 472 of file qgraphicsitem_p.h.

◆ acceptedMouseButtons

quint32 QGraphicsItemPrivate::acceptedMouseButtons

Definition at line 465 of file qgraphicsitem_p.h.

◆ acceptedTouchBeginEvent

quint32 QGraphicsItemPrivate::acceptedTouchBeginEvent

Definition at line 499 of file qgraphicsitem_p.h.

◆ acceptsHover

quint32 QGraphicsItemPrivate::acceptsHover

Definition at line 471 of file qgraphicsitem_p.h.

◆ acceptTouchEvents

quint32 QGraphicsItemPrivate::acceptTouchEvents

Definition at line 498 of file qgraphicsitem_p.h.

◆ allChildrenDirty

quint32 QGraphicsItemPrivate::allChildrenDirty

Definition at line 486 of file qgraphicsitem_p.h.

◆ ancestorFlags

quint32 QGraphicsItemPrivate::ancestorFlags

Definition at line 477 of file qgraphicsitem_p.h.

◆ cacheMode

quint32 QGraphicsItemPrivate::cacheMode

Definition at line 478 of file qgraphicsitem_p.h.

◆ children

QList<QGraphicsItem *> QGraphicsItemPrivate::children

Definition at line 446 of file qgraphicsitem_p.h.

◆ childrenBoundingRect

QRectF QGraphicsItemPrivate::childrenBoundingRect

Definition at line 438 of file qgraphicsitem_p.h.

◆ dirty

quint32 QGraphicsItemPrivate::dirty

Definition at line 481 of file qgraphicsitem_p.h.

◆ dirtyChildren

quint32 QGraphicsItemPrivate::dirtyChildren

Definition at line 482 of file qgraphicsitem_p.h.

◆ dirtyChildrenBoundingRect

quint32 QGraphicsItemPrivate::dirtyChildrenBoundingRect

Definition at line 519 of file qgraphicsitem_p.h.

◆ dirtySceneTransform

quint32 QGraphicsItemPrivate::dirtySceneTransform

Definition at line 492 of file qgraphicsitem_p.h.

◆ enabled

quint32 QGraphicsItemPrivate::enabled

Definition at line 468 of file qgraphicsitem_p.h.

◆ explicitActivate

quint32 QGraphicsItemPrivate::explicitActivate

Definition at line 509 of file qgraphicsitem_p.h.

◆ explicitlyDisabled

quint32 QGraphicsItemPrivate::explicitlyDisabled

Definition at line 469 of file qgraphicsitem_p.h.

◆ explicitlyHidden

quint32 QGraphicsItemPrivate::explicitlyHidden

Definition at line 467 of file qgraphicsitem_p.h.

◆ extras

QList<ExtraStruct> QGraphicsItemPrivate::extras

Definition at line 304 of file qgraphicsitem_p.h.

◆ filtersDescendantEvents

quint32 QGraphicsItemPrivate::filtersDescendantEvents

Definition at line 500 of file qgraphicsitem_p.h.

◆ flags

quint32 QGraphicsItemPrivate::flags

Definition at line 490 of file qgraphicsitem_p.h.

◆ focusProxy

QGraphicsItem* QGraphicsItemPrivate::focusProxy

Definition at line 454 of file qgraphicsitem_p.h.

◆ focusProxyRefs

QList<QGraphicsItem **> QGraphicsItemPrivate::focusProxyRefs

Definition at line 455 of file qgraphicsitem_p.h.

◆ focusScopeItem

QGraphicsItem* QGraphicsItemPrivate::focusScopeItem

Definition at line 457 of file qgraphicsitem_p.h.

◆ fullUpdatePending

quint32 QGraphicsItemPrivate::fullUpdatePending

Definition at line 487 of file qgraphicsitem_p.h.

◆ geometryChanged

quint32 QGraphicsItemPrivate::geometryChanged

Definition at line 493 of file qgraphicsitem_p.h.

◆ gestureContext

QMap<Qt::GestureType, Qt::GestureFlags> QGraphicsItemPrivate::gestureContext

Definition at line 461 of file qgraphicsitem_p.h.

◆ globalStackingOrder

int QGraphicsItemPrivate::globalStackingOrder

Definition at line 523 of file qgraphicsitem_p.h.

◆ graphicsEffect

QGraphicsEffect* QGraphicsItemPrivate::graphicsEffect

Definition at line 449 of file qgraphicsitem_p.h.

◆ handlesChildEvents

quint32 QGraphicsItemPrivate::handlesChildEvents

Definition at line 474 of file qgraphicsitem_p.h.

◆ hasBoundingRegionGranularity

quint32 QGraphicsItemPrivate::hasBoundingRegionGranularity

Definition at line 479 of file qgraphicsitem_p.h.

◆ hasCursor

quint32 QGraphicsItemPrivate::hasCursor

Definition at line 476 of file qgraphicsitem_p.h.

◆ holesInSiblingIndex

quint32 QGraphicsItemPrivate::holesInSiblingIndex

Definition at line 511 of file qgraphicsitem_p.h.

◆ ignoreOpacity

quint32 QGraphicsItemPrivate::ignoreOpacity

Definition at line 497 of file qgraphicsitem_p.h.

◆ ignoreVisible

quint32 QGraphicsItemPrivate::ignoreVisible

Definition at line 496 of file qgraphicsitem_p.h.

◆ imHints

Qt::InputMethodHints QGraphicsItemPrivate::imHints

Definition at line 458 of file qgraphicsitem_p.h.

◆ inDestructor

quint32 QGraphicsItemPrivate::inDestructor

Definition at line 494 of file qgraphicsitem_p.h.

◆ index

int QGraphicsItemPrivate::index

Definition at line 451 of file qgraphicsitem_p.h.

◆ inSetPosHelper

quint32 QGraphicsItemPrivate::inSetPosHelper

Definition at line 484 of file qgraphicsitem_p.h.

◆ isDeclarativeItem

quint32 QGraphicsItemPrivate::isDeclarativeItem

Definition at line 517 of file qgraphicsitem_p.h.

◆ isMemberOfGroup

quint32 QGraphicsItemPrivate::isMemberOfGroup

Definition at line 473 of file qgraphicsitem_p.h.

◆ isObject

quint32 QGraphicsItemPrivate::isObject

Definition at line 495 of file qgraphicsitem_p.h.

◆ isWidget

quint32 QGraphicsItemPrivate::isWidget

Definition at line 480 of file qgraphicsitem_p.h.

◆ itemDepth

int QGraphicsItemPrivate::itemDepth

Definition at line 453 of file qgraphicsitem_p.h.

◆ itemDiscovered

quint32 QGraphicsItemPrivate::itemDiscovered

Definition at line 475 of file qgraphicsitem_p.h.

◆ localCollisionHack

quint32 QGraphicsItemPrivate::localCollisionHack

Definition at line 483 of file qgraphicsitem_p.h.

◆ mayHaveChildWithGraphicsEffect

quint32 QGraphicsItemPrivate::mayHaveChildWithGraphicsEffect

Definition at line 516 of file qgraphicsitem_p.h.

◆ mouseSetsFocus

quint32 QGraphicsItemPrivate::mouseSetsFocus

Definition at line 508 of file qgraphicsitem_p.h.

◆ needSortChildren

quint32 QGraphicsItemPrivate::needSortChildren

Definition at line 485 of file qgraphicsitem_p.h.

◆ needsRepaint

QRectF QGraphicsItemPrivate::needsRepaint

Definition at line 439 of file qgraphicsitem_p.h.

◆ notifyBoundingRectChanged

quint32 QGraphicsItemPrivate::notifyBoundingRectChanged

Definition at line 502 of file qgraphicsitem_p.h.

◆ notifyInvalidated

quint32 QGraphicsItemPrivate::notifyInvalidated

Definition at line 507 of file qgraphicsitem_p.h.

◆ opacity

qreal QGraphicsItemPrivate::opacity

Definition at line 443 of file qgraphicsitem_p.h.

◆ padding

quint32 QGraphicsItemPrivate::padding

Definition at line 520 of file qgraphicsitem_p.h.

◆ paintedViewBoundingRects

QHash<QWidget *, QRect> QGraphicsItemPrivate::paintedViewBoundingRects

Definition at line 440 of file qgraphicsitem_p.h.

◆ paintedViewBoundingRectsNeedRepaint

quint32 QGraphicsItemPrivate::paintedViewBoundingRectsNeedRepaint

Definition at line 491 of file qgraphicsitem_p.h.

◆ panelModality

QGraphicsItem::PanelModality QGraphicsItemPrivate::panelModality

Definition at line 459 of file qgraphicsitem_p.h.

◆ parent

QGraphicsItem* QGraphicsItemPrivate::parent

Definition at line 445 of file qgraphicsitem_p.h.

◆ pendingPolish

quint32 QGraphicsItemPrivate::pendingPolish

Definition at line 515 of file qgraphicsitem_p.h.

◆ pos

QPointF QGraphicsItemPrivate::pos

Definition at line 441 of file qgraphicsitem_p.h.

◆ q_ptr

QGraphicsItem* QGraphicsItemPrivate::q_ptr

Definition at line 524 of file qgraphicsitem_p.h.

◆ scene

QGraphicsScene* QGraphicsItemPrivate::scene

Definition at line 444 of file qgraphicsitem_p.h.

◆ scenePosDescendants

quint32 QGraphicsItemPrivate::scenePosDescendants

Definition at line 514 of file qgraphicsitem_p.h.

◆ sceneTransform

QTransform QGraphicsItemPrivate::sceneTransform

Definition at line 450 of file qgraphicsitem_p.h.

◆ sceneTransformTranslateOnly

quint32 QGraphicsItemPrivate::sceneTransformTranslateOnly

Definition at line 501 of file qgraphicsitem_p.h.

◆ selected

quint32 QGraphicsItemPrivate::selected

Definition at line 470 of file qgraphicsitem_p.h.

◆ sendParentChangeNotification

quint32 QGraphicsItemPrivate::sendParentChangeNotification

Definition at line 518 of file qgraphicsitem_p.h.

◆ sequentialOrdering

quint32 QGraphicsItemPrivate::sequentialOrdering

Definition at line 512 of file qgraphicsitem_p.h.

◆ siblingIndex

int QGraphicsItemPrivate::siblingIndex

Definition at line 452 of file qgraphicsitem_p.h.

◆ subFocusItem

QGraphicsItem* QGraphicsItemPrivate::subFocusItem

Definition at line 456 of file qgraphicsitem_p.h.

◆ transformData

TransformData* QGraphicsItemPrivate::transformData

Definition at line 448 of file qgraphicsitem_p.h.

◆ updateDueToGraphicsEffect

quint32 QGraphicsItemPrivate::updateDueToGraphicsEffect

Definition at line 513 of file qgraphicsitem_p.h.

◆ visible

quint32 QGraphicsItemPrivate::visible

Definition at line 466 of file qgraphicsitem_p.h.

◆ wantsActive

quint32 QGraphicsItemPrivate::wantsActive

Definition at line 510 of file qgraphicsitem_p.h.

◆ z

qreal QGraphicsItemPrivate::z

Definition at line 442 of file qgraphicsitem_p.h.


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