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

#include <qgraphicsscene_p.h>

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

Classes

struct  UpdatedRectsCmp
 

Public Member Functions

 QGraphicsScenePrivate ()
 
void init ()
 
void _q_emitUpdated ()
 
void registerTopLevelItem (QGraphicsItem *item)
 
void unregisterTopLevelItem (QGraphicsItem *item)
 
void _q_updateLater ()
 
void _q_polishItems ()
 
void _q_processDirtyItems ()
 
void setScenePosItemEnabled (QGraphicsItem *item, bool enabled)
 
void registerScenePosItem (QGraphicsItem *item)
 
void unregisterScenePosItem (QGraphicsItem *item)
 
void _q_updateScenePosDescendants ()
 
void removeItemHelper (QGraphicsItem *item)
 
void setActivePanelHelper (QGraphicsItem *item, bool duringActivationEvent)
 
void setFocusItemHelper (QGraphicsItem *item, Qt::FocusReason focusReason, bool emitFocusChanged=true)
 
void addPopup (QGraphicsWidget *widget)
 
void removePopup (QGraphicsWidget *widget, bool itemIsDying=false)
 
void grabMouse (QGraphicsItem *item, bool implicit=false)
 
void ungrabMouse (QGraphicsItem *item, bool itemIsDying=false)
 
void clearMouseGrabber ()
 
void grabKeyboard (QGraphicsItem *item)
 
void ungrabKeyboard (QGraphicsItem *item, bool itemIsDying=false)
 
void clearKeyboardGrabber ()
 
void enableMouseTrackingOnViews ()
 
QList< QGraphicsItem * > itemsAtPosition (const QPoint &screenPos, const QPointF &scenePos, QWidget *widget) const
 
void storeMouseButtonsForMouseGrabber (QGraphicsSceneMouseEvent *event)
 
void addView (QGraphicsView *view)
 
void removeView (QGraphicsView *view)
 
void installSceneEventFilter (QGraphicsItem *watched, QGraphicsItem *filter)
 
void removeSceneEventFilter (QGraphicsItem *watched, QGraphicsItem *filter)
 
bool filterDescendantEvent (QGraphicsItem *item, QEvent *event)
 
bool filterEvent (QGraphicsItem *item, QEvent *event)
 
bool sendEvent (QGraphicsItem *item, QEvent *event)
 
bool dispatchHoverEvent (QGraphicsSceneHoverEvent *hoverEvent)
 
bool itemAcceptsHoverEvents_helper (const QGraphicsItem *item) const
 
void leaveScene (QWidget *viewport)
 
void cloneDragDropEvent (QGraphicsSceneDragDropEvent *dest, QGraphicsSceneDragDropEvent *source)
 
void sendDragDropEvent (QGraphicsItem *item, QGraphicsSceneDragDropEvent *dragDropEvent)
 
void sendHoverEvent (QEvent::Type type, QGraphicsItem *item, QGraphicsSceneHoverEvent *hoverEvent)
 
void sendMouseEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
void mousePressEventHandler (QGraphicsSceneMouseEvent *mouseEvent)
 
QGraphicsWidgetwindowForItem (const QGraphicsItem *item) const
 
void drawItemHelper (QGraphicsItem *item, QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget, bool painterStateProtection)
 
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=nullptr)
 
void draw (QGraphicsItem *, QPainter *, const QTransform *const, const QTransform *const, QRegion *, QWidget *, qreal, const QTransform *const, bool, bool)
 
void markDirty (QGraphicsItem *item, const QRectF &rect=QRectF(), bool invalidateChildren=false, bool force=false, bool ignoreOpacity=false, bool removingItemFromScene=false, bool updateBoundingRect=false)
 
void processDirtyItemsRecursive (QGraphicsItem *item, bool dirtyAncestorContainsChildren=false, qreal parentOpacity=qreal(1.0))
 
void resetDirtyItem (QGraphicsItem *item, bool recursive=false)
 
void ensureSortedTopLevelItems ()
 
void ensureSequentialTopLevelSiblingIndexes ()
 
void setFont_helper (const QFont &font)
 
void resolveFont ()
 
void updateFont (const QFont &font)
 
void setPalette_helper (const QPalette &palette)
 
void resolvePalette ()
 
void updatePalette (const QPalette &palette)
 
int findClosestTouchPointId (const QPointF &scenePos)
 
void touchEventHandler (QTouchEvent *touchEvent)
 
bool sendTouchBeginEvent (QGraphicsItem *item, QTouchEvent *touchEvent)
 
void enableTouchEventsOnViews ()
 
void gestureEventHandler (QGestureEvent *event)
 
void gestureTargetsAtHotSpots (const QSet< QGesture * > &gestures, Qt::GestureFlag flag, QHash< QGraphicsObject *, QSet< QGesture * > > *targets, QSet< QGraphicsObject * > *itemsSet=nullptr, QSet< QGesture * > *normal=nullptr, QSet< QGesture * > *conflicts=nullptr)
 
void cancelGesturesForChildren (QGesture *original)
 
void grabGesture (QGraphicsItem *, Qt::GestureType gesture)
 
void ungrabGesture (QGraphicsItem *, Qt::GestureType gesture)
 
void updateInputMethodSensitivityInViews ()
 
void enterModal (QGraphicsItem *item, QGraphicsItem::PanelModality panelModality=QGraphicsItem::NonModal)
 
void leaveModal (QGraphicsItem *item)
 
- Public Member Functions inherited from QObjectPrivate
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void ensureConnectionData ()
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static QGraphicsScenePrivateget (QGraphicsScene *q)
 
static void updateTouchPointsForItem (QGraphicsItem *item, QTouchEvent *touchEvent)
 
- Static Public Member Functions inherited from QObjectPrivate
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 
static bool disconnect (Connection *c)
 

Public Attributes

int changedSignalIndex
 
int processDirtyItemsIndex
 
int polishItemsIndex
 
QGraphicsScene::ItemIndexMethod indexMethod
 
QGraphicsSceneIndexindex
 
int lastItemCount
 
QRectF sceneRect
 
quint32 hasSceneRect: 1
 
quint32 dirtyGrowingItemsBoundingRect: 1
 
quint32 updateAll: 1
 
quint32 calledEmitUpdated: 1
 
quint32 processDirtyItemsEmitted: 1
 
quint32 needSortTopLevelItems: 1
 
quint32 holesInTopLevelSiblingIndex: 1
 
quint32 topLevelSequentialOrdering: 1
 
quint32 scenePosDescendantsUpdatePending: 1
 
quint32 stickyFocus: 1
 
quint32 hasFocus: 1
 
quint32 lastMouseGrabberItemHasImplicitMouseGrab: 1
 
quint32 allItemsIgnoreHoverEvents: 1
 
quint32 allItemsUseDefaultCursor: 1
 
quint32 painterStateProtection: 1
 
quint32 sortCacheEnabled: 1
 
quint32 allItemsIgnoreTouchEvents: 1
 
quint32 focusOnTouch: 1
 
quint32 padding: 14
 
qreal minimumRenderSize
 
QRectF growingItemsBoundingRect
 
std::set< QRectF, UpdatedRectsCmpupdatedRects
 
QPainterPath selectionArea
 
int selectionChanging
 
QSet< QGraphicsItem * > selectedItems
 
QList< QGraphicsItem * > unpolishedItems
 
QList< QGraphicsItem * > topLevelItems
 
QHash< QGraphicsItem *, QPointFmovingItemsInitialPositions
 
QSet< QGraphicsItem * > scenePosItems
 
QBrush backgroundBrush
 
QBrush foregroundBrush
 
quint32 rectAdjust
 
QGraphicsItemfocusItem
 
QGraphicsItemlastFocusItem
 
QGraphicsItempassiveFocusItem
 
QGraphicsWidgettabFocusFirst
 
QGraphicsItemactivePanel
 
QGraphicsItemlastActivePanel
 
int activationRefCount
 
int childExplicitActivation
 
QList< QGraphicsWidget * > popupWidgets
 
QGraphicsItemlastMouseGrabberItem
 
QList< QGraphicsItem * > mouseGrabberItems
 
QList< QGraphicsItem * > keyboardGrabberItems
 
QGraphicsItemdragDropItem
 
QGraphicsWidgetenterWidget
 
Qt::DropAction lastDropAction
 
QList< QGraphicsItem * > cachedItemsUnderMouse
 
QList< QGraphicsItem * > hoverItems
 
QPointF lastSceneMousePos
 
QMap< Qt::MouseButton, QPointFmouseGrabberButtonDownPos
 
QMap< Qt::MouseButton, QPointFmouseGrabberButtonDownScenePos
 
QMap< Qt::MouseButton, QPointmouseGrabberButtonDownScreenPos
 
QList< QGraphicsView * > views
 
QMultiMap< QGraphicsItem *, QGraphicsItem * > sceneEventFilters
 
QStylestyle
 
QFont font
 
QPalette palette
 
QStyleOptionGraphicsItem styleOptionTmp
 
QMap< int, QEventPointsceneCurrentTouchPoints
 
QMap< int, QGraphicsItem * > itemForTouchPointId
 
QList< QGraphicsObject * > cachedTargetItems
 
QHash< QGraphicsObject *, QSet< QGesture * > > cachedItemGestures
 
QHash< QGraphicsObject *, QSet< QGesture * > > cachedAlreadyDeliveredGestures
 
QHash< QGesture *, QGraphicsObject * > gestureTargets
 
QHash< Qt::GestureType, int > grabbedGestures
 
QList< QGraphicsItem * > modalPanels
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint unused: 24
 
int postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 

Detailed Description

Definition at line 83 of file qgraphicsscene_p.h.

Constructor & Destructor Documentation

◆ QGraphicsScenePrivate()

QGraphicsScenePrivate::QGraphicsScenePrivate ( )

Definition at line 282 of file qgraphicsscene.cpp.

Member Function Documentation

◆ _q_emitUpdated()

void QGraphicsScenePrivate::_q_emitUpdated ( )

Definition at line 349 of file qgraphicsscene.cpp.

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

◆ _q_polishItems()

void QGraphicsScenePrivate::_q_polishItems ( )

Definition at line 442 of file qgraphicsscene.cpp.

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

◆ _q_processDirtyItems()

void QGraphicsScenePrivate::_q_processDirtyItems ( )

Definition at line 479 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ _q_updateLater()

void QGraphicsScenePrivate::_q_updateLater ( )

◆ _q_updateScenePosDescendants()

void QGraphicsScenePrivate::_q_updateScenePosDescendants ( )

Definition at line 558 of file qgraphicsscene.cpp.

◆ addPopup()

void QGraphicsScenePrivate::addPopup ( QGraphicsWidget widget)

Definition at line 900 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ addView()

void QGraphicsScenePrivate::addView ( QGraphicsView view)

Definition at line 5825 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ cancelGesturesForChildren()

void QGraphicsScenePrivate::cancelGesturesForChildren ( QGesture original)

Definition at line 6461 of file qgraphicsscene.cpp.

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

◆ clearKeyboardGrabber()

void QGraphicsScenePrivate::clearKeyboardGrabber ( )

Definition at line 1111 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ clearMouseGrabber()

void QGraphicsScenePrivate::clearMouseGrabber ( )

Definition at line 1040 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ cloneDragDropEvent()

void QGraphicsScenePrivate::cloneDragDropEvent ( QGraphicsSceneDragDropEvent dest,
QGraphicsSceneDragDropEvent source 
)

Definition at line 1266 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ dispatchHoverEvent()

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 visible item that accepts hover events at the scene position from the event.

Note: See items() for a definition of which items are considered visible by this function.

See also
QGraphicsItem::hoverEvent(), QGraphicsItem::setAcceptHoverEvents()

Definition at line 3795 of file qgraphicsscene.cpp.

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

◆ draw()

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 4822 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ drawItemHelper()

void QGraphicsScenePrivate::drawItemHelper ( QGraphicsItem item,
QPainter painter,
const QStyleOptionGraphicsItem option,
QWidget widget,
bool  painterStateProtection 
)

Definition at line 4336 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ drawItems()

void QGraphicsScenePrivate::drawItems ( QPainter painter,
const QTransform *const  viewTransform,
QRegion exposedRegion,
QWidget widget 
)

Definition at line 4642 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ drawSubtreeRecursive()

void QGraphicsScenePrivate::drawSubtreeRecursive ( QGraphicsItem item,
QPainter painter,
const QTransform * const  viewTransform,
QRegion exposedRegion,
QWidget widget,
qreal  parentOpacity = qreal(1.0),
const QTransform *const  effectTransform = nullptr 
)

Definition at line 4661 of file qgraphicsscene.cpp.

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

◆ enableMouseTrackingOnViews()

void QGraphicsScenePrivate::enableMouseTrackingOnViews ( )

Definition at line 1117 of file qgraphicsscene.cpp.

◆ enableTouchEventsOnViews()

void QGraphicsScenePrivate::enableTouchEventsOnViews ( )

Definition at line 6062 of file qgraphicsscene.cpp.

◆ ensureSequentialTopLevelSiblingIndexes()

void QGraphicsScenePrivate::ensureSequentialTopLevelSiblingIndexes ( )

Definition at line 1514 of file qgraphicsscene.cpp.

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

◆ ensureSortedTopLevelItems()

void QGraphicsScenePrivate::ensureSortedTopLevelItems ( )
inline

Definition at line 289 of file qgraphicsscene_p.h.

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

◆ enterModal()

void QGraphicsScenePrivate::enterModal ( QGraphicsItem item,
QGraphicsItem::PanelModality  panelModality = QGraphicsItem::NonModal 
)

Definition at line 6074 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ filterDescendantEvent()

bool QGraphicsScenePrivate::filterDescendantEvent ( QGraphicsItem item,
QEvent event 
)

Definition at line 1193 of file qgraphicsscene.cpp.

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

◆ filterEvent()

bool QGraphicsScenePrivate::filterEvent ( QGraphicsItem item,
QEvent event 
)

Definition at line 1211 of file qgraphicsscene.cpp.

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

◆ findClosestTouchPointId()

int QGraphicsScenePrivate::findClosestTouchPointId ( const QPointF scenePos)

Definition at line 5851 of file qgraphicsscene.cpp.

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

◆ gestureEventHandler()

void QGraphicsScenePrivate::gestureEventHandler ( QGestureEvent event)

Definition at line 6214 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ gestureTargetsAtHotSpots()

void QGraphicsScenePrivate::gestureTargetsAtHotSpots ( const QSet< QGesture * > &  gestures,
Qt::GestureFlag  flag,
QHash< QGraphicsObject *, QSet< QGesture * > > *  targets,
QSet< QGraphicsObject * > *  itemsSet = nullptr,
QSet< QGesture * > *  normal = nullptr,
QSet< QGesture * > *  conflicts = nullptr 
)

Definition at line 6167 of file qgraphicsscene.cpp.

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

◆ get()

QGraphicsScenePrivate * QGraphicsScenePrivate::get ( QGraphicsScene q)
static

Definition at line 344 of file qgraphicsscene.cpp.

Here is the caller graph for this function:

◆ grabGesture()

void QGraphicsScenePrivate::grabGesture ( QGraphicsItem ,
Qt::GestureType  gesture 
)

Definition at line 6545 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ grabKeyboard()

void QGraphicsScenePrivate::grabKeyboard ( QGraphicsItem item)

Definition at line 1050 of file qgraphicsscene.cpp.

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

◆ grabMouse()

void QGraphicsScenePrivate::grabMouse ( QGraphicsItem item,
bool  implicit = false 
)

Definition at line 950 of file qgraphicsscene.cpp.

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

◆ init()

void QGraphicsScenePrivate::init ( )

Definition at line 326 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ installSceneEventFilter()

void QGraphicsScenePrivate::installSceneEventFilter ( QGraphicsItem watched,
QGraphicsItem filter 
)

Definition at line 1167 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ itemAcceptsHoverEvents_helper()

bool QGraphicsScenePrivate::itemAcceptsHoverEvents_helper ( const QGraphicsItem item) const

Definition at line 3777 of file qgraphicsscene.cpp.

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

◆ itemsAtPosition()

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 1126 of file qgraphicsscene.cpp.

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

◆ leaveModal()

void QGraphicsScenePrivate::leaveModal ( QGraphicsItem item)

Definition at line 6135 of file qgraphicsscene.cpp.

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

◆ leaveScene()

void QGraphicsScenePrivate::leaveScene ( QWidget viewport)

Definition at line 3872 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ markDirty()

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 4947 of file qgraphicsscene.cpp.

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

◆ mousePressEventHandler()

void QGraphicsScenePrivate::mousePressEventHandler ( QGraphicsSceneMouseEvent mouseEvent)

Definition at line 1343 of file qgraphicsscene.cpp.

◆ processDirtyItemsRecursive()

void QGraphicsScenePrivate::processDirtyItemsRecursive ( QGraphicsItem item,
bool  dirtyAncestorContainsChildren = false,
qreal  parentOpacity = qreal(1.0) 
)

Definition at line 5082 of file qgraphicsscene.cpp.

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

◆ registerScenePosItem()

void QGraphicsScenePrivate::registerScenePosItem ( QGraphicsItem item)

Definition at line 540 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ registerTopLevelItem()

void QGraphicsScenePrivate::registerTopLevelItem ( QGraphicsItem item)

Definition at line 410 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ removeItemHelper()

void QGraphicsScenePrivate::removeItemHelper ( QGraphicsItem item)

Definition at line 582 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ removePopup()

void QGraphicsScenePrivate::removePopup ( QGraphicsWidget widget,
bool  itemIsDying = false 
)

Definition at line 926 of file qgraphicsscene.cpp.

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

◆ removeSceneEventFilter()

void QGraphicsScenePrivate::removeSceneEventFilter ( QGraphicsItem watched,
QGraphicsItem filter 
)

Definition at line 1175 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ removeView()

void QGraphicsScenePrivate::removeView ( QGraphicsView view)

Definition at line 5835 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ resetDirtyItem()

void QGraphicsScenePrivate::resetDirtyItem ( QGraphicsItem item,
bool  recursive = false 
)
inline

Definition at line 254 of file qgraphicsscene_p.h.

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

◆ resolveFont()

void QGraphicsScenePrivate::resolveFont ( )

Definition at line 1547 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ resolvePalette()

void QGraphicsScenePrivate::resolvePalette ( )

Definition at line 1604 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ sendDragDropEvent()

void QGraphicsScenePrivate::sendDragDropEvent ( QGraphicsItem item,
QGraphicsSceneDragDropEvent dragDropEvent 
)

Definition at line 1285 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ sendEvent()

bool QGraphicsScenePrivate::sendEvent ( QGraphicsItem item,
QEvent event 
)

Definition at line 1236 of file qgraphicsscene.cpp.

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

◆ sendHoverEvent()

void QGraphicsScenePrivate::sendHoverEvent ( QEvent::Type  type,
QGraphicsItem item,
QGraphicsSceneHoverEvent hoverEvent 
)

Definition at line 1295 of file qgraphicsscene.cpp.

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

◆ sendMouseEvent()

void QGraphicsScenePrivate::sendMouseEvent ( QGraphicsSceneMouseEvent mouseEvent)

Definition at line 1314 of file qgraphicsscene.cpp.

◆ sendTouchBeginEvent()

bool QGraphicsScenePrivate::sendTouchBeginEvent ( QGraphicsItem item,
QTouchEvent touchEvent 
)

Definition at line 5990 of file qgraphicsscene.cpp.

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

◆ setActivePanelHelper()

void QGraphicsScenePrivate::setActivePanelHelper ( QGraphicsItem item,
bool  duringActivationEvent 
)

Definition at line 744 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ setFocusItemHelper()

void QGraphicsScenePrivate::setFocusItemHelper ( QGraphicsItem item,
Qt::FocusReason  focusReason,
bool  emitFocusChanged = true 
)

Definition at line 834 of file qgraphicsscene.cpp.

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

◆ setFont_helper()

void QGraphicsScenePrivate::setFont_helper ( const QFont font)

Definition at line 1534 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ setPalette_helper()

void QGraphicsScenePrivate::setPalette_helper ( const QPalette palette)

Definition at line 1591 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ setScenePosItemEnabled()

void QGraphicsScenePrivate::setScenePosItemEnabled ( QGraphicsItem item,
bool  enabled 
)

Definition at line 524 of file qgraphicsscene.cpp.

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

◆ storeMouseButtonsForMouseGrabber()

void QGraphicsScenePrivate::storeMouseButtonsForMouseGrabber ( QGraphicsSceneMouseEvent event)

Definition at line 1151 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ touchEventHandler()

void QGraphicsScenePrivate::touchEventHandler ( QTouchEvent touchEvent)

Definition at line 5865 of file qgraphicsscene.cpp.

Here is the call graph for this function:

◆ ungrabGesture()

void QGraphicsScenePrivate::ungrabGesture ( QGraphicsItem item,
Qt::GestureType  gesture 
)

Definition at line 6554 of file qgraphicsscene.cpp.

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

◆ ungrabKeyboard()

void QGraphicsScenePrivate::ungrabKeyboard ( QGraphicsItem item,
bool  itemIsDying = false 
)

Definition at line 1078 of file qgraphicsscene.cpp.

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

◆ ungrabMouse()

void QGraphicsScenePrivate::ungrabMouse ( QGraphicsItem item,
bool  itemIsDying = false 
)

Definition at line 993 of file qgraphicsscene.cpp.

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

◆ unregisterScenePosItem()

void QGraphicsScenePrivate::unregisterScenePosItem ( QGraphicsItem item)

Definition at line 549 of file qgraphicsscene.cpp.

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

◆ unregisterTopLevelItem()

void QGraphicsScenePrivate::unregisterTopLevelItem ( QGraphicsItem item)

Definition at line 423 of file qgraphicsscene.cpp.

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

◆ updateFont()

void QGraphicsScenePrivate::updateFont ( const QFont font)

Definition at line 1561 of file qgraphicsscene.cpp.

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

◆ updateInputMethodSensitivityInViews()

void QGraphicsScenePrivate::updateInputMethodSensitivityInViews ( )

Definition at line 6068 of file qgraphicsscene.cpp.

Here is the caller graph for this function:

◆ updatePalette()

void QGraphicsScenePrivate::updatePalette ( const QPalette palette)

Definition at line 1618 of file qgraphicsscene.cpp.

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

◆ updateTouchPointsForItem()

void QGraphicsScenePrivate::updateTouchPointsForItem ( QGraphicsItem item,
QTouchEvent touchEvent 
)
static

Definition at line 5840 of file qgraphicsscene.cpp.

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

◆ windowForItem()

QGraphicsWidget* QGraphicsScenePrivate::windowForItem ( const QGraphicsItem item) const

Member Data Documentation

◆ activationRefCount

int QGraphicsScenePrivate::activationRefCount

Definition at line 174 of file qgraphicsscene_p.h.

◆ activePanel

QGraphicsItem* QGraphicsScenePrivate::activePanel

Definition at line 172 of file qgraphicsscene_p.h.

◆ allItemsIgnoreHoverEvents

quint32 QGraphicsScenePrivate::allItemsIgnoreHoverEvents

Definition at line 115 of file qgraphicsscene_p.h.

◆ allItemsIgnoreTouchEvents

quint32 QGraphicsScenePrivate::allItemsIgnoreTouchEvents

Definition at line 119 of file qgraphicsscene_p.h.

◆ allItemsUseDefaultCursor

quint32 QGraphicsScenePrivate::allItemsUseDefaultCursor

Definition at line 116 of file qgraphicsscene_p.h.

◆ backgroundBrush

QBrush QGraphicsScenePrivate::backgroundBrush

Definition at line 164 of file qgraphicsscene_p.h.

◆ cachedAlreadyDeliveredGestures

QHash<QGraphicsObject *, QSet<QGesture *> > QGraphicsScenePrivate::cachedAlreadyDeliveredGestures

Definition at line 323 of file qgraphicsscene_p.h.

◆ cachedItemGestures

QHash<QGraphicsObject *, QSet<QGesture *> > QGraphicsScenePrivate::cachedItemGestures

Definition at line 322 of file qgraphicsscene_p.h.

◆ cachedItemsUnderMouse

QList<QGraphicsItem *> QGraphicsScenePrivate::cachedItemsUnderMouse

Definition at line 198 of file qgraphicsscene_p.h.

◆ cachedTargetItems

QList<QGraphicsObject *> QGraphicsScenePrivate::cachedTargetItems

Definition at line 320 of file qgraphicsscene_p.h.

◆ calledEmitUpdated

quint32 QGraphicsScenePrivate::calledEmitUpdated

Definition at line 106 of file qgraphicsscene_p.h.

◆ changedSignalIndex

int QGraphicsScenePrivate::changedSignalIndex

Definition at line 92 of file qgraphicsscene_p.h.

◆ childExplicitActivation

int QGraphicsScenePrivate::childExplicitActivation

Definition at line 175 of file qgraphicsscene_p.h.

◆ dirtyGrowingItemsBoundingRect

quint32 QGraphicsScenePrivate::dirtyGrowingItemsBoundingRect

Definition at line 104 of file qgraphicsscene_p.h.

◆ dragDropItem

QGraphicsItem* QGraphicsScenePrivate::dragDropItem

Definition at line 195 of file qgraphicsscene_p.h.

◆ enterWidget

QGraphicsWidget* QGraphicsScenePrivate::enterWidget

Definition at line 196 of file qgraphicsscene_p.h.

◆ focusItem

QGraphicsItem* QGraphicsScenePrivate::focusItem

Definition at line 168 of file qgraphicsscene_p.h.

◆ focusOnTouch

quint32 QGraphicsScenePrivate::focusOnTouch

Definition at line 120 of file qgraphicsscene_p.h.

◆ font

QFont QGraphicsScenePrivate::font

Definition at line 301 of file qgraphicsscene_p.h.

◆ foregroundBrush

QBrush QGraphicsScenePrivate::foregroundBrush

Definition at line 165 of file qgraphicsscene_p.h.

◆ gestureTargets

QHash<QGesture *, QGraphicsObject *> QGraphicsScenePrivate::gestureTargets

Definition at line 324 of file qgraphicsscene_p.h.

◆ grabbedGestures

QHash<Qt::GestureType, int> QGraphicsScenePrivate::grabbedGestures

Definition at line 325 of file qgraphicsscene_p.h.

◆ growingItemsBoundingRect

QRectF QGraphicsScenePrivate::growingItemsBoundingRect

Definition at line 125 of file qgraphicsscene_p.h.

◆ hasFocus

quint32 QGraphicsScenePrivate::hasFocus

Definition at line 113 of file qgraphicsscene_p.h.

◆ hasSceneRect

quint32 QGraphicsScenePrivate::hasSceneRect

Definition at line 103 of file qgraphicsscene_p.h.

◆ holesInTopLevelSiblingIndex

quint32 QGraphicsScenePrivate::holesInTopLevelSiblingIndex

Definition at line 109 of file qgraphicsscene_p.h.

◆ hoverItems

QList<QGraphicsItem *> QGraphicsScenePrivate::hoverItems

Definition at line 199 of file qgraphicsscene_p.h.

◆ index

QGraphicsSceneIndex* QGraphicsScenePrivate::index

Definition at line 97 of file qgraphicsscene_p.h.

◆ indexMethod

QGraphicsScene::ItemIndexMethod QGraphicsScenePrivate::indexMethod

Definition at line 96 of file qgraphicsscene_p.h.

◆ itemForTouchPointId

QMap<int, QGraphicsItem *> QGraphicsScenePrivate::itemForTouchPointId

Definition at line 313 of file qgraphicsscene_p.h.

◆ keyboardGrabberItems

QList<QGraphicsItem *> QGraphicsScenePrivate::keyboardGrabberItems

Definition at line 190 of file qgraphicsscene_p.h.

◆ lastActivePanel

QGraphicsItem* QGraphicsScenePrivate::lastActivePanel

Definition at line 173 of file qgraphicsscene_p.h.

◆ lastDropAction

Qt::DropAction QGraphicsScenePrivate::lastDropAction

Definition at line 197 of file qgraphicsscene_p.h.

◆ lastFocusItem

QGraphicsItem* QGraphicsScenePrivate::lastFocusItem

Definition at line 169 of file qgraphicsscene_p.h.

◆ lastItemCount

int QGraphicsScenePrivate::lastItemCount

Definition at line 99 of file qgraphicsscene_p.h.

◆ lastMouseGrabberItem

QGraphicsItem* QGraphicsScenePrivate::lastMouseGrabberItem

Definition at line 184 of file qgraphicsscene_p.h.

◆ lastMouseGrabberItemHasImplicitMouseGrab

quint32 QGraphicsScenePrivate::lastMouseGrabberItemHasImplicitMouseGrab

Definition at line 114 of file qgraphicsscene_p.h.

◆ lastSceneMousePos

QPointF QGraphicsScenePrivate::lastSceneMousePos

Definition at line 200 of file qgraphicsscene_p.h.

◆ minimumRenderSize

qreal QGraphicsScenePrivate::minimumRenderSize

Definition at line 123 of file qgraphicsscene_p.h.

◆ modalPanels

QList<QGraphicsItem *> QGraphicsScenePrivate::modalPanels

Definition at line 340 of file qgraphicsscene_p.h.

◆ mouseGrabberButtonDownPos

QMap<Qt::MouseButton, QPointF> QGraphicsScenePrivate::mouseGrabberButtonDownPos

Definition at line 202 of file qgraphicsscene_p.h.

◆ mouseGrabberButtonDownScenePos

QMap<Qt::MouseButton, QPointF> QGraphicsScenePrivate::mouseGrabberButtonDownScenePos

Definition at line 203 of file qgraphicsscene_p.h.

◆ mouseGrabberButtonDownScreenPos

QMap<Qt::MouseButton, QPoint> QGraphicsScenePrivate::mouseGrabberButtonDownScreenPos

Definition at line 204 of file qgraphicsscene_p.h.

◆ mouseGrabberItems

QList<QGraphicsItem *> QGraphicsScenePrivate::mouseGrabberItems

Definition at line 185 of file qgraphicsscene_p.h.

◆ movingItemsInitialPositions

QHash<QGraphicsItem *, QPointF> QGraphicsScenePrivate::movingItemsInitialPositions

Definition at line 148 of file qgraphicsscene_p.h.

◆ needSortTopLevelItems

quint32 QGraphicsScenePrivate::needSortTopLevelItems

Definition at line 108 of file qgraphicsscene_p.h.

◆ padding

quint32 QGraphicsScenePrivate::padding

Definition at line 121 of file qgraphicsscene_p.h.

◆ painterStateProtection

quint32 QGraphicsScenePrivate::painterStateProtection

Definition at line 117 of file qgraphicsscene_p.h.

◆ palette

QPalette QGraphicsScenePrivate::palette

Definition at line 305 of file qgraphicsscene_p.h.

◆ passiveFocusItem

QGraphicsItem* QGraphicsScenePrivate::passiveFocusItem

Definition at line 170 of file qgraphicsscene_p.h.

◆ polishItemsIndex

int QGraphicsScenePrivate::polishItemsIndex

Definition at line 94 of file qgraphicsscene_p.h.

◆ popupWidgets

QList<QGraphicsWidget *> QGraphicsScenePrivate::popupWidgets

Definition at line 180 of file qgraphicsscene_p.h.

◆ processDirtyItemsEmitted

quint32 QGraphicsScenePrivate::processDirtyItemsEmitted

Definition at line 107 of file qgraphicsscene_p.h.

◆ processDirtyItemsIndex

int QGraphicsScenePrivate::processDirtyItemsIndex

Definition at line 93 of file qgraphicsscene_p.h.

◆ rectAdjust

quint32 QGraphicsScenePrivate::rectAdjust

Definition at line 167 of file qgraphicsscene_p.h.

◆ sceneCurrentTouchPoints

QMap<int, QEventPoint> QGraphicsScenePrivate::sceneCurrentTouchPoints

Definition at line 312 of file qgraphicsscene_p.h.

◆ sceneEventFilters

QMultiMap<QGraphicsItem *, QGraphicsItem *> QGraphicsScenePrivate::sceneEventFilters

Definition at line 214 of file qgraphicsscene_p.h.

◆ scenePosDescendantsUpdatePending

quint32 QGraphicsScenePrivate::scenePosDescendantsUpdatePending

Definition at line 111 of file qgraphicsscene_p.h.

◆ scenePosItems

QSet<QGraphicsItem *> QGraphicsScenePrivate::scenePosItems

Definition at line 156 of file qgraphicsscene_p.h.

◆ sceneRect

QRectF QGraphicsScenePrivate::sceneRect

Definition at line 101 of file qgraphicsscene_p.h.

◆ selectedItems

QSet<QGraphicsItem *> QGraphicsScenePrivate::selectedItems

Definition at line 144 of file qgraphicsscene_p.h.

◆ selectionArea

QPainterPath QGraphicsScenePrivate::selectionArea

Definition at line 142 of file qgraphicsscene_p.h.

◆ selectionChanging

int QGraphicsScenePrivate::selectionChanging

Definition at line 143 of file qgraphicsscene_p.h.

◆ sortCacheEnabled

quint32 QGraphicsScenePrivate::sortCacheEnabled

Definition at line 118 of file qgraphicsscene_p.h.

◆ stickyFocus

quint32 QGraphicsScenePrivate::stickyFocus

Definition at line 112 of file qgraphicsscene_p.h.

◆ style

QStyle* QGraphicsScenePrivate::style

Definition at line 300 of file qgraphicsscene_p.h.

◆ styleOptionTmp

QStyleOptionGraphicsItem QGraphicsScenePrivate::styleOptionTmp

Definition at line 310 of file qgraphicsscene_p.h.

◆ tabFocusFirst

QGraphicsWidget* QGraphicsScenePrivate::tabFocusFirst

Definition at line 171 of file qgraphicsscene_p.h.

◆ topLevelItems

QList<QGraphicsItem *> QGraphicsScenePrivate::topLevelItems

Definition at line 146 of file qgraphicsscene_p.h.

◆ topLevelSequentialOrdering

quint32 QGraphicsScenePrivate::topLevelSequentialOrdering

Definition at line 110 of file qgraphicsscene_p.h.

◆ unpolishedItems

QList<QGraphicsItem *> QGraphicsScenePrivate::unpolishedItems

Definition at line 145 of file qgraphicsscene_p.h.

◆ updateAll

quint32 QGraphicsScenePrivate::updateAll

Definition at line 105 of file qgraphicsscene_p.h.

◆ updatedRects

std::set<QRectF, UpdatedRectsCmp> QGraphicsScenePrivate::updatedRects

Definition at line 140 of file qgraphicsscene_p.h.

◆ views

QList<QGraphicsView *> QGraphicsScenePrivate::views

Definition at line 210 of file qgraphicsscene_p.h.


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