Qt 4.8
|
#include <qgraphicsitem_p.h>
Classes | |
struct | ExtraStruct |
struct | TransformData |
Public Types | |
enum | AncestorFlag { NoFlag = 0, AncestorHandlesChildEvents = 0x1, AncestorClipsChildren = 0x2, AncestorIgnoresTransformations = 0x4, AncestorFiltersChildEvents = 0x8 } |
enum | Extra { ExtraToolTip, ExtraCursor, ExtraCacheData, ExtraMaxDeviceCoordCacheSize, ExtraBoundingRegionGranularity } |
enum | InvalidateReason { OpacityChanged } |
Public Functions | |
void | addChild (QGraphicsItem *child) |
QGraphicsScenePrivate::registerTopLevelItem(). More... | |
void | appendGraphicsTransform (QGraphicsTransform *t) |
qreal | calcEffectiveOpacity () const |
void | childrenBoundingRectHelper (QTransform *x, QRectF *rect, QGraphicsItem *topMostEffectItem) |
Returns the bounding rect of this item's children (excluding itself). More... | |
bool | childrenClippedToShape () const |
bool | childrenCombineOpacity () const |
QDeclarativeListProperty< QGraphicsObject > | childrenList () |
Returns a list of this item's children. More... | |
void | clearFocusHelper (bool giveFocusToParent) |
void | clearSubFocus (QGraphicsItem *rootItem=0, QGraphicsItem *stopItem=0) |
qreal | combineOpacityFromParent (qreal parentOpacity) const |
void | combineTransformFromParent (QTransform *x, const QTransform *viewTransform=0) const |
Combines this item's position and transform onto transform. More... | |
void | combineTransformToParent (QTransform *x, const QTransform *viewTransform=0) const |
Combines this item's position and transform onto transform. More... | |
int | depth () const |
bool | discardUpdateRequest (bool ignoreVisibleBit=false, bool ignoreDirtyBit=false, bool ignoreOpacity=false) const |
Returns true if we can discard an update request; otherwise false. More... | |
QRectF | effectiveBoundingRect (QGraphicsItem *topMostEffectItem=0) const |
Returns the effective bounding rect of the item. More... | |
QRectF | effectiveBoundingRect (const QRectF &rect) const |
Returns the effective bounding rect of the given item space rect. More... | |
qreal | effectiveOpacity () const |
void | ensureSceneTransform () |
void | ensureSceneTransformRecursive (QGraphicsItem **topMostDirtyItem) |
void | ensureSequentialSiblingIndex () |
Ensures that the list of children is sorted by insertion order, and that the siblingIndexes are packed (no gaps), and start at 0. More... | |
void | ensureSortedChildren () |
QVariant | extra (Extra type) const |
QGraphicsItemCache * | extraItemCache () const |
virtual void | focusScopeItemChange (bool isSubFocusItem) |
Subclasses can reimplement this function to be notified when an item becomes a focusScopeItem (or is no longer a focusScopeItem). More... | |
QPointF | genericMapFromScene (const QPointF &pos, const QWidget *viewport) const |
Maps the point pos from scene to item coordinates. More... | |
bool | hasTranslateOnlySceneTransform () |
virtual qreal | height () const |
void | initStyleOption (QStyleOptionGraphicsItem *option, const QTransform &worldTransform, const QRegion &exposedRegion, bool allItems=false) const |
virtual QVariant | inputMethodQueryHelper (Qt::InputMethodQuery query) const |
This helper function helped us add input method query support in Qt 4. More... | |
void | invalidateChildGraphicsEffectsRecursively (InvalidateReason reason) |
void | invalidateChildrenSceneTransform () |
void | invalidateDepthRecursively () |
void | invalidateParentGraphicsEffectsRecursively () |
bool | isFullyTransparent () const |
bool | isInvisible () const |
bool | isOpacityNull () const |
virtual bool | isProxyWidget () const |
bool | itemIsUntransformable () const |
void | markParentDirty (bool updateBoundingRect=false) |
QGraphicsItemCache * | maybeExtraItemCache () const |
void | prependGraphicsTransform (QGraphicsTransform *t) |
QGraphicsItemPrivate () | |
void | remapItemPos (QEvent *event, QGraphicsItem *item) |
Maps any item pos properties of event to item's coordinate system. More... | |
void | removeChild (QGraphicsItem *child) |
QGraphicsScenePrivate::unregisterTopLevelItem(). More... | |
void | removeExtraItemCache () |
void | resetFocusProxy () |
Sets the focusProxy pointer to 0 for all items that have this item as their focusProxy. More... | |
virtual void | resetHeight () |
virtual void | resetWidth () |
void | resolveDepth () |
Resolves the stacking depth of this object and all its ancestors. More... | |
virtual void | resolveFont (uint inheritedMask) |
virtual void | resolvePalette (uint inheritedMask) |
QRectF | sceneEffectiveBoundingRect () const |
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. More... | |
void | sendScenePosChange () |
void | setEnabledHelper (bool newEnabled, bool explicitly, bool update=true) |
Sets this item's visibility to newEnabled. More... | |
void | setExtra (Extra type, const QVariant &value) |
void | setFocusHelper (Qt::FocusReason focusReason, bool climb, bool focusFromHide) |
virtual void | setHeight (qreal) |
void | setIsMemberOfGroup (bool enabled) |
Propagates item group membership. More... | |
void | setParentItemHelper (QGraphicsItem *parent, const QVariant *newParentVariant, const QVariant *thisPointerVariant) |
Make sure not to trigger any pure virtual function calls (e. More... | |
virtual void | setPosHelper (const QPointF &pos) |
Sets the position pos. More... | |
void | setSubFocus (QGraphicsItem *rootItem=0, QGraphicsItem *stopItem=0) |
void | setTransformHelper (const QTransform &transform) |
Sets the transform transform. More... | |
void | setVisibleHelper (bool newVisible, bool explicitly, bool update=true) |
Sets this item's visibility to newVisible. More... | |
virtual void | setWidth (qreal) |
virtual void | siblingOrderChange () |
Subclasses can reimplement this function to be notified when its siblingIndex order is changed. More... | |
virtual void | subFocusItemChange () |
Subclasses can reimplement this function to be notified when subFocusItem changes. More... | |
virtual void | transformChanged () |
QTransform | transformToParent () const |
void | unsetExtra (Extra type) |
void | 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. More... | |
void | updateAncestorFlags () |
void | updateChildWithGraphicsEffectFlagRecursively () |
void | updatePaintedViewBoundingRects (bool updateChildren) |
virtual void | updateSceneTransformFromParent () |
virtual qreal | width () const |
virtual | ~QGraphicsItemPrivate () |
Static Public Functions | |
static void | children_append (QDeclarativeListProperty< QGraphicsObject > *list, QGraphicsObject *item) |
static QGraphicsObject * | children_at (QDeclarativeListProperty< QGraphicsObject > *list, int) |
static void | children_clear (QDeclarativeListProperty< QGraphicsObject > *list) |
static int | children_count (QDeclarativeListProperty< QGraphicsObject > *list) |
static const QGraphicsItemPrivate * | get (const QGraphicsItem *item) |
static QGraphicsItemPrivate * | get (QGraphicsItem *item) |
static bool | insertionOrder (QGraphicsItem *a, QGraphicsItem *b) |
static bool | isOpacityNull (qreal opacity) |
static bool | movableAncestorIsSelected (const QGraphicsItem *item) |
Definition at line 158 of file qgraphicsitem_p.h.
Enumerator | |
---|---|
NoFlag | |
AncestorHandlesChildEvents | |
AncestorClipsChildren | |
AncestorIgnoresTransformations | |
AncestorFiltersChildEvents |
Definition at line 170 of file qgraphicsitem_p.h.
Enumerator | |
---|---|
ExtraToolTip | |
ExtraCursor | |
ExtraCacheData | |
ExtraMaxDeviceCoordCacheSize | |
ExtraBoundingRegionGranularity |
Definition at line 162 of file qgraphicsitem_p.h.
|
inline |
Definition at line 178 of file qgraphicsitem_p.h.
|
inlinevirtual |
Definition at line 247 of file qgraphicsitem_p.h.
void QGraphicsItemPrivate::addChild | ( | QGraphicsItem * | child | ) |
QGraphicsScenePrivate::registerTopLevelItem().
Definition at line 5794 of file qgraphicsitem.cpp.
void QGraphicsItemPrivate::appendGraphicsTransform | ( | QGraphicsTransform * | t | ) |
Definition at line 4305 of file qgraphicsitem.cpp.
|
inline |
Definition at line 401 of file qgraphicsitem_p.h.
|
static |
Definition at line 8163 of file qgraphicsitem.cpp.
|
static |
Definition at line 8181 of file qgraphicsitem.cpp.
|
static |
Definition at line 8190 of file qgraphicsitem.cpp.
|
static |
Definition at line 8175 of file qgraphicsitem.cpp.
void QGraphicsItemPrivate::childrenBoundingRectHelper | ( | QTransform * | x, |
QRectF * | rect, | ||
QGraphicsItem * | topMostEffectItem | ||
) |
Returns the bounding rect of this item's children (excluding itself).
Definition at line 1341 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::childrenBoundingRect(), and childrenBoundingRectHelper().
|
inline |
Definition at line 470 of file qgraphicsitem_p.h.
|
inline |
Definition at line 456 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsSceneIndexPrivate::recursive_items_helper().
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 8210 of file qgraphicsitem.cpp.
Referenced by QDeclarativeFlickablePrivate::data_clear().
void QGraphicsItemPrivate::clearFocusHelper | ( | bool | giveFocusToParent | ) |
Definition at line 3529 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::clearFocus().
void QGraphicsItemPrivate::clearSubFocus | ( | QGraphicsItem * | rootItem = 0 , |
QGraphicsItem * | stopItem = 0 |
||
) |
Definition at line 5951 of file qgraphicsitem.cpp.
Referenced by QGraphicsScenePrivate::removeItemHelper(), setFocusHelper(), and setSubFocus().
Definition at line 447 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsSceneIndexPrivate::recursive_items_helper().
void QGraphicsItemPrivate::combineTransformFromParent | ( | QTransform * | x, |
const QTransform * | viewTransform = 0 |
||
) | 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 1073 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::deviceTransform(), and QGraphicsItem::itemTransform().
void QGraphicsItemPrivate::combineTransformToParent | ( | QTransform * | x, |
const QTransform * | viewTransform = 0 |
||
) | 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 1048 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::itemTransform().
int QGraphicsItemPrivate::depth | ( | ) | const |
Definition at line 5711 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::commonAncestorItem(), QGraphicsItem::isAncestorOf(), and qt_closestItemFirst().
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 5697 of file qgraphicsitem.cpp.
Referenced by QGraphicsScenePrivate::markDirty().
QRectF QGraphicsItemPrivate::effectiveBoundingRect | ( | QGraphicsItem * | topMostEffectItem = 0 | ) | const |
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 bouding rect, depending on the effect.
Definition at line 2994 of file qgraphicsitem.cpp.
Referenced by childrenBoundingRectHelper(), and effectiveBoundingRect().
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.
Definition at line 2960 of file qgraphicsitem.cpp.
|
inline |
Definition at line 440 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::effectiveOpacity().
|
inline |
Definition at line 383 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::deviceTransform(), QGraphicsItem::itemTransform(), QGraphicsItem::sceneMatrix(), and QGraphicsItem::sceneTransform().
void QGraphicsItemPrivate::ensureSceneTransformRecursive | ( | QGraphicsItem ** | topMostDirtyItem | ) |
Definition at line 5891 of file qgraphicsitem.cpp.
Referenced by ensureSceneTransformRecursive().
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.
QGraphicsScenePrivate::ensureSequentialTopLevelSiblingIndexes().
Definition at line 4956 of file qgraphicsitem.cpp.
Referenced by QGraphicsScenePrivate::registerTopLevelItem(), and QGraphicsItem::stackBefore().
|
inline |
Definition at line 824 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), QGraphicsItem::childItems(), QGraphicsScenePrivate::draw(), and QGraphicsSceneIndexPrivate::recursive_items_helper().
Definition at line 326 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::boundingRegionGranularity(), QGraphicsItem::cursor(), QGraphicsScenePrivate::drawItemHelper(), QGraphicsProxyWidgetPrivate::embedSubWindow(), QGraphicsSvgItem::setMaximumCacheSize(), and QGraphicsItem::toolTip().
QGraphicsItemCache * QGraphicsItemPrivate::extraItemCache | ( | ) | const |
Definition at line 5844 of file qgraphicsitem.cpp.
Referenced by QGraphicsScenePrivate::drawItemHelper(), QGraphicsItem::setCacheMode(), and QGraphicsItem::update().
|
virtual |
Subclasses can reimplement this function to be notified when an item becomes a focusScopeItem (or is no longer a focusScopeItem).
Reimplemented in QDeclarativeItemPrivate.
Definition at line 6002 of file qgraphicsitem.cpp.
Referenced by setFocusHelper(), and setParentItemHelper().
QPointF QGraphicsItemPrivate::genericMapFromScene | ( | const QPointF & | pos, |
const QWidget * | viewport | ||
) | 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 1022 of file qgraphicsitem.cpp.
Referenced by QGraphicsScene::contextMenuEvent(), QGraphicsScenePrivate::sendDragDropEvent(), QGraphicsScenePrivate::sendHoverEvent(), QGraphicsScenePrivate::sendMouseEvent(), QGraphicsScenePrivate::storeMouseButtonsForMouseGrabber(), QGraphicsScenePrivate::updateTouchPointsForItem(), and QGraphicsScene::wheelEvent().
|
inlinestatic |
Definition at line 250 of file qgraphicsitem_p.h.
Referenced by QDeclarativeAnchorsPrivate::addDepend(), adjustedItemEffectiveBoundingRect(), adjustedPosition(), children_append(), children_at(), children_at_helper(), children_clear(), children_clear_helper(), children_count(), children_count_helper(), QDeclarativeLoaderPrivate::clear(), QDeclarativeListViewPrivate::createHighlight(), QDeclarativeListViewPrivate::createItem(), QDeclarativeItemPrivate::data_append(), QDeclarativeFlickablePrivate::data_append(), QDeclarativeFlickablePrivate::data_clear(), QDeclarativeColumn::doPositioning(), QDeclarativeRow::doPositioning(), QDeclarativeGrid::doPositioning(), QDeclarativeFlow::doPositioning(), QDeclarativeAnchorsPrivate::fillChanged(), QDeclarativeItemPrivate::focusChanged(), QDeclarativePathViewPrivate::getItem(), hcenter(), QDeclarativeFlickablePrivate::init(), QDeclarativeLoaderPrivate::initResize(), QDeclarativeViewPrivate::initResize(), QGraphicsSceneIndexRectIntersector::intersect(), QGraphicsSceneIndexPointIntersector::intersect(), QGraphicsSceneIndexPathIntersector::intersect(), QDeclarativeAnchors::mirrored(), position(), QDeclarativeBasePositioner::prePositioning(), QDeclarativeItemKeyFilter::QDeclarativeItemKeyFilter(), QDeclarativePathViewPrivate::releaseItem(), QDeclarativeListViewPrivate::releaseItem(), QDeclarativeAnchorsPrivate::remDepend(), QDeclarativeColumn::reportConflictingAnchors(), QDeclarativeRow::reportConflictingAnchors(), QDeclarativeGrid::reportConflictingAnchors(), QDeclarativeFlow::reportConflictingAnchors(), QDeclarativeFlipablePrivate::setBackTransform(), QDeclarativeAnchorsPrivate::setItemHeight(), QDeclarativeAnchorsPrivate::setItemSize(), QDeclarativeAnchorsPrivate::setItemWidth(), QDeclarativeView::setResizeMode(), QDeclarativeItemPrivate::transform_append(), QDeclarativeItemPrivate::transform_at(), QDeclarativeItemPrivate::transform_clear(), QDeclarativeItemPrivate::transform_count(), QDeclarativeBasePositionerPrivate::unwatchChanges(), QDeclarativeGridViewPrivate::updateFooter(), QDeclarativeListViewPrivate::updateFooter(), QDeclarativeGridViewPrivate::updateHeader(), QDeclarativeListViewPrivate::updateHeader(), QDeclarativeAnchorsPrivate::updateHorizontalAnchors(), QDeclarativeAnchorsPrivate::updateVerticalAnchors(), QDeclarativeFlickableVisibleArea::updateVisible(), vcenter(), QDeclarativeBasePositionerPrivate::watchChanges(), and QDeclarativeLoader::~QDeclarativeLoader().
|
inlinestatic |
Definition at line 254 of file qgraphicsitem_p.h.
|
inline |
Definition at line 389 of file qgraphicsitem_p.h.
Referenced by QGraphicsView::fitInView(), QGraphicsItem::mapFromScene(), QGraphicsItem::mapRectFromScene(), QGraphicsItem::mapRectToScene(), QGraphicsItem::mapToScene(), QGraphicsItem::prepareGeometryChange(), and QGraphicsItem::sceneBoundingRect().
|
virtual |
Reimplemented in QDeclarativeItemPrivate, and QGraphicsWidgetPrivate.
Definition at line 8257 of file qgraphicsitem.cpp.
Referenced by adjustedPosition(), QDeclarativeColumn::doPositioning(), QDeclarativeRow::doPositioning(), QDeclarativeGrid::doPositioning(), QDeclarativeFlow::doPositioning(), QDeclarativeAnchorsPrivate::fillChanged(), position(), QDeclarativeBasePositioner::prePositioning(), QDeclarativeFlipablePrivate::setBackTransform(), QDeclarativeAnchorsPrivate::updateVerticalAnchors(), and vcenter().
void QGraphicsItemPrivate::initStyleOption | ( | QStyleOptionGraphicsItem * | option, |
const QTransform & | worldTransform, | ||
const QRegion & | exposedRegion, | ||
bool | allItems = false |
||
) | const |
Definition at line 1384 of file qgraphicsitem.cpp.
Referenced by QGraphicsScenePrivate::draw(), and QGraphicsView::paintEvent().
|
virtual |
This helper function helped us add input method query support in Qt 4.
4.1 without having to reimplement the inputMethodQuery() function in QGraphicsProxyWidget. ### Qt 5: Remove. We cannot remove it in 4.5+ even if we do reimplement the function properly, because apps compiled with 4.4 will not be able to call the reimplementation.
Reimplemented in QGraphicsProxyWidgetPrivate.
Definition at line 1134 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::inputMethodQuery().
|
inlinestatic |
Definition at line 844 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::ensureSequentialTopLevelSiblingIndexes().
void QGraphicsItemPrivate::invalidateChildGraphicsEffectsRecursively | ( | QGraphicsItemPrivate::InvalidateReason | reason | ) |
Definition at line 5734 of file qgraphicsitem.cpp.
Referenced by invalidateChildGraphicsEffectsRecursively(), and QGraphicsItem::setOpacity().
|
inline |
Definition at line 395 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsSceneIndexPrivate::recursive_items_helper().
void QGraphicsItemPrivate::invalidateDepthRecursively | ( | ) |
Definition at line 5756 of file qgraphicsitem.cpp.
Referenced by invalidateDepthRecursively().
void QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively | ( | ) |
Definition at line 5723 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setOpacity(), and QGraphicsItem::update().
|
inline |
Definition at line 430 of file qgraphicsitem_p.h.
|
inline |
Definition at line 473 of file qgraphicsitem_p.h.
|
inline |
Definition at line 424 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::draw(), QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), and QGraphicsItem::setOpacity().
|
inlinestatic |
Definition at line 427 of file qgraphicsitem_p.h.
|
virtual |
Tells us if it is a proxy widget
Reimplemented in QGraphicsProxyWidgetPrivate.
Definition at line 6025 of file qgraphicsitem.cpp.
Referenced by QGraphicsProxyWidgetPrivate::setWidget_helper().
|
inline |
Definition at line 266 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::deviceTransform(), QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsSceneIndexRectIntersector::intersect(), QGraphicsSceneIndexPointIntersector::intersect(), QGraphicsSceneIndexPathIntersector::intersect(), QGraphicsSceneBspTreeIndex::itemChange(), QGraphicsViewPrivate::mapToViewRect(), QGraphicsView::paintEvent(), QGraphicsSceneBspTreeIndex::prepareBoundingRectChange(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), QGraphicsSceneBspTreeIndexPrivate::removeItem(), and QGraphicsViewPrivate::setUpdateClip().
|
inline |
Definition at line 852 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), QGraphicsItem::prepareGeometryChange(), and QGraphicsItem::setFlags().
QGraphicsItemCache * QGraphicsItemPrivate::maybeExtraItemCache | ( | ) | const |
Definition at line 5836 of file qgraphicsitem.cpp.
|
static |
Definition at line 7529 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::mouseMoveEvent().
void QGraphicsItemPrivate::prependGraphicsTransform | ( | QGraphicsTransform * | t | ) |
Definition at line 4288 of file qgraphicsitem.cpp.
Referenced by QDeclarativeItemPrivate::transform_append().
void QGraphicsItemPrivate::remapItemPos | ( | QEvent * | event, |
QGraphicsItem * | item | ||
) |
Maps any item pos properties of event to item's coordinate system.
Definition at line 973 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::sceneEvent().
void QGraphicsItemPrivate::removeChild | ( | QGraphicsItem * | child | ) |
QGraphicsScenePrivate::unregisterTopLevelItem().
Definition at line 5815 of file qgraphicsitem.cpp.
void QGraphicsItemPrivate::removeExtraItemCache | ( | ) |
Definition at line 5858 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setCacheMode(), and QGraphicsItem::~QGraphicsItem().
void QGraphicsItemPrivate::resetFocusProxy | ( | ) |
Sets the focusProxy pointer to 0 for all items that have this item as their focusProxy.
Definition at line 5973 of file qgraphicsitem.cpp.
Referenced by QGraphicsScenePrivate::removeItemHelper(), and QGraphicsItem::~QGraphicsItem().
|
virtual |
Reimplemented in QDeclarativeItemPrivate, and QGraphicsWidgetPrivate.
Definition at line 8277 of file qgraphicsitem.cpp.
|
virtual |
Reimplemented in QDeclarativeItemPrivate, and QGraphicsWidgetPrivate.
Definition at line 8248 of file qgraphicsitem.cpp.
void QGraphicsItemPrivate::resolveDepth | ( | ) |
Resolves the stacking depth of this object and all its ancestors.
Definition at line 5774 of file qgraphicsitem.cpp.
|
inlinevirtual |
Reimplemented in QGraphicsWidgetPrivate.
Definition at line 312 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), QGraphicsWidgetPrivate::updateFont(), and QGraphicsScenePrivate::updateFont().
|
inlinevirtual |
Reimplemented in QGraphicsWidgetPrivate.
Definition at line 318 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), QGraphicsWidgetPrivate::updatePalette(), and QGraphicsScenePrivate::updatePalette().
QRectF QGraphicsItemPrivate::sceneEffectiveBoundingRect | ( | ) | const |
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().
Definition at line 3038 of file qgraphicsitem.cpp.
Referenced by QGraphicsSceneBspTreeIndexPrivate::removeItem().
|
inline |
Definition at line 4973 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setPos(), and QGraphicsItem::setTransform().
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 2618 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setEnabled(), and setEnabledHelper().
Definition at line 336 of file qgraphicsitem_p.h.
Referenced by extraItemCache(), QGraphicsItem::setBoundingRegionGranularity(), QGraphicsItem::setCursor(), QGraphicsSvgItem::setMaximumCacheSize(), and QGraphicsItem::setToolTip().
void QGraphicsItemPrivate::setFocusHelper | ( | Qt::FocusReason | focusReason, |
bool | climb, | ||
bool | focusFromHide | ||
) |
Definition at line 3450 of file qgraphicsitem.cpp.
Referenced by clearFocusHelper(), QGraphicsItem::setFocus(), and setVisibleHelper().
|
virtual |
Reimplemented in QDeclarativeItemPrivate, and QGraphicsWidgetPrivate.
Definition at line 8267 of file qgraphicsitem.cpp.
Referenced by QDeclarativeAnchorsPrivate::setItemHeight().
void QGraphicsItemPrivate::setIsMemberOfGroup | ( | bool | enabled | ) |
Propagates item group membership.
Definition at line 955 of file qgraphicsitem.cpp.
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 1150 of file qgraphicsitem.cpp.
Referenced by children_append(), QDeclarativeItemPrivate::data_append(), QDeclarativeFlickablePrivate::data_append(), QGraphicsWidgetPrivate::init(), and QGraphicsItem::setParentItem().
|
virtual |
Sets the position pos.
Reimplemented in QDeclarativeItemPrivate.
Definition at line 3903 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setPos(), and QDeclarativeItemPrivate::setPosHelper().
void QGraphicsItemPrivate::setSubFocus | ( | QGraphicsItem * | rootItem = 0 , |
QGraphicsItem * | stopItem = 0 |
||
) |
Definition at line 5923 of file qgraphicsitem.cpp.
Referenced by setFocusHelper().
void QGraphicsItemPrivate::setTransformHelper | ( | const QTransform & | transform | ) |
Sets the transform transform.
Definition at line 3929 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setMatrix(), and QGraphicsItem::setTransform().
void QGraphicsItemPrivate::setVisibleHelper | ( | bool | newVisible, |
bool | explicitly, | ||
bool | update = true |
||
) |
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 2387 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setVisible(), and setVisibleHelper().
|
virtual |
Reimplemented in QDeclarativeItemPrivate, and QGraphicsWidgetPrivate.
Definition at line 8238 of file qgraphicsitem.cpp.
Referenced by QDeclarativeAnchorsPrivate::setItemWidth().
|
virtual |
Subclasses can reimplement this function to be notified when its siblingIndex order is changed.
Reimplemented in QDeclarativeItemPrivate.
Definition at line 6016 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::stackBefore().
|
virtual |
Subclasses can reimplement this function to be notified when subFocusItem changes.
Definition at line 5989 of file qgraphicsitem.cpp.
Referenced by clearSubFocus(), and setSubFocus().
|
inlinevirtual |
Reimplemented in QDeclarativeItemPrivate.
Definition at line 288 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::setRotation(), QGraphicsItem::setScale(), and QGraphicsItem::setTransformations().
|
inline |
Definition at line 814 of file qgraphicsitem_p.h.
Referenced by childrenBoundingRectHelper(), QGraphicsItem::mapFromParent(), QGraphicsItem::mapRectFromParent(), QGraphicsItem::mapRectToParent(), and QGraphicsItem::mapToParent().
|
inline |
Definition at line 353 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::setBoundingRegionGranularity(), and QGraphicsItem::unsetCursor().
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 853 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setFiltersChildEvents(), QGraphicsItem::setFlags(), and QGraphicsItem::setHandlesChildEvents().
void QGraphicsItemPrivate::updateAncestorFlags | ( | ) |
Definition at line 919 of file qgraphicsitem.cpp.
void QGraphicsItemPrivate::updateChildWithGraphicsEffectFlagRecursively | ( | ) |
Definition at line 2934 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setGraphicsEffect(), and setParentItemHelper().
void QGraphicsItemPrivate::updatePaintedViewBoundingRects | ( | bool | updateChildren | ) |
Definition at line 5868 of file qgraphicsitem.cpp.
Referenced by QGraphicsItem::setFlags(), and updatePaintedViewBoundingRects().
|
virtual |
Reimplemented in QDeclarativeFlipablePrivate.
Definition at line 1085 of file qgraphicsitem.cpp.
Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), and QDeclarativeFlipablePrivate::updateSceneTransformFromParent().
|
virtual |
Reimplemented in QDeclarativeItemPrivate, and QGraphicsWidgetPrivate.
Definition at line 8228 of file qgraphicsitem.cpp.
Referenced by adjustedPosition(), QDeclarativeColumn::doPositioning(), QDeclarativeRow::doPositioning(), QDeclarativeGrid::doPositioning(), QDeclarativeFlow::doPositioning(), QDeclarativeAnchorsPrivate::fillChanged(), hcenter(), position(), QDeclarativeBasePositioner::prePositioning(), QDeclarativeFlipablePrivate::setBackTransform(), and QDeclarativeAnchorsPrivate::updateHorizontalAnchors().
quint32 QGraphicsItemPrivate::acceptDrops |
Definition at line 543 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::acceptDrops(), and QGraphicsItem::setAcceptDrops().
quint32 QGraphicsItemPrivate::acceptedMouseButtons |
Definition at line 536 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::acceptedMouseButtons(), QDeclarativeItemPrivate::QDeclarativeItemPrivate(), QDeclarativeTextPrivate::QDeclarativeTextPrivate(), and QGraphicsItem::setAcceptedMouseButtons().
quint32 QGraphicsItemPrivate::acceptedTouchBeginEvent |
Definition at line 571 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::sendTouchBeginEvent().
quint32 QGraphicsItemPrivate::acceptsHover |
Definition at line 542 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::acceptHoverEvents(), QGraphicsItem::acceptsHoverEvents(), QGraphicsScenePrivate::itemAcceptsHoverEvents_helper(), and QGraphicsItem::setAcceptHoverEvents().
quint32 QGraphicsItemPrivate::acceptTouchEvents |
Definition at line 570 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::acceptTouchEvents(), QGraphicsScene::addItem(), and QGraphicsItem::setAcceptTouchEvents().
quint32 QGraphicsItemPrivate::allChildrenDirty |
Definition at line 557 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsScenePrivate::resetDirtyItem().
quint32 QGraphicsItemPrivate::ancestorFlags |
Definition at line 548 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::addToIndex(), QGraphicsItem::clipPath(), QGraphicsItem::collidesWithItem(), QGraphicsItem::deviceTransform(), effectiveBoundingRect(), QGraphicsScenePrivate::filterDescendantEvent(), QGraphicsSceneBspTreeIndex::itemChange(), QGraphicsItem::mouseMoveEvent(), QGraphicsSceneBspTreeIndex::prepareBoundingRectChange(), QGraphicsItem::removeFromIndex(), QGraphicsSceneBspTreeIndexPrivate::removeItem(), QGraphicsItem::sceneEvent(), and updateAncestorFlags().
quint32 QGraphicsItemPrivate::cacheMode |
Definition at line 549 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::cacheMode(), QGraphicsScenePrivate::draw(), QGraphicsScenePrivate::drawItemHelper(), QGraphicsItem::setCacheMode(), and QGraphicsItem::update().
QList<QGraphicsItem *> QGraphicsItemPrivate::children |
Definition at line 517 of file qgraphicsitem_p.h.
Referenced by QGraphicsSceneBspTreeIndexPrivate::addItem(), QGraphicsScene::addItem(), QGraphicsItem::childItems(), children_at(), children_at_helper(), children_clear(), children_clear_helper(), children_count(), children_count_helper(), childrenBoundingRectHelper(), QGraphicsSceneBspTreeIndexPrivate::climbTree(), QGraphicsScenePrivate::draw(), QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsSceneBspTreeIndex::prepareBoundingRectChange(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), QGraphicsSceneBspTreeIndexPrivate::removeItem(), QGraphicsScenePrivate::removeItemHelper(), QGraphicsScenePrivate::resetDirtyItem(), QGraphicsItem::sceneEvent(), QGraphicsWidgetPrivate::setLayoutDirection_helper(), QGraphicsItem::stackBefore(), QGraphicsProxyWidgetPrivate::unembedSubWindow(), QGraphicsWidgetPrivate::updateFont(), QGraphicsWidgetPrivate::updatePalette(), and QGraphicsItem::~QGraphicsItem().
QRectF QGraphicsItemPrivate::childrenBoundingRect |
Definition at line 509 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::childrenBoundingRect().
quint32 QGraphicsItemPrivate::dirty |
Definition at line 552 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), markParentDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsScenePrivate::resetDirtyItem().
quint32 QGraphicsItemPrivate::dirtyChildren |
Definition at line 553 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), markParentDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsScenePrivate::resetDirtyItem().
quint32 QGraphicsItemPrivate::dirtyChildrenBoundingRect |
Definition at line 559 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::childrenBoundingRect(), markParentDirty(), and QGraphicsItem::setFlags().
quint32 QGraphicsItemPrivate::dirtySceneTransform |
Definition at line 564 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::draw(), QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsSceneIndexRectIntersector::intersect(), QGraphicsSceneIndexPointIntersector::intersect(), QGraphicsSceneIndexPathIntersector::intersect(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), QGraphicsTransformPrivate::setItem(), QGraphicsItem::setRotation(), QGraphicsItem::setScale(), QGraphicsItem::setTransformations(), QGraphicsItem::setTransformOriginPoint(), and QGraphicsTransformPrivate::updateItem().
quint32 QGraphicsItemPrivate::enabled |
Definition at line 539 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::isEnabled(), and QGraphicsItem::setSelected().
quint32 QGraphicsItemPrivate::explicitActivate |
Definition at line 579 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), and QGraphicsItem::setActive().
quint32 QGraphicsItemPrivate::explicitlyDisabled |
Definition at line 540 of file qgraphicsitem_p.h.
Referenced by setEnabledHelper().
quint32 QGraphicsItemPrivate::explicitlyHidden |
Definition at line 538 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::_q_polishItems(), QGraphicsItem::isVisibleTo(), QDeclarativeBasePositioner::prePositioning(), and setVisibleHelper().
QList<ExtraStruct> QGraphicsItemPrivate::extras |
Definition at line 375 of file qgraphicsitem_p.h.
quint32 QGraphicsItemPrivate::filtersDescendantEvents |
Definition at line 572 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::filterDescendantEvent(), QGraphicsItem::filtersChildEvents(), QGraphicsItem::setFiltersChildEvents(), and updateAncestorFlags().
quint32 QGraphicsItemPrivate::flags |
Definition at line 562 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), calcEffectiveOpacity(), QGraphicsItem::clipPath(), QGraphicsScenePrivate::draw(), QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsItem::flags(), QGraphicsWidgetPrivate::init(), invalidateChildGraphicsEffectsRecursively(), QGraphicsItem::isPanel(), QGraphicsSceneBspTreeIndex::itemChange(), QGraphicsScenePrivate::markDirty(), QGraphicsScenePrivate::mousePressEventHandler(), QGraphicsItem::panel(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QDeclarativeImageBasePrivate::QDeclarativeImageBasePrivate(), QDeclarativeItemPrivate::QDeclarativeItemPrivate(), QDeclarativeRectanglePrivate::QDeclarativeRectanglePrivate(), QDeclarativeTextPrivate::QDeclarativeTextPrivate(), qt_closestItemFirst(), qt_closestLeaf(), QGraphicsSceneIndexPrivate::recursive_items_helper(), QGraphicsScenePrivate::sendTouchBeginEvent(), QGraphicsItem::setFlag(), QGraphicsItem::setFlags(), QGraphicsItem::setMatrix(), QGraphicsItem::setOpacity(), setParentItemHelper(), QGraphicsItem::setPos(), QGraphicsItem::setRotation(), QGraphicsItem::setScale(), QGraphicsItem::setSelected(), QGraphicsItem::setTransform(), QGraphicsItem::setTransformOriginPoint(), QGraphicsItem::setZValue(), and updateAncestorFlags().
QGraphicsItem* QGraphicsItemPrivate::focusProxy |
Definition at line 525 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::focusProxy(), QGraphicsItem::hasFocus(), setFocusHelper(), and QGraphicsItem::setFocusProxy().
QList<QGraphicsItem **> QGraphicsItemPrivate::focusProxyRefs |
Definition at line 526 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::setFocusProxy().
QGraphicsItem* QGraphicsItemPrivate::focusScopeItem |
Definition at line 528 of file qgraphicsitem_p.h.
Referenced by clearFocusHelper(), QDeclarativeItemPrivate::focusChanged(), QGraphicsItem::focusScopeItem(), setFocusHelper(), setParentItemHelper(), setVisibleHelper(), and QGraphicsItem::~QGraphicsItem().
quint32 QGraphicsItemPrivate::fullUpdatePending |
Definition at line 558 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), markParentDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsScenePrivate::resetDirtyItem(), and QGraphicsItem::update().
quint32 QGraphicsItemPrivate::geometryChanged |
Definition at line 565 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::prepareGeometryChange(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsScenePrivate::resetDirtyItem().
QMap<Qt::GestureType, Qt::GestureFlags> QGraphicsItemPrivate::gestureContext |
Definition at line 532 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), QGraphicsScenePrivate::cancelGesturesForChildren(), QGraphicsScenePrivate::gestureEventHandler(), QGraphicsObject::grabGesture(), QGraphicsScenePrivate::removeItemHelper(), and QGraphicsItem::~QGraphicsItem().
int QGraphicsItemPrivate::globalStackingOrder |
QGraphicsEffect* QGraphicsItemPrivate::graphicsEffect |
Definition at line 520 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), effectiveBoundingRect(), QGraphicsItem::graphicsEffect(), invalidateChildGraphicsEffectsRecursively(), invalidateParentGraphicsEffectsRecursively(), QGraphicsScenePrivate::markDirty(), markParentDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsScenePrivate::resetDirtyItem(), QGraphicsItem::setGraphicsEffect(), and QGraphicsItem::~QGraphicsItem().
quint32 QGraphicsItemPrivate::handlesChildEvents |
Definition at line 545 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::handlesChildEvents(), QGraphicsItem::setHandlesChildEvents(), and updateAncestorFlags().
quint32 QGraphicsItemPrivate::hasBoundingRegionGranularity |
Definition at line 550 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::boundingRegionGranularity(), QGraphicsItem::setBoundingRegionGranularity(), and updateHelper().
quint32 QGraphicsItemPrivate::hasCursor |
Definition at line 547 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), QGraphicsItem::hasCursor(), QGraphicsItem::setCursor(), and QGraphicsItem::unsetCursor().
quint32 QGraphicsItemPrivate::holesInSiblingIndex |
Definition at line 581 of file qgraphicsitem_p.h.
quint32 QGraphicsItemPrivate::ignoreOpacity |
Definition at line 569 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsScenePrivate::resetDirtyItem().
quint32 QGraphicsItemPrivate::ignoreVisible |
Definition at line 568 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsScenePrivate::resetDirtyItem().
Qt::InputMethodHints QGraphicsItemPrivate::imHints |
Definition at line 529 of file qgraphicsitem_p.h.
quint32 QGraphicsItemPrivate::inDestructor |
Definition at line 566 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::prepareGeometryChange(), QGraphicsSceneBspTreeIndexPrivate::removeItem(), QGraphicsScenePrivate::removeItemHelper(), QGraphicsItem::setPos(), QGraphicsItem::setX(), QGraphicsItem::setY(), and QGraphicsItem::~QGraphicsItem().
int QGraphicsItemPrivate::index |
quint32 QGraphicsItemPrivate::inSetPosHelper |
Definition at line 555 of file qgraphicsitem_p.h.
Referenced by markParentDirty(), and QGraphicsItem::prepareGeometryChange().
quint32 QGraphicsItemPrivate::isDeclarativeItem |
Definition at line 587 of file qgraphicsitem_p.h.
Referenced by QDeclarativeAnchorsPrivate::addDepend(), QGraphicsScene::addItem(), adjustedPosition(), QDeclarativeAnchors::mirrored(), position(), QDeclarativeAnchorsPrivate::remDepend(), QDeclarativeColumn::reportConflictingAnchors(), QDeclarativeRow::reportConflictingAnchors(), QDeclarativeGrid::reportConflictingAnchors(), QDeclarativeFlow::reportConflictingAnchors(), QDeclarativeAnchorsPrivate::setItemSize(), QDeclarativeBasePositionerPrivate::unwatchChanges(), QDeclarativeAnchorsPrivate::updateVerticalAnchors(), and QDeclarativeBasePositionerPrivate::watchChanges().
quint32 QGraphicsItemPrivate::isMemberOfGroup |
Definition at line 544 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::group().
quint32 QGraphicsItemPrivate::isObject |
Definition at line 567 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::parentObject(), QGraphicsObject::QGraphicsObject(), QGraphicsItem::setOpacity(), QGraphicsItem::setRotation(), QGraphicsItem::setScale(), QGraphicsItem::setZValue(), QGraphicsItem::toGraphicsObject(), QGraphicsScenePrivate::ungrabGesture(), and QGraphicsItem::~QGraphicsItem().
quint32 QGraphicsItemPrivate::isWidget |
Definition at line 551 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::_q_polishItems(), QDeclarativeAnchorsPrivate::addDepend(), QGraphicsScenePrivate::draw(), QGraphicsWidgetPrivate::init(), QGraphicsItem::isWidget(), QGraphicsItem::isWindow(), QGraphicsScenePrivate::itemAcceptsHoverEvents_helper(), QGraphicsItem::mousePressEvent(), QDeclarativeAnchorsPrivate::remDepend(), QGraphicsItem::sceneEvent(), and QGraphicsItem::setPos().
int QGraphicsItemPrivate::itemDepth |
Definition at line 524 of file qgraphicsitem_p.h.
quint32 QGraphicsItemPrivate::itemDiscovered |
Definition at line 546 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::drawItems(), QGraphicsSceneBspTree::items(), and QGraphicsSceneBspTreeIndexPrivate::removeItem().
quint32 QGraphicsItemPrivate::localCollisionHack |
Definition at line 554 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::collidesWithItem(), and QGraphicsItem::collidesWithPath().
quint32 QGraphicsItemPrivate::mayHaveChildWithGraphicsEffect |
Definition at line 586 of file qgraphicsitem_p.h.
Referenced by updateChildWithGraphicsEffectFlagRecursively().
quint32 QGraphicsItemPrivate::mouseSetsFocus |
Definition at line 578 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::mousePressEventHandler(), QGraphicsScenePrivate::sendTouchBeginEvent(), and QGraphicsScene::wheelEvent().
quint32 QGraphicsItemPrivate::needSortChildren |
Definition at line 556 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::setFlags(), and QGraphicsItem::setZValue().
QRectF QGraphicsItemPrivate::needsRepaint |
Definition at line 510 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::markDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsScenePrivate::resetDirtyItem().
quint32 QGraphicsItemPrivate::notifyBoundingRectChanged |
Definition at line 574 of file qgraphicsitem_p.h.
Referenced by markParentDirty(), QGraphicsItem::prepareGeometryChange(), and QGraphicsScenePrivate::resetDirtyItem().
quint32 QGraphicsItemPrivate::notifyInvalidated |
Definition at line 575 of file qgraphicsitem_p.h.
Referenced by invalidateChildGraphicsEffectsRecursively(), invalidateParentGraphicsEffectsRecursively(), markParentDirty(), and QGraphicsScenePrivate::resetDirtyItem().
qreal QGraphicsItemPrivate::opacity |
Definition at line 514 of file qgraphicsitem_p.h.
Referenced by calcEffectiveOpacity(), QGraphicsItem::opacity(), and QGraphicsItem::setOpacity().
quint32 QGraphicsItemPrivate::padding |
Definition at line 589 of file qgraphicsitem_p.h.
Definition at line 511 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsScenePrivate::markDirty(), QGraphicsView::paintEvent(), and QGraphicsScenePrivate::processDirtyItemsRecursive().
quint32 QGraphicsItemPrivate::paintedViewBoundingRectsNeedRepaint |
Definition at line 563 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::prepareGeometryChange(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsScenePrivate::resetDirtyItem(), and QGraphicsItem::setOpacity().
QGraphicsItem::PanelModality QGraphicsItemPrivate::panelModality |
Definition at line 530 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::enterModal(), QGraphicsItem::panelModality(), QGraphicsItem::setFlags(), and QGraphicsItem::setPanelModality().
QGraphicsItem* QGraphicsItemPrivate::parent |
Definition at line 516 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::_q_updateScenePosDescendants(), QGraphicsSceneBspTreeIndexPrivate::_q_updateSortCache(), QGraphicsScene::addItem(), calcEffectiveOpacity(), clearFocusHelper(), clearSubFocus(), QGraphicsItem::clipPath(), QGraphicsItem::commonAncestorItem(), effectiveBoundingRect(), QGraphicsSceneBspTreeIndexPrivate::estimateItems(), QGraphicsItem::group(), invalidateParentGraphicsEffectsRecursively(), QGraphicsItem::isAncestorOf(), QGraphicsItem::isVisibleTo(), QGraphicsItem::itemTransform(), QGraphicsViewPrivate::mapToViewRect(), QGraphicsScenePrivate::markDirty(), markParentDirty(), movableAncestorIsSelected(), QGraphicsWidgetPrivate::naturalWidgetFont(), QGraphicsWidgetPrivate::naturalWidgetPalette(), QGraphicsItem::panel(), QGraphicsItem::parentItem(), QGraphicsItem::parentObject(), qt_closestItemFirst(), QGraphicsItemGroup::removeFromGroup(), QGraphicsItem::sceneBoundingRect(), sceneEffectiveBoundingRect(), QGraphicsItem::sceneEvent(), QGraphicsItem::setFlags(), setFocusHelper(), QGraphicsItem::setGraphicsEffect(), QGraphicsItem::setParentItem(), setParentItemHelper(), QGraphicsScenePrivate::setScenePosItemEnabled(), setSubFocus(), setVisibleHelper(), QGraphicsItem::setZValue(), QGraphicsItem::stackBefore(), updateChildWithGraphicsEffectFlagRecursively(), QGraphicsSceneFindItemBspTreeVisitor::visit(), and QGraphicsItem::~QGraphicsItem().
quint32 QGraphicsItemPrivate::pendingPolish |
Definition at line 585 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::_q_polishItems(), QGraphicsScene::addItem(), and QGraphicsScenePrivate::removeItemHelper().
QPointF QGraphicsItemPrivate::pos |
Definition at line 512 of file qgraphicsitem_p.h.
Referenced by childrenBoundingRectHelper(), QGraphicsItem::itemTransform(), QGraphicsItem::mapFromParent(), QGraphicsItem::mapRectFromParent(), QGraphicsItem::mapRectToParent(), QGraphicsItem::mapToParent(), QGraphicsProxyWidgetPrivate::mapToReceiver(), QGraphicsViewPrivate::mapToViewRect(), QGraphicsItem::mouseMoveEvent(), QGraphicsItem::pos(), QGraphicsItem::sceneBoundingRect(), sceneEffectiveBoundingRect(), QDeclarativePathViewPrivate::scheduleLayout(), QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent(), QGraphicsWidgetPrivate::setGeometryFromSetPos(), QGraphicsItem::setPos(), QGraphicsItem::setX(), QGraphicsItem::setY(), QGraphicsWidgetPrivate::windowFrameHoverMoveEvent(), and QGraphicsWidgetPrivate::windowFrameMouseReleaseEvent().
QGraphicsItem* QGraphicsItemPrivate::q_ptr |
Definition at line 593 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::QGraphicsItem(), and updateHelper().
QGraphicsScene* QGraphicsItemPrivate::scene |
Definition at line 515 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), QGraphicsItem::addToIndex(), QGraphicsItem::collidingItems(), QGraphicsItem::ensureVisible(), QGraphicsObject::grabGesture(), QGraphicsItem::grabKeyboard(), QGraphicsItem::grabMouse(), QGraphicsItem::hasFocus(), QGraphicsItem::installSceneEventFilter(), QGraphicsItem::isActive(), QGraphicsItem::isBlockedByModalPanel(), markParentDirty(), QGraphicsItem::mouseMoveEvent(), QGraphicsItem::mousePressEvent(), QGraphicsItem::mouseReleaseEvent(), QGraphicsWidgetPrivate::naturalWidgetFont(), QGraphicsWidgetPrivate::naturalWidgetPalette(), QGraphicsItem::prepareGeometryChange(), QGraphicsItem::removeFromIndex(), QGraphicsItem::removeSceneEventFilter(), QGraphicsWidgetPrivate::resolveLayoutDirection(), QGraphicsItem::scene(), QGraphicsItem::sceneEvent(), QGraphicsItem::setAcceptedMouseButtons(), QGraphicsItem::setAcceptHoverEvents(), QGraphicsItem::setAcceptTouchEvents(), QGraphicsItem::setActive(), QGraphicsItem::setCursor(), QGraphicsItem::setFlags(), QGraphicsItem::setFocusProxy(), QGraphicsWidget::setGeometry(), QGraphicsItem::setOpacity(), QGraphicsItem::setPanelModality(), QGraphicsItem::setSelected(), QGraphicsItem::setZValue(), QGraphicsItem::stackBefore(), QGraphicsProxyWidgetPrivate::unembedSubWindow(), QGraphicsObject::ungrabGesture(), QGraphicsItem::ungrabKeyboard(), QGraphicsItem::ungrabMouse(), QGraphicsItem::unsetCursor(), QGraphicsItem::update(), and QGraphicsItem::~QGraphicsItem().
quint32 QGraphicsItemPrivate::scenePosDescendants |
Definition at line 584 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::_q_updateScenePosDescendants(), QGraphicsItem::setPos(), QGraphicsScenePrivate::setScenePosItemEnabled(), and QGraphicsItem::setTransform().
QTransform QGraphicsItemPrivate::sceneTransform |
Definition at line 521 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::deviceTransform(), QGraphicsView::fitInView(), QGraphicsSceneIndexRectIntersector::intersect(), QGraphicsSceneIndexPointIntersector::intersect(), QGraphicsSceneIndexPathIntersector::intersect(), QGraphicsItem::itemTransform(), QGraphicsItem::mapFromScene(), QGraphicsItem::mapRectFromScene(), QGraphicsItem::mapRectToScene(), QGraphicsItem::mapToScene(), QGraphicsItem::prepareGeometryChange(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), QGraphicsItem::sceneBoundingRect(), QGraphicsItem::sceneMatrix(), QGraphicsItem::sceneTransform(), QGraphicsViewPrivate::setUpdateClip(), and updateHelper().
quint32 QGraphicsItemPrivate::sceneTransformTranslateOnly |
Definition at line 573 of file qgraphicsitem_p.h.
Referenced by QGraphicsSceneIndexRectIntersector::intersect(), QGraphicsSceneIndexPointIntersector::intersect(), QGraphicsSceneIndexPathIntersector::intersect(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), QGraphicsViewPrivate::setUpdateClip(), and updateHelper().
quint32 QGraphicsItemPrivate::selected |
Definition at line 541 of file qgraphicsitem_p.h.
Referenced by QGraphicsItem::isSelected(), QGraphicsItem::mousePressEvent(), QGraphicsItem::mouseReleaseEvent(), and QGraphicsItem::setSelected().
quint32 QGraphicsItemPrivate::sendParentChangeNotification |
Definition at line 588 of file qgraphicsitem_p.h.
Referenced by children_append(), and children_clear().
quint32 QGraphicsItemPrivate::sequentialOrdering |
Definition at line 582 of file qgraphicsitem_p.h.
int QGraphicsItemPrivate::siblingIndex |
Definition at line 523 of file qgraphicsitem_p.h.
Referenced by addChild(), ensureSequentialSiblingIndex(), insertionOrder(), qt_closestLeaf(), QGraphicsScenePrivate::registerTopLevelItem(), removeChild(), QGraphicsItem::stackBefore(), and QGraphicsScenePrivate::unregisterTopLevelItem().
QGraphicsItem* QGraphicsItemPrivate::subFocusItem |
Definition at line 527 of file qgraphicsitem_p.h.
Referenced by clearSubFocus(), QGraphicsItem::focusItem(), and setSubFocus().
TransformData* QGraphicsItemPrivate::transformData |
Definition at line 518 of file qgraphicsitem_p.h.
Referenced by childrenBoundingRectHelper(), QGraphicsItem::deviceTransform(), QGraphicsItem::itemTransform(), QGraphicsItem::mapFromParent(), QGraphicsItem::mapRectFromParent(), QGraphicsItem::mapRectToParent(), QGraphicsItem::mapToParent(), QGraphicsViewPrivate::mapToViewRect(), QGraphicsItem::mouseMoveEvent(), QGraphicsItem::rotation(), QGraphicsItem::scale(), QGraphicsItem::sceneBoundingRect(), sceneEffectiveBoundingRect(), QGraphicsTransformPrivate::setItem(), QGraphicsItem::setMatrix(), setParentItemHelper(), QGraphicsItem::setRotation(), QGraphicsItem::setScale(), QGraphicsItem::setTransform(), QGraphicsItem::setTransformations(), QGraphicsItem::setTransformOriginPoint(), QGraphicsItem::transform(), QDeclarativeItemPrivate::transform_at(), QDeclarativeItemPrivate::transform_clear(), QDeclarativeItemPrivate::transform_count(), QGraphicsItem::transformations(), QGraphicsItem::transformOriginPoint(), and QGraphicsItem::~QGraphicsItem().
quint32 QGraphicsItemPrivate::updateDueToGraphicsEffect |
Definition at line 583 of file qgraphicsitem_p.h.
Referenced by invalidateParentGraphicsEffectsRecursively(), and QGraphicsItem::update().
quint32 QGraphicsItemPrivate::visible |
Definition at line 537 of file qgraphicsitem_p.h.
Referenced by QGraphicsScenePrivate::drawSubtreeRecursive(), QGraphicsItem::grabKeyboard(), QGraphicsItem::grabMouse(), QGraphicsItem::isVisible(), QGraphicsScenePrivate::processDirtyItemsRecursive(), QGraphicsSceneIndexPrivate::recursive_items_helper(), QGraphicsItem::sceneEvent(), QGraphicsItem::setSelected(), setSubFocus(), setVisibleHelper(), and QGraphicsSceneFindItemBspTreeVisitor::visit().
quint32 QGraphicsItemPrivate::wantsActive |
Definition at line 580 of file qgraphicsitem_p.h.
Referenced by QGraphicsScene::addItem(), and QGraphicsItem::setActive().
qreal QGraphicsItemPrivate::z |
Definition at line 513 of file qgraphicsitem_p.h.
Referenced by qt_closestLeaf(), QGraphicsItem::setFlags(), QGraphicsItem::setZValue(), and QGraphicsItem::zValue().