Qt 4.8
|
#include <qgraphicsscene_p.h>
Public Functions | |
void | _q_emitUpdated () |
void | _q_polishItems () |
void | _q_processDirtyItems () |
void | _q_updateLater () |
void | _q_updateScenePosDescendants () |
void | addPopup (QGraphicsWidget *widget) |
void | addView (QGraphicsView *view) |
void | cancelGesturesForChildren (QGesture *original) |
void | clearKeyboardGrabber () |
void | clearMouseGrabber () |
void | cloneDragDropEvent (QGraphicsSceneDragDropEvent *dest, QGraphicsSceneDragDropEvent *source) |
bool | dispatchHoverEvent (QGraphicsSceneHoverEvent *hoverEvent) |
This event handler, for event hoverEvent, can be reimplemented in a subclass to receive hover enter events. More... | |
void | draw (QGraphicsItem *, QPainter *, const QTransform *const, const QTransform *const, QRegion *, QWidget *, qreal, const QTransform *const, bool, bool) |
void | drawItemHelper (QGraphicsItem *item, QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget, bool painterStateProtection) |
Draws items directly, or using cache. More... | |
void | drawItems (QPainter *painter, const QTransform *const viewTransform, QRegion *exposedRegion, QWidget *widget) |
void | drawSubtreeRecursive (QGraphicsItem *item, QPainter *painter, const QTransform *const, QRegion *exposedRegion, QWidget *widget, qreal parentOpacity=qreal(1.0), const QTransform *const effectTransform=0) |
void | enableMouseTrackingOnViews () |
void | enableTouchEventsOnViews () |
void | ensureSequentialTopLevelSiblingIndexes () |
Ensures that the list of toplevels is sorted by insertion order, and that the siblingIndexes are packed (no gaps), and start at 0. More... | |
void | ensureSortedTopLevelItems () |
void | enterModal (QGraphicsItem *item, QGraphicsItem::PanelModality panelModality=QGraphicsItem::NonModal) |
bool | filterDescendantEvent (QGraphicsItem *item, QEvent *event) |
bool | filterEvent (QGraphicsItem *item, QEvent *event) |
int | findClosestTouchPointId (const QPointF &scenePos) |
void | gestureEventHandler (QGestureEvent *event) |
void | gestureTargetsAtHotSpots (const QSet< QGesture *> &gestures, Qt::GestureFlag flag, QHash< QGraphicsObject *, QSet< QGesture *> > *targets, QSet< QGraphicsObject *> *itemsSet=0, QSet< QGesture *> *normal=0, QSet< QGesture *> *conflicts=0) |
void | grabGesture (QGraphicsItem *, Qt::GestureType gesture) |
void | grabKeyboard (QGraphicsItem *item) |
void | grabMouse (QGraphicsItem *item, bool implicit=false) |
void | init () |
void | installSceneEventFilter (QGraphicsItem *watched, QGraphicsItem *filter) |
bool | itemAcceptsHoverEvents_helper (const QGraphicsItem *item) const |
QList< QGraphicsItem * > | itemsAtPosition (const QPoint &screenPos, const QPointF &scenePos, QWidget *widget) const |
Returns all items for the screen position in event. More... | |
void | leaveModal (QGraphicsItem *item) |
void | leaveScene (QWidget *viewport) |
Handles all actions necessary to clean up the scene when the mouse leaves the view. More... | |
void | markDirty (QGraphicsItem *item, const QRectF &rect=QRectF(), bool invalidateChildren=false, bool force=false, bool ignoreOpacity=false, bool removingItemFromScene=false, bool updateBoundingRect=false) |
void | mousePressEventHandler (QGraphicsSceneMouseEvent *mouseEvent) |
void | processDirtyItemsRecursive (QGraphicsItem *item, bool dirtyAncestorContainsChildren=false, qreal parentOpacity=qreal(1.0)) |
QGraphicsScenePrivate () | |
void | registerScenePosItem (QGraphicsItem *item) |
void | registerTopLevelItem (QGraphicsItem *item) |
void | removeItemHelper (QGraphicsItem *item) |
Schedules an item for removal. More... | |
void | removePopup (QGraphicsWidget *widget, bool itemIsDying=false) |
Remove widget from the popup list. More... | |
void | removeSceneEventFilter (QGraphicsItem *watched, QGraphicsItem *filter) |
void | removeView (QGraphicsView *view) |
void | resetDirtyItem (QGraphicsItem *item, bool recursive=false) |
void | resolveFont () |
Resolve the scene's font against the application font, and propagate the changes too all items in the scene. More... | |
void | resolvePalette () |
Resolve the scene's palette against the application palette, and propagate the changes too all items in the scene. More... | |
void | sendDragDropEvent (QGraphicsItem *item, QGraphicsSceneDragDropEvent *dragDropEvent) |
bool | sendEvent (QGraphicsItem *item, QEvent *event) |
This is the final dispatch point for any events from the scene to the item. More... | |
void | sendHoverEvent (QEvent::Type type, QGraphicsItem *item, QGraphicsSceneHoverEvent *hoverEvent) |
void | sendMouseEvent (QGraphicsSceneMouseEvent *mouseEvent) |
bool | sendTouchBeginEvent (QGraphicsItem *item, QTouchEvent *touchEvent) |
void | setActivePanelHelper (QGraphicsItem *item, bool duringActivationEvent) |
void | setFocusItemHelper (QGraphicsItem *item, Qt::FocusReason focusReason) |
void | setFont_helper (const QFont &font) |
Set the font and propagate the changes if the font is different from the current font. More... | |
void | setPalette_helper (const QPalette &palette) |
Set the palette and propagate the changes if the palette is different from the current palette. More... | |
void | setScenePosItemEnabled (QGraphicsItem *item, bool enabled) |
void | storeMouseButtonsForMouseGrabber (QGraphicsSceneMouseEvent *event) |
void | touchEventHandler (QTouchEvent *touchEvent) |
void | ungrabGesture (QGraphicsItem *, Qt::GestureType gesture) |
void | ungrabKeyboard (QGraphicsItem *item, bool itemIsDying=false) |
void | ungrabMouse (QGraphicsItem *item, bool itemIsDying=false) |
void | unregisterScenePosItem (QGraphicsItem *item) |
void | unregisterTopLevelItem (QGraphicsItem *item) |
void | updateFont (const QFont &font) |
Update the font, and whether or not it has changed, reresolve all fonts in the scene. More... | |
void | updateInputMethodSensitivityInViews () |
void | updatePalette (const QPalette &palette) |
Update the palette, and whether or not it has changed, reresolve all palettes in the scene. More... | |
QGraphicsWidget * | windowForItem (const QGraphicsItem *item) const |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Static Public Functions | |
static QGraphicsScenePrivate * | get (QGraphicsScene *q) |
static void | updateTouchPointsForItem (QGraphicsItem *item, QTouchEvent *touchEvent) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Definition at line 81 of file qgraphicsscene_p.h.
QGraphicsScenePrivate::QGraphicsScenePrivate | ( | ) |
Definition at line 296 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::_q_emitUpdated | ( | ) |
Definition at line 361 of file qgraphicsscene.cpp.
Referenced by _q_processDirtyItems().
void QGraphicsScenePrivate::_q_polishItems | ( | ) |
Definition at line 447 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::_q_processDirtyItems | ( | ) |
Definition at line 484 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::_q_updateLater | ( | ) |
void QGraphicsScenePrivate::_q_updateScenePosDescendants | ( | ) |
Definition at line 563 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::addPopup | ( | QGraphicsWidget * | widget | ) |
Definition at line 872 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::addView | ( | QGraphicsView * | view | ) |
Definition at line 5938 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::cancelGesturesForChildren | ( | QGesture * | original | ) |
Definition at line 6570 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::clearKeyboardGrabber | ( | ) |
Definition at line 1086 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::clearMouseGrabber | ( | ) |
Definition at line 1015 of file qgraphicsscene.cpp.
Referenced by sendMouseEvent().
void QGraphicsScenePrivate::cloneDragDropEvent | ( | QGraphicsSceneDragDropEvent * | dest, |
QGraphicsSceneDragDropEvent * | source | ||
) |
Definition at line 1244 of file qgraphicsscene.cpp.
bool QGraphicsScenePrivate::dispatchHoverEvent | ( | QGraphicsSceneHoverEvent * | hoverEvent | ) |
This event handler, for event hoverEvent, can be reimplemented in a subclass to receive hover enter events.
The default implementation forwards the event to the topmost item that accepts hover events at the scene position from the event.
Definition at line 3999 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::draw | ( | QGraphicsItem * | item, |
QPainter * | painter, | ||
const QTransform * const | viewTransform, | ||
const QTransform * const | transformPtr, | ||
QRegion * | exposedRegion, | ||
QWidget * | widget, | ||
qreal | opacity, | ||
const QTransform * const | effectTransform, | ||
bool | wasDirtyParentSceneTransform, | ||
bool | drawItem | ||
) |
Definition at line 5007 of file qgraphicsscene.cpp.
Referenced by QGraphicsItemEffectSourcePrivate::draw(), and QGraphicsItemEffectSourcePrivate::pixmap().
void QGraphicsScenePrivate::drawItemHelper | ( | QGraphicsItem * | item, |
QPainter * | painter, | ||
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget, | ||
bool | painterStateProtection | ||
) |
Draws items directly, or using cache.
Definition at line 4543 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::drawItems | ( | QPainter * | painter, |
const QTransform *const | viewTransform, | ||
QRegion * | exposedRegion, | ||
QWidget * | widget | ||
) |
Definition at line 4848 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::drawSubtreeRecursive | ( | QGraphicsItem * | item, |
QPainter * | painter, | ||
const QTransform * const | viewTransform, | ||
QRegion * | exposedRegion, | ||
QWidget * | widget, | ||
qreal | parentOpacity = qreal(1.0) , |
||
const QTransform *const | effectTransform = 0 |
||
) |
Definition at line 4867 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::enableMouseTrackingOnViews | ( | ) |
Definition at line 1092 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::enableTouchEventsOnViews | ( | ) |
Definition at line 6176 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::ensureSequentialTopLevelSiblingIndexes | ( | ) |
Ensures that the list of toplevels is sorted by insertion order, and that the siblingIndexes are packed (no gaps), and start at 0.
QGraphicsItemPrivate::ensureSequentialSiblingIndex().
Definition at line 1490 of file qgraphicsscene.cpp.
|
inline |
Definition at line 271 of file qgraphicsscene_p.h.
Referenced by QGraphicsSceneIndex::estimateTopLevelItems().
void QGraphicsScenePrivate::enterModal | ( | QGraphicsItem * | item, |
QGraphicsItem::PanelModality | panelModality = QGraphicsItem::NonModal |
||
) |
Definition at line 6188 of file qgraphicsscene.cpp.
bool QGraphicsScenePrivate::filterDescendantEvent | ( | QGraphicsItem * | item, |
QEvent * | event | ||
) |
Definition at line 1168 of file qgraphicsscene.cpp.
Referenced by sendEvent().
bool QGraphicsScenePrivate::filterEvent | ( | QGraphicsItem * | item, |
QEvent * | event | ||
) |
Definition at line 1186 of file qgraphicsscene.cpp.
Referenced by sendEvent().
int QGraphicsScenePrivate::findClosestTouchPointId | ( | const QPointF & | scenePos | ) |
Definition at line 5964 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::gestureEventHandler | ( | QGestureEvent * | event | ) |
Definition at line 6324 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::gestureTargetsAtHotSpots | ( | const QSet< QGesture *> & | gestures, |
Qt::GestureFlag | flag, | ||
QHash< QGraphicsObject *, QSet< QGesture *> > * | targets, | ||
QSet< QGraphicsObject *> * | itemsSet = 0 , |
||
QSet< QGesture *> * | normal = 0 , |
||
QSet< QGesture *> * | conflicts = 0 |
||
) |
Definition at line 6277 of file qgraphicsscene.cpp.
|
static |
Definition at line 356 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::grabGesture | ( | QGraphicsItem * | , |
Qt::GestureType | gesture | ||
) |
Definition at line 6653 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::grabKeyboard | ( | QGraphicsItem * | item | ) |
Definition at line 1025 of file qgraphicsscene.cpp.
Referenced by addPopup().
void QGraphicsScenePrivate::grabMouse | ( | QGraphicsItem * | item, |
bool | implicit = false |
||
) |
Definition at line 925 of file qgraphicsscene.cpp.
Referenced by addPopup().
void QGraphicsScenePrivate::init | ( | ) |
Definition at line 338 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::installSceneEventFilter | ( | QGraphicsItem * | watched, |
QGraphicsItem * | filter | ||
) |
Definition at line 1142 of file qgraphicsscene.cpp.
bool QGraphicsScenePrivate::itemAcceptsHoverEvents_helper | ( | const QGraphicsItem * | item | ) | const |
Definition at line 3983 of file qgraphicsscene.cpp.
QList< QGraphicsItem * > QGraphicsScenePrivate::itemsAtPosition | ( | const QPoint & | screenPos, |
const QPointF & | scenePos, | ||
QWidget * | widget | ||
) | const |
Returns all items for the screen position in event.
Definition at line 1101 of file qgraphicsscene.cpp.
Referenced by mousePressEventHandler().
void QGraphicsScenePrivate::leaveModal | ( | QGraphicsItem * | item | ) |
Definition at line 6248 of file qgraphicsscene.cpp.
Referenced by removeItemHelper().
void QGraphicsScenePrivate::leaveScene | ( | QWidget * | viewport | ) |
Handles all actions necessary to clean up the scene when the mouse leaves the view.
Definition at line 4080 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::markDirty | ( | QGraphicsItem * | item, |
const QRectF & | rect = QRectF() , |
||
bool | invalidateChildren = false , |
||
bool | force = false , |
||
bool | ignoreOpacity = false , |
||
bool | removingItemFromScene = false , |
||
bool | updateBoundingRect = false |
||
) |
Definition at line 5130 of file qgraphicsscene.cpp.
Referenced by QGraphicsItem::prepareGeometryChange(), and removeItemHelper().
void QGraphicsScenePrivate::mousePressEventHandler | ( | QGraphicsSceneMouseEvent * | mouseEvent | ) |
Definition at line 1318 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::processDirtyItemsRecursive | ( | QGraphicsItem * | item, |
bool | dirtyAncestorContainsChildren = false , |
||
qreal | parentOpacity = qreal(1.0) |
||
) |
Definition at line 5265 of file qgraphicsscene.cpp.
Referenced by _q_processDirtyItems().
void QGraphicsScenePrivate::registerScenePosItem | ( | QGraphicsItem * | item | ) |
Definition at line 545 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::registerTopLevelItem | ( | QGraphicsItem * | item | ) |
Definition at line 415 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::removeItemHelper | ( | QGraphicsItem * | item | ) |
Schedules an item for removal.
This function leaves some stale indexes around in the BSP tree if called from the item's destructor; these will be cleaned up the next time someone triggers purgeRemovedItems().
Note: This function might get called from QGraphicsItem's destructor. item is being destroyed, so we cannot call any pure virtual functions on it (such as boundingRect()). Also, it is unnecessary to update the item's own state in any way.
Definition at line 590 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::removePopup | ( | QGraphicsWidget * | widget, |
bool | itemIsDying = false |
||
) |
Remove widget from the popup list.
Important notes:
widget is guaranteed to be in the list of popups, but it might not be the last entry; you can hide any item in the pop list before the others, and this must cause all later mouse grabbers to lose the grab.
Definition at line 901 of file qgraphicsscene.cpp.
Referenced by ungrabMouse().
void QGraphicsScenePrivate::removeSceneEventFilter | ( | QGraphicsItem * | watched, |
QGraphicsItem * | filter | ||
) |
Definition at line 1150 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::removeView | ( | QGraphicsView * | view | ) |
Definition at line 5947 of file qgraphicsscene.cpp.
|
inline |
Definition at line 236 of file qgraphicsscene_p.h.
Referenced by _q_processDirtyItems(), and removeItemHelper().
void QGraphicsScenePrivate::resolveFont | ( | ) |
Resolve the scene's font against the application font, and propagate the changes too all items in the scene.
Definition at line 1529 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::resolvePalette | ( | ) |
Resolve the scene's palette against the application palette, and propagate the changes too all items in the scene.
Definition at line 1594 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::sendDragDropEvent | ( | QGraphicsItem * | item, |
QGraphicsSceneDragDropEvent * | dragDropEvent | ||
) |
Definition at line 1263 of file qgraphicsscene.cpp.
bool QGraphicsScenePrivate::sendEvent | ( | QGraphicsItem * | item, |
QEvent * | event | ||
) |
This is the final dispatch point for any events from the scene to the item.
It filters the event first - if the filter returns true, the event is considered to have been eaten by the filter, and is therefore stopped (the default filter returns false). Then/otherwise, if the item is enabled, the event is sent; otherwise it is stopped.
Definition at line 1214 of file qgraphicsscene.cpp.
Referenced by addPopup(), grabKeyboard(), grabMouse(), removePopup(), sendDragDropEvent(), sendHoverEvent(), sendMouseEvent(), setFocusItemHelper(), ungrabKeyboard(), and ungrabMouse().
void QGraphicsScenePrivate::sendHoverEvent | ( | QEvent::Type | type, |
QGraphicsItem * | item, | ||
QGraphicsSceneHoverEvent * | hoverEvent | ||
) |
Definition at line 1273 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::sendMouseEvent | ( | QGraphicsSceneMouseEvent * | mouseEvent | ) |
Definition at line 1291 of file qgraphicsscene.cpp.
Referenced by mousePressEventHandler().
bool QGraphicsScenePrivate::sendTouchBeginEvent | ( | QGraphicsItem * | item, |
QTouchEvent * | touchEvent | ||
) |
Definition at line 6106 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::setActivePanelHelper | ( | QGraphicsItem * | item, |
bool | duringActivationEvent | ||
) |
Definition at line 742 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::setFocusItemHelper | ( | QGraphicsItem * | item, |
Qt::FocusReason | focusReason | ||
) |
Definition at line 805 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::setFont_helper | ( | const QFont & | font | ) |
Set the font and propagate the changes if the font is different from the current font.
Definition at line 1513 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::setPalette_helper | ( | const QPalette & | palette | ) |
Set the palette and propagate the changes if the palette is different from the current palette.
Definition at line 1578 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::setScenePosItemEnabled | ( | QGraphicsItem * | item, |
bool | enabled | ||
) |
Definition at line 529 of file qgraphicsscene.cpp.
Referenced by registerScenePosItem(), and unregisterScenePosItem().
void QGraphicsScenePrivate::storeMouseButtonsForMouseGrabber | ( | QGraphicsSceneMouseEvent * | event | ) |
Definition at line 1126 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::touchEventHandler | ( | QTouchEvent * | touchEvent | ) |
Definition at line 5978 of file qgraphicsscene.cpp.
void QGraphicsScenePrivate::ungrabGesture | ( | QGraphicsItem * | item, |
Qt::GestureType | gesture | ||
) |
Definition at line 6662 of file qgraphicsscene.cpp.
Referenced by removeItemHelper().
void QGraphicsScenePrivate::ungrabKeyboard | ( | QGraphicsItem * | item, |
bool | itemIsDying = false |
||
) |
Definition at line 1053 of file qgraphicsscene.cpp.
Referenced by clearKeyboardGrabber(), removeItemHelper(), and removePopup().
void QGraphicsScenePrivate::ungrabMouse | ( | QGraphicsItem * | item, |
bool | itemIsDying = false |
||
) |
Definition at line 968 of file qgraphicsscene.cpp.
Referenced by removeItemHelper(), and removePopup().
void QGraphicsScenePrivate::unregisterScenePosItem | ( | QGraphicsItem * | item | ) |
Definition at line 554 of file qgraphicsscene.cpp.
Referenced by removeItemHelper().
void QGraphicsScenePrivate::unregisterTopLevelItem | ( | QGraphicsItem * | item | ) |
Definition at line 428 of file qgraphicsscene.cpp.
Referenced by removeItemHelper().
void QGraphicsScenePrivate::updateFont | ( | const QFont & | font | ) |
Update the font, and whether or not it has changed, reresolve all fonts in the scene.
Definition at line 1546 of file qgraphicsscene.cpp.
Referenced by resolveFont(), and setFont_helper().
void QGraphicsScenePrivate::updateInputMethodSensitivityInViews | ( | ) |
Definition at line 6182 of file qgraphicsscene.cpp.
Referenced by setFocusItemHelper().
void QGraphicsScenePrivate::updatePalette | ( | const QPalette & | palette | ) |
Update the palette, and whether or not it has changed, reresolve all palettes in the scene.
Definition at line 1611 of file qgraphicsscene.cpp.
Referenced by resolvePalette(), and setPalette_helper().
|
static |
Definition at line 5952 of file qgraphicsscene.cpp.
QGraphicsWidget* QGraphicsScenePrivate::windowForItem | ( | const QGraphicsItem * | item | ) | const |
int QGraphicsScenePrivate::activationRefCount |
Definition at line 157 of file qgraphicsscene_p.h.
QGraphicsItem* QGraphicsScenePrivate::activePanel |
Definition at line 155 of file qgraphicsscene_p.h.
Referenced by removeItemHelper(), and setActivePanelHelper().
quint32 QGraphicsScenePrivate::allItemsIgnoreHoverEvents |
Definition at line 113 of file qgraphicsscene_p.h.
quint32 QGraphicsScenePrivate::allItemsIgnoreTouchEvents |
Definition at line 117 of file qgraphicsscene_p.h.
quint32 QGraphicsScenePrivate::allItemsUseDefaultCursor |
Definition at line 114 of file qgraphicsscene_p.h.
QBrush QGraphicsScenePrivate::backgroundBrush |
Definition at line 147 of file qgraphicsscene_p.h.
QHash<QGraphicsObject *, QSet<QGesture *> > QGraphicsScenePrivate::cachedAlreadyDeliveredGestures |
Definition at line 305 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
QHash<QGraphicsObject *, QSet<QGesture *> > QGraphicsScenePrivate::cachedItemGestures |
Definition at line 304 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
QList<QGraphicsItem *> QGraphicsScenePrivate::cachedItemsUnderMouse |
Definition at line 180 of file qgraphicsscene_p.h.
Referenced by mousePressEventHandler(), and removeItemHelper().
QList<QGraphicsObject *> QGraphicsScenePrivate::cachedTargetItems |
Definition at line 302 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
quint32 QGraphicsScenePrivate::calledEmitUpdated |
Definition at line 104 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated(), and _q_processDirtyItems().
int QGraphicsScenePrivate::changedSignalIndex |
Definition at line 90 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated(), init(), and QGraphicsItem::prepareGeometryChange().
int QGraphicsScenePrivate::childExplicitActivation |
Definition at line 158 of file qgraphicsscene_p.h.
quint32 QGraphicsScenePrivate::dirtyGrowingItemsBoundingRect |
Definition at line 102 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated(), _q_processDirtyItems(), and QGraphicsScene::~QGraphicsScene().
QGraphicsItem* QGraphicsScenePrivate::dragDropItem |
Definition at line 177 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
QGraphicsWidget* QGraphicsScenePrivate::enterWidget |
Definition at line 178 of file qgraphicsscene_p.h.
QGraphicsItem* QGraphicsScenePrivate::focusItem |
Definition at line 151 of file qgraphicsscene_p.h.
Referenced by addPopup(), removeItemHelper(), removePopup(), setActivePanelHelper(), and setFocusItemHelper().
QFont QGraphicsScenePrivate::font |
Definition at line 283 of file qgraphicsscene_p.h.
Referenced by resolveFont(), and updateFont().
QBrush QGraphicsScenePrivate::foregroundBrush |
Definition at line 148 of file qgraphicsscene_p.h.
QHash<QGesture *, QGraphicsObject *> QGraphicsScenePrivate::gestureTargets |
Definition at line 306 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
QHash<Qt::GestureType, int> QGraphicsScenePrivate::grabbedGestures |
Definition at line 307 of file qgraphicsscene_p.h.
QRectF QGraphicsScenePrivate::growingItemsBoundingRect |
Definition at line 120 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated(), _q_processDirtyItems(), and QGraphicsScene::~QGraphicsScene().
quint32 QGraphicsScenePrivate::hasFocus |
Definition at line 111 of file qgraphicsscene_p.h.
quint32 QGraphicsScenePrivate::hasSceneRect |
Definition at line 101 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated(), and _q_processDirtyItems().
quint32 QGraphicsScenePrivate::holesInTopLevelSiblingIndex |
Definition at line 107 of file qgraphicsscene_p.h.
Referenced by ensureSequentialTopLevelSiblingIndexes(), and unregisterTopLevelItem().
QList<QGraphicsItem *> QGraphicsScenePrivate::hoverItems |
Definition at line 181 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
QGraphicsSceneIndex* QGraphicsScenePrivate::index |
Definition at line 95 of file qgraphicsscene_p.h.
Referenced by init(), QGraphicsItem::prepareGeometryChange(), removeItemHelper(), removePopup(), ungrabKeyboard(), and ungrabMouse().
QGraphicsScene::ItemIndexMethod QGraphicsScenePrivate::indexMethod |
Definition at line 94 of file qgraphicsscene_p.h.
QMap<int, QGraphicsItem *> QGraphicsScenePrivate::itemForTouchPointId |
Definition at line 295 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
QList<QGraphicsItem *> QGraphicsScenePrivate::keyboardGrabberItems |
Definition at line 172 of file qgraphicsscene_p.h.
Referenced by clearKeyboardGrabber(), grabKeyboard(), removeItemHelper(), removePopup(), and ungrabKeyboard().
QGraphicsItem* QGraphicsScenePrivate::lastActivePanel |
Definition at line 156 of file qgraphicsscene_p.h.
Referenced by removeItemHelper(), and setActivePanelHelper().
Qt::DropAction QGraphicsScenePrivate::lastDropAction |
Definition at line 179 of file qgraphicsscene_p.h.
QGraphicsItem* QGraphicsScenePrivate::lastFocusItem |
Definition at line 152 of file qgraphicsscene_p.h.
Referenced by removeItemHelper(), and setFocusItemHelper().
int QGraphicsScenePrivate::lastItemCount |
Definition at line 97 of file qgraphicsscene_p.h.
QGraphicsItem* QGraphicsScenePrivate::lastMouseGrabberItem |
Definition at line 166 of file qgraphicsscene_p.h.
Referenced by clearMouseGrabber(), and removeItemHelper().
quint32 QGraphicsScenePrivate::lastMouseGrabberItemHasImplicitMouseGrab |
Definition at line 112 of file qgraphicsscene_p.h.
Referenced by grabMouse(), sendMouseEvent(), and ungrabMouse().
QPointF QGraphicsScenePrivate::lastSceneMousePos |
Definition at line 182 of file qgraphicsscene_p.h.
QList<QGraphicsItem *> QGraphicsScenePrivate::modalPanels |
Definition at line 322 of file qgraphicsscene_p.h.
Referenced by QGraphicsItem::isBlockedByModalPanel(), and mousePressEventHandler().
QMap<Qt::MouseButton, QPointF> QGraphicsScenePrivate::mouseGrabberButtonDownPos |
Definition at line 184 of file qgraphicsscene_p.h.
Referenced by sendMouseEvent(), and storeMouseButtonsForMouseGrabber().
QMap<Qt::MouseButton, QPointF> QGraphicsScenePrivate::mouseGrabberButtonDownScenePos |
Definition at line 185 of file qgraphicsscene_p.h.
Referenced by sendMouseEvent(), and storeMouseButtonsForMouseGrabber().
QMap<Qt::MouseButton, QPoint> QGraphicsScenePrivate::mouseGrabberButtonDownScreenPos |
Definition at line 186 of file qgraphicsscene_p.h.
Referenced by sendMouseEvent(), and storeMouseButtonsForMouseGrabber().
QList<QGraphicsItem *> QGraphicsScenePrivate::mouseGrabberItems |
Definition at line 167 of file qgraphicsscene_p.h.
Referenced by clearMouseGrabber(), grabMouse(), mousePressEventHandler(), removeItemHelper(), sendMouseEvent(), storeMouseButtonsForMouseGrabber(), and ungrabMouse().
QMap<QGraphicsItem *, QPointF> QGraphicsScenePrivate::movingItemsInitialPositions |
Definition at line 131 of file qgraphicsscene_p.h.
quint32 QGraphicsScenePrivate::needSortTopLevelItems |
Definition at line 106 of file qgraphicsscene_p.h.
Referenced by ensureSequentialTopLevelSiblingIndexes(), and registerTopLevelItem().
quint32 QGraphicsScenePrivate::padding |
Definition at line 118 of file qgraphicsscene_p.h.
quint32 QGraphicsScenePrivate::painterStateProtection |
Definition at line 115 of file qgraphicsscene_p.h.
QPalette QGraphicsScenePrivate::palette |
Definition at line 287 of file qgraphicsscene_p.h.
Referenced by resolvePalette(), and updatePalette().
QGraphicsItem* QGraphicsScenePrivate::passiveFocusItem |
Definition at line 153 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
int QGraphicsScenePrivate::polishItemsIndex |
Definition at line 92 of file qgraphicsscene_p.h.
Referenced by init().
QList<QGraphicsWidget *> QGraphicsScenePrivate::popupWidgets |
Definition at line 162 of file qgraphicsscene_p.h.
Referenced by addPopup(), QGraphicsItem::isBlockedByModalPanel(), removePopup(), and ungrabMouse().
quint32 QGraphicsScenePrivate::processDirtyItemsEmitted |
Definition at line 105 of file qgraphicsscene_p.h.
Referenced by _q_processDirtyItems().
int QGraphicsScenePrivate::processDirtyItemsIndex |
Definition at line 91 of file qgraphicsscene_p.h.
Referenced by init().
quint32 QGraphicsScenePrivate::rectAdjust |
Definition at line 150 of file qgraphicsscene_p.h.
QMap<int, QTouchEvent::TouchPoint> QGraphicsScenePrivate::sceneCurrentTouchPoints |
Definition at line 294 of file qgraphicsscene_p.h.
Referenced by removeItemHelper().
QMultiMap<QGraphicsItem *, QGraphicsItem *> QGraphicsScenePrivate::sceneEventFilters |
Definition at line 196 of file qgraphicsscene_p.h.
Referenced by filterEvent(), installSceneEventFilter(), removeItemHelper(), and removeSceneEventFilter().
quint32 QGraphicsScenePrivate::scenePosDescendantsUpdatePending |
Definition at line 109 of file qgraphicsscene_p.h.
Referenced by _q_updateScenePosDescendants(), and setScenePosItemEnabled().
QSet<QGraphicsItem *> QGraphicsScenePrivate::scenePosItems |
Definition at line 139 of file qgraphicsscene_p.h.
Referenced by _q_updateScenePosDescendants(), registerScenePosItem(), and unregisterScenePosItem().
QRectF QGraphicsScenePrivate::sceneRect |
Definition at line 99 of file qgraphicsscene_p.h.
QSet<QGraphicsItem *> QGraphicsScenePrivate::selectedItems |
Definition at line 127 of file qgraphicsscene_p.h.
Referenced by removeItemHelper(), and QGraphicsItem::setSelected().
QPainterPath QGraphicsScenePrivate::selectionArea |
Definition at line 125 of file qgraphicsscene_p.h.
int QGraphicsScenePrivate::selectionChanging |
Definition at line 126 of file qgraphicsscene_p.h.
Referenced by removeItemHelper(), and QGraphicsItem::setSelected().
quint32 QGraphicsScenePrivate::sortCacheEnabled |
Definition at line 116 of file qgraphicsscene_p.h.
quint32 QGraphicsScenePrivate::stickyFocus |
Definition at line 110 of file qgraphicsscene_p.h.
Referenced by mousePressEventHandler().
QStyle* QGraphicsScenePrivate::style |
Definition at line 282 of file qgraphicsscene_p.h.
QStyleOptionGraphicsItem QGraphicsScenePrivate::styleOptionTmp |
Definition at line 292 of file qgraphicsscene_p.h.
QGraphicsWidget* QGraphicsScenePrivate::tabFocusFirst |
Definition at line 154 of file qgraphicsscene_p.h.
Referenced by removeItemHelper(), QGraphicsWidget::setTabOrder(), and QGraphicsWidget::~QGraphicsWidget().
QList<QGraphicsItem *> QGraphicsScenePrivate::topLevelItems |
Definition at line 129 of file qgraphicsscene_p.h.
Referenced by _q_processDirtyItems(), ensureSequentialTopLevelSiblingIndexes(), QGraphicsSceneIndex::estimateTopLevelItems(), registerTopLevelItem(), and unregisterTopLevelItem().
quint32 QGraphicsScenePrivate::topLevelSequentialOrdering |
Definition at line 108 of file qgraphicsscene_p.h.
Referenced by ensureSequentialTopLevelSiblingIndexes(), and unregisterTopLevelItem().
QVector<QGraphicsItem *> QGraphicsScenePrivate::unpolishedItems |
Definition at line 128 of file qgraphicsscene_p.h.
Referenced by _q_polishItems(), and removeItemHelper().
quint32 QGraphicsScenePrivate::updateAll |
Definition at line 103 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated(), and _q_processDirtyItems().
Definition at line 123 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated().
QList<QGraphicsView *> QGraphicsScenePrivate::views |
Definition at line 192 of file qgraphicsscene_p.h.
Referenced by _q_emitUpdated(), _q_processDirtyItems(), enableMouseTrackingOnViews(), QGraphicsItem::prepareGeometryChange(), and setFocusItemHelper().