Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QGraphicsViewPrivate Class Reference

#include <qgraphicsview_p.h>

+ Inheritance diagram for QGraphicsViewPrivate:
+ Collaboration diagram for QGraphicsViewPrivate:

Public Member Functions

 QGraphicsViewPrivate ()
 
 ~QGraphicsViewPrivate ()
 
void recalculateContentSize ()
 
void centerView (QGraphicsView::ViewportAnchor anchor)
 
void updateLastCenterPoint ()
 
qint64 horizontalScroll () const
 
qint64 verticalScroll () const
 
QRectF mapRectToScene (const QRect &rect) const
 
QRectF mapRectFromScene (const QRectF &rect) const
 
void updateScroll ()
 
bool canStartScrollingAt (const QPoint &startPos) const override
 
void replayLastMouseEvent ()
 
void storeMouseEvent (QMouseEvent *event)
 
void mouseMoveEventHandler (QMouseEvent *event)
 
QStyleOptionGraphicsItemallocStyleOptionsArray (int numItems)
 
void freeStyleOptionsArray (QStyleOptionGraphicsItem *array)
 
void _q_setViewportCursor (const QCursor &cursor)
 
void _q_unsetViewportCursor ()
 
void storeDragDropEvent (const QGraphicsSceneDragDropEvent *event)
 
void populateSceneDragDropEvent (QGraphicsSceneDragDropEvent *dest, QDropEvent *source)
 
QRect mapToViewRect (const QGraphicsItem *item, const QRectF &rect) const
 
QRegion mapToViewRegion (const QGraphicsItem *item, const QRectF &rect) const
 
void processPendingUpdates ()
 
void updateAll ()
 
void dispatchPendingUpdateRequests ()
 
void setUpdateClip (QGraphicsItem *)
 
bool updateRectF (const QRectF &rect)
 
bool updateRect (const QRect &rect)
 
bool updateRegion (const QRectF &rect, const QTransform &xform)
 
QList< QGraphicsItem * > findItems (const QRegion &exposedRegion, bool *allItems, const QTransform &viewTransform) const
 
QPointF mapToScene (const QPointF &point) const
 
QRectF mapToScene (const QRectF &rect) const
 
void updateInputMethodSensitivity ()
 

Static Public Member Functions

static void translateTouchEvent (QGraphicsViewPrivate *d, QTouchEvent *touchEvent)
 

Public Attributes

QPainter::RenderHints renderHints
 
QGraphicsView::DragMode dragMode
 
quint32 sceneInteractionAllowed: 1
 
quint32 hasSceneRect: 1
 
quint32 connectedToScene: 1
 
quint32 useLastMouseEvent: 1
 
quint32 identityMatrix: 1
 
quint32 dirtyScroll: 1
 
quint32 accelerateScrolling: 1
 
quint32 keepLastCenterPoint: 1
 
quint32 transforming: 1
 
quint32 handScrolling: 1
 
quint32 mustAllocateStyleOptions: 1
 
quint32 mustResizeBackgroundPixmap: 1
 
quint32 fullUpdatePending: 1
 
quint32 hasUpdateClip: 1
 
quint32 padding: 18
 
QRectF sceneRect
 
QRect updateClip
 
QPointF mousePressItemPoint
 
QPointF mousePressScenePoint
 
QPoint mousePressViewPoint
 
QPoint mousePressScreenPoint
 
QPointF lastMouseMoveScenePoint
 
QPointF lastRubberbandScenePoint
 
QPoint lastMouseMoveScreenPoint
 
QPoint dirtyScrollOffset
 
Qt::MouseButton mousePressButton
 
QTransform matrix
 
qint64 scrollX
 
qint64 scrollY
 
qreal leftIndent
 
qreal topIndent
 
QMutableSinglePointEvent lastMouseEvent
 
QPointF lastCenterPoint
 
Qt::Alignment alignment
 
QGraphicsView::ViewportAnchor transformationAnchor
 
QGraphicsView::ViewportAnchor resizeAnchor
 
QGraphicsView::ViewportUpdateMode viewportUpdateMode
 
QGraphicsView::OptimizationFlags optimizationFlags
 
bool stereoEnabled = false
 
QPointer< QGraphicsScenescene
 
int handScrollMotions
 
QGraphicsView::CacheMode cacheMode
 
QList< QStyleOptionGraphicsItemstyleOptions
 
QBrush backgroundBrush
 
QBrush foregroundBrush
 
QPixmap backgroundPixmap
 
QRegion backgroundPixmapExposed
 
QCursor originalCursor
 
bool hasStoredOriginalCursor
 
QGraphicsSceneDragDropEventlastDragDropEvent
 
QRegion dirtyRegion
 
QRect dirtyBoundingRect
 
bool updateSceneSlotReimplementedChecked
 
QRegion exposedRegion
 

Detailed Description

Definition at line 32 of file qgraphicsview_p.h.

Constructor & Destructor Documentation

◆ QGraphicsViewPrivate()

QGraphicsViewPrivate::QGraphicsViewPrivate ( )

Definition at line 300 of file qgraphicsview.cpp.

References QGRAPHICSVIEW_PREALLOC_STYLE_OPTIONS, QList< T >::reserve(), and styleOptions.

+ Here is the call graph for this function:

◆ ~QGraphicsViewPrivate()

QGraphicsViewPrivate::~QGraphicsViewPrivate ( )

Definition at line 337 of file qgraphicsview.cpp.

Member Function Documentation

◆ _q_setViewportCursor()

void QGraphicsViewPrivate::_q_setViewportCursor ( const QCursor cursor)

Definition at line 806 of file qgraphicsview.cpp.

References cursor, hasStoredOriginalCursor, originalCursor, and viewport().

Referenced by _q_unsetViewportCursor(), and mouseMoveEventHandler().

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

◆ _q_unsetViewportCursor()

void QGraphicsViewPrivate::_q_unsetViewportCursor ( )

Definition at line 820 of file qgraphicsview.cpp.

References _q_setViewportCursor(), QGraphicsItem::cursor(), dragMode, QGraphicsItem::hasCursor(), hasStoredOriginalCursor, QGraphicsItem::isEnabled(), item, items, lastMouseEvent, Qt::OpenHandCursor, originalCursor, QSinglePointEvent::position(), QGraphicsView::ScrollHandDrag, QPointF::toPoint(), and viewport().

+ Here is the call graph for this function:

◆ allocStyleOptionsArray()

QStyleOptionGraphicsItem * QGraphicsViewPrivate::allocStyleOptionsArray ( int  numItems)

Definition at line 1099 of file qgraphicsview.cpp.

References QList< T >::capacity(), QList< T >::data(), mustAllocateStyleOptions, QList< T >::resize(), QList< T >::size(), and styleOptions.

+ Here is the call graph for this function:

◆ canStartScrollingAt()

bool QGraphicsViewPrivate::canStartScrollingAt ( const QPoint startPos) const
override

don't start scrolling when a drag mode has been set don't start scrolling on a movable item

Definition at line 591 of file qgraphicsview.cpp.

References QGraphicsItem::flags(), QPoint::isNull(), QGraphicsItem::ItemIsMovable, and QGraphicsView::NoDrag.

+ Here is the call graph for this function:

◆ centerView()

void QGraphicsViewPrivate::centerView ( QGraphicsView::ViewportAnchor  anchor)

Definition at line 478 of file qgraphicsview.cpp.

References QGraphicsView::AnchorUnderMouse, QGraphicsView::AnchorViewCenter, lastCenterPoint, lastMouseMoveScenePoint, QGraphicsView::NoAnchor, QCursor::pos(), and viewport().

+ Here is the call graph for this function:

◆ dispatchPendingUpdateRequests()

void QGraphicsViewPrivate::dispatchPendingUpdateRequests ( )
inline

Definition at line 153 of file qgraphicsview_p.h.

References qt_widget_private(), QCoreApplication::sendPostedEvents(), QEvent::UpdateRequest, and viewport().

+ Here is the call graph for this function:

◆ findItems()

QList< QGraphicsItem * > QGraphicsViewPrivate::findItems ( const QRegion exposedRegion,
bool *  allItems,
const QTransform viewTransform 
) const

Adjustments in findItems: mapToScene(QRect) forces us to adjust the

input rectangle by (0, 0, 1, 1), because it uses QRect::bottomRight() (etc) when mapping the rectangle to a polygon (which is wrong). In addition, as QGraphicsItem::boundingRect() is defined in logical space, but the default pen for QPainter is cosmetic with a width of 0, QPainter is at risk of painting 1 pixel outside the bounding rect. Therefore we must search for items with an adjustment of (-1, -1, 1, 1).

Definition at line 1131 of file qgraphicsview.cpp.

References QRect::adjusted(), Qt::AscendingOrder, QRegion::boundingRect(), QRectF::contains(), exposedRegion, Qt::IntersectsItemBoundingRect, QGraphicsScene::items(), Q_ASSERT, qt_regionToPath(), QRegion::rectCount(), scene, QGraphicsScene::sceneRect, and QTransform::TxScale.

+ Here is the call graph for this function:

◆ freeStyleOptionsArray()

void QGraphicsViewPrivate::freeStyleOptionsArray ( QStyleOptionGraphicsItem array)

Definition at line 1113 of file qgraphicsview.cpp.

References QList< T >::data(), mustAllocateStyleOptions, and styleOptions.

+ Here is the call graph for this function:

◆ horizontalScroll()

qint64 QGraphicsViewPrivate::horizontalScroll ( ) const

Returns the horizontal scroll value (the X value of the left edge of the viewport).

Definition at line 517 of file qgraphicsview.cpp.

References dirtyScroll, scrollX, and updateScroll().

Referenced by mapToScene(), mapToScene(), and setUpdateClip().

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

◆ mapRectFromScene()

QRectF QGraphicsViewPrivate::mapRectFromScene ( const QRectF rect) const

Maps the given rectangle from the scene using QTransform::mapRect()

Definition at line 556 of file qgraphicsview.cpp.

References dirtyScroll, identityMatrix, rect, scrollX, scrollY, and updateScroll().

+ Here is the call graph for this function:

◆ mapRectToScene()

QRectF QGraphicsViewPrivate::mapRectToScene ( const QRect rect) const

Maps the given rectangle to the scene using QTransform::mapRect()

Definition at line 542 of file qgraphicsview.cpp.

References dirtyScroll, identityMatrix, rect, scrollX, scrollY, and updateScroll().

+ Here is the call graph for this function:

◆ mapToScene() [1/2]

QPointF QGraphicsViewPrivate::mapToScene ( const QPointF point) const

Definition at line 3887 of file qgraphicsview.cpp.

References horizontalScroll(), identityMatrix, QPointF::rx(), and verticalScroll().

+ Here is the call graph for this function:

◆ mapToScene() [2/2]

QRectF QGraphicsViewPrivate::mapToScene ( const QRectF rect) const

Definition at line 3895 of file qgraphicsview.cpp.

References QPolygonF::boundingRect(), horizontalScroll(), identityMatrix, QTransform::inverted(), rect, tr, and verticalScroll().

+ Here is the call graph for this function:

◆ mapToViewRect()

QRect QGraphicsViewPrivate::mapToViewRect ( const QGraphicsItem item,
const QRectF rect 
) const

◆ mapToViewRegion()

QRegion QGraphicsViewPrivate::mapToViewRegion ( const QGraphicsItem item,
const QRectF rect 
) const

Definition at line 932 of file qgraphicsview.cpp.

References QGraphicsItem::boundingRegion(), QGraphicsItem::deviceTransform(), dirtyScroll, item, QTransform::mapRect(), rect, and updateScroll().

+ Here is the call graph for this function:

◆ mouseMoveEventHandler()

void QGraphicsViewPrivate::mouseMoveEventHandler ( QMouseEvent event)

Definition at line 625 of file qgraphicsview.cpp.

References _q_setViewportCursor(), QGraphicsSceneMouseEvent::buttons(), QGraphicsItem::cursor(), QEvent::GraphicsSceneMouseMove, handScrolling, QGraphicsItem::hasCursor(), hasStoredOriginalCursor, QEvent::isAccepted(), QGraphicsItem::isEnabled(), item, lastMouseEvent, lastMouseMoveScenePoint, lastMouseMoveScreenPoint, mousePressButton, mousePressScenePoint, mousePressScreenPoint, originalCursor, qt_sendSpontaneousEvent(), scene, sceneInteractionAllowed, QGraphicsSceneMouseEvent::scenePos(), QGraphicsSceneMouseEvent::screenPos(), QCoreApplication::sendEvent(), QEvent::setAccepted(), QPointerEvent::setAccepted(), QGraphicsSceneMouseEvent::setButton(), QGraphicsSceneMouseEvent::setButtonDownScenePos(), QGraphicsSceneMouseEvent::setButtonDownScreenPos(), QGraphicsSceneMouseEvent::setButtons(), QGraphicsSceneMouseEvent::setFlags(), QGraphicsSceneMouseEvent::setLastScenePos(), QGraphicsSceneMouseEvent::setLastScreenPos(), QGraphicsSceneMouseEvent::setModifiers(), QGraphicsSceneMouseEvent::setScenePos(), QGraphicsSceneMouseEvent::setScreenPos(), QGraphicsSceneMouseEvent::setSource(), QGraphicsSceneEvent::setTimestamp(), QGraphicsSceneEvent::setWidget(), storeMouseEvent(), viewport(), and QGraphicsSceneEvent::widget().

Referenced by replayLastMouseEvent().

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

◆ populateSceneDragDropEvent()

◆ processPendingUpdates()

void QGraphicsViewPrivate::processPendingUpdates ( )

Definition at line 946 of file qgraphicsview.cpp.

References QGraphicsView::BoundingRectViewportUpdate, dirtyBoundingRect, dirtyRegion, fullUpdatePending, scene, viewport(), and viewportUpdateMode.

+ Here is the call graph for this function:

◆ recalculateContentSize()

◆ replayLastMouseEvent()

void QGraphicsViewPrivate::replayLastMouseEvent ( )

Definition at line 608 of file qgraphicsview.cpp.

References lastMouseEvent, mouseMoveEventHandler(), scene, and useLastMouseEvent.

+ Here is the call graph for this function:

◆ setUpdateClip()

◆ storeDragDropEvent()

◆ storeMouseEvent()

void QGraphicsViewPrivate::storeMouseEvent ( QMouseEvent event)

Definition at line 619 of file qgraphicsview.cpp.

References lastMouseEvent, and useLastMouseEvent.

Referenced by mouseMoveEventHandler().

+ Here is the caller graph for this function:

◆ translateTouchEvent()

void QGraphicsViewPrivate::translateTouchEvent ( QGraphicsViewPrivate d,
QTouchEvent touchEvent 
)
static

Definition at line 286 of file qgraphicsview.cpp.

References d, i, and QTest::QTouchEventSequence::point().

Referenced by QGraphicsView::viewportEvent().

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

◆ updateAll()

void QGraphicsViewPrivate::updateAll ( )
inline

Definition at line 145 of file qgraphicsview_p.h.

References viewport().

Referenced by recalculateContentSize().

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

◆ updateInputMethodSensitivity()

void QGraphicsViewPrivate::updateInputMethodSensitivity ( )

Enables input methods for the view if and only if the current focus item of the scene accepts input methods. Call function whenever that condition has potentially changed.

Definition at line 1178 of file qgraphicsview.cpp.

References QGraphicsItem::d_ptr, QGraphicsItemPrivate::flags, QGraphicsScene::focusItem(), QWidget::focusWidget(), QGraphicsItem::inputMethodHints(), QWidget::inputMethodHints, QGraphicsItemPrivate::isProxyWidget(), QGraphicsItemPrivate::isWidget, QGraphicsItem::ItemAcceptsInputMethod, proxy, scene, QWidget::setInputMethodHints(), Qt::WA_InputMethodEnabled, and widget.

+ Here is the call graph for this function:

◆ updateLastCenterPoint()

void QGraphicsViewPrivate::updateLastCenterPoint ( )

Definition at line 505 of file qgraphicsview.cpp.

References lastCenterPoint, and viewport().

+ Here is the call graph for this function:

◆ updateRect()

bool QGraphicsViewPrivate::updateRect ( const QRect rect)

Definition at line 1063 of file qgraphicsview.cpp.

References QGraphicsView::BoundingRectViewportUpdate, containsViewport(), dirtyBoundingRect, dirtyRegion, fullUpdatePending, QGraphicsView::FullViewportUpdate, hasUpdateClip, intersectsViewport(), QGraphicsView::MinimalViewportUpdate, QGraphicsView::NoViewportUpdate, QRect_unite(), QGraphicsView::SmartViewportUpdate, updateClip, viewport(), and viewportUpdateMode.

Referenced by QGraphicsScenePrivate::markDirty(), QGraphicsScenePrivate::processDirtyItemsRecursive(), and QGraphicsItemPrivate::updatePaintedViewBoundingRects().

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

◆ updateRectF()

bool QGraphicsViewPrivate::updateRectF ( const QRectF rect)
inline

Definition at line 163 of file qgraphicsview_p.h.

References QGraphicsView::DontAdjustForAntialiasing, and rect.

Referenced by updateRegion().

+ Here is the caller graph for this function:

◆ updateRegion()

bool QGraphicsViewPrivate::updateRegion ( const QRectF rect,
const QTransform xform 
)

Definition at line 1025 of file qgraphicsview.cpp.

References QRect::adjust(), QRegion::boundingRect(), dirtyRegion, QGraphicsView::DontAdjustForAntialiasing, hasUpdateClip, intersectsViewport(), QTransform::map(), QTransform::mapRect(), QGraphicsView::MinimalViewportUpdate, optimizationFlags, rect, QGraphicsView::SmartViewportUpdate, updateClip, updateRectF(), viewport(), viewportUpdateMode, and xform.

+ Here is the call graph for this function:

◆ updateScroll()

void QGraphicsViewPrivate::updateScroll ( )

Definition at line 566 of file qgraphicsview.cpp.

References dirtyScroll, leftIndent, scrollX, scrollY, and topIndent.

Referenced by horizontalScroll(), mapRectFromScene(), mapRectToScene(), mapToViewRect(), mapToViewRegion(), and verticalScroll().

+ Here is the caller graph for this function:

◆ verticalScroll()

qint64 QGraphicsViewPrivate::verticalScroll ( ) const

Returns the vertical scroll value (the X value of the top edge of the viewport).

Definition at line 530 of file qgraphicsview.cpp.

References dirtyScroll, scrollY, and updateScroll().

Referenced by mapToScene(), mapToScene(), and setUpdateClip().

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

Member Data Documentation

◆ accelerateScrolling

quint32 QGraphicsViewPrivate::accelerateScrolling

Definition at line 52 of file qgraphicsview_p.h.

◆ alignment

Qt::Alignment QGraphicsViewPrivate::alignment

Definition at line 96 of file qgraphicsview_p.h.

Referenced by recalculateContentSize().

◆ backgroundBrush

QBrush QGraphicsViewPrivate::backgroundBrush

Definition at line 123 of file qgraphicsview_p.h.

◆ backgroundPixmap

QPixmap QGraphicsViewPrivate::backgroundPixmap

Definition at line 125 of file qgraphicsview_p.h.

◆ backgroundPixmapExposed

QRegion QGraphicsViewPrivate::backgroundPixmapExposed

Definition at line 126 of file qgraphicsview_p.h.

◆ cacheMode

QGraphicsView::CacheMode QGraphicsViewPrivate::cacheMode

Definition at line 117 of file qgraphicsview_p.h.

Referenced by recalculateContentSize().

◆ connectedToScene

quint32 QGraphicsViewPrivate::connectedToScene

Definition at line 48 of file qgraphicsview_p.h.

◆ dirtyBoundingRect

QRect QGraphicsViewPrivate::dirtyBoundingRect

Definition at line 143 of file qgraphicsview_p.h.

Referenced by processPendingUpdates(), and updateRect().

◆ dirtyRegion

QRegion QGraphicsViewPrivate::dirtyRegion

Definition at line 142 of file qgraphicsview_p.h.

Referenced by processPendingUpdates(), updateRect(), and updateRegion().

◆ dirtyScroll

◆ dirtyScrollOffset

◆ dragMode

QGraphicsView::DragMode QGraphicsViewPrivate::dragMode

Definition at line 44 of file qgraphicsview_p.h.

Referenced by _q_unsetViewportCursor().

◆ exposedRegion

QRegion QGraphicsViewPrivate::exposedRegion

Definition at line 175 of file qgraphicsview_p.h.

Referenced by findItems().

◆ foregroundBrush

QBrush QGraphicsViewPrivate::foregroundBrush

Definition at line 124 of file qgraphicsview_p.h.

◆ fullUpdatePending

quint32 QGraphicsViewPrivate::fullUpdatePending

◆ handScrolling

quint32 QGraphicsViewPrivate::handScrolling

Definition at line 55 of file qgraphicsview_p.h.

Referenced by mouseMoveEventHandler().

◆ handScrollMotions

int QGraphicsViewPrivate::handScrollMotions

Definition at line 115 of file qgraphicsview_p.h.

◆ hasSceneRect

quint32 QGraphicsViewPrivate::hasSceneRect

Definition at line 47 of file qgraphicsview_p.h.

◆ hasStoredOriginalCursor

bool QGraphicsViewPrivate::hasStoredOriginalCursor

◆ hasUpdateClip

quint32 QGraphicsViewPrivate::hasUpdateClip

Definition at line 59 of file qgraphicsview_p.h.

Referenced by setUpdateClip(), updateRect(), and updateRegion().

◆ identityMatrix

quint32 QGraphicsViewPrivate::identityMatrix

◆ keepLastCenterPoint

quint32 QGraphicsViewPrivate::keepLastCenterPoint

Definition at line 53 of file qgraphicsview_p.h.

◆ lastCenterPoint

QPointF QGraphicsViewPrivate::lastCenterPoint

Definition at line 95 of file qgraphicsview_p.h.

Referenced by centerView(), recalculateContentSize(), and updateLastCenterPoint().

◆ lastDragDropEvent

QGraphicsSceneDragDropEvent* QGraphicsViewPrivate::lastDragDropEvent

Definition at line 135 of file qgraphicsview_p.h.

Referenced by storeDragDropEvent().

◆ lastMouseEvent

QMutableSinglePointEvent QGraphicsViewPrivate::lastMouseEvent

◆ lastMouseMoveScenePoint

QPointF QGraphicsViewPrivate::lastMouseMoveScenePoint

Definition at line 76 of file qgraphicsview_p.h.

Referenced by centerView(), and mouseMoveEventHandler().

◆ lastMouseMoveScreenPoint

QPoint QGraphicsViewPrivate::lastMouseMoveScreenPoint

Definition at line 78 of file qgraphicsview_p.h.

Referenced by mouseMoveEventHandler().

◆ lastRubberbandScenePoint

QPointF QGraphicsViewPrivate::lastRubberbandScenePoint

Definition at line 77 of file qgraphicsview_p.h.

◆ leftIndent

qreal QGraphicsViewPrivate::leftIndent

Definition at line 86 of file qgraphicsview_p.h.

Referenced by recalculateContentSize(), and updateScroll().

◆ matrix

QTransform QGraphicsViewPrivate::matrix

Definition at line 81 of file qgraphicsview_p.h.

Referenced by mapToViewRect().

◆ mousePressButton

Qt::MouseButton QGraphicsViewPrivate::mousePressButton

Definition at line 80 of file qgraphicsview_p.h.

Referenced by mouseMoveEventHandler().

◆ mousePressItemPoint

QPointF QGraphicsViewPrivate::mousePressItemPoint

Definition at line 72 of file qgraphicsview_p.h.

◆ mousePressScenePoint

QPointF QGraphicsViewPrivate::mousePressScenePoint

Definition at line 73 of file qgraphicsview_p.h.

Referenced by mouseMoveEventHandler().

◆ mousePressScreenPoint

QPoint QGraphicsViewPrivate::mousePressScreenPoint

Definition at line 75 of file qgraphicsview_p.h.

Referenced by mouseMoveEventHandler().

◆ mousePressViewPoint

QPoint QGraphicsViewPrivate::mousePressViewPoint

Definition at line 74 of file qgraphicsview_p.h.

◆ mustAllocateStyleOptions

quint32 QGraphicsViewPrivate::mustAllocateStyleOptions

Definition at line 56 of file qgraphicsview_p.h.

Referenced by allocStyleOptionsArray(), and freeStyleOptionsArray().

◆ mustResizeBackgroundPixmap

quint32 QGraphicsViewPrivate::mustResizeBackgroundPixmap

Definition at line 57 of file qgraphicsview_p.h.

Referenced by recalculateContentSize().

◆ optimizationFlags

QGraphicsView::OptimizationFlags QGraphicsViewPrivate::optimizationFlags

Definition at line 101 of file qgraphicsview_p.h.

Referenced by updateRegion().

◆ originalCursor

QCursor QGraphicsViewPrivate::originalCursor

◆ padding

quint32 QGraphicsViewPrivate::padding

Definition at line 60 of file qgraphicsview_p.h.

◆ renderHints

QPainter::RenderHints QGraphicsViewPrivate::renderHints

Definition at line 42 of file qgraphicsview_p.h.

◆ resizeAnchor

QGraphicsView::ViewportAnchor QGraphicsViewPrivate::resizeAnchor

Definition at line 99 of file qgraphicsview_p.h.

◆ scene

◆ sceneInteractionAllowed

quint32 QGraphicsViewPrivate::sceneInteractionAllowed

Definition at line 46 of file qgraphicsview_p.h.

Referenced by mouseMoveEventHandler().

◆ sceneRect

QRectF QGraphicsViewPrivate::sceneRect

Definition at line 62 of file qgraphicsview_p.h.

◆ scrollX

qint64 QGraphicsViewPrivate::scrollX

◆ scrollY

qint64 QGraphicsViewPrivate::scrollY

◆ stereoEnabled

bool QGraphicsViewPrivate::stereoEnabled = false

Definition at line 103 of file qgraphicsview_p.h.

◆ styleOptions

QList<QStyleOptionGraphicsItem> QGraphicsViewPrivate::styleOptions

◆ topIndent

qreal QGraphicsViewPrivate::topIndent

Definition at line 87 of file qgraphicsview_p.h.

Referenced by recalculateContentSize(), and updateScroll().

◆ transformationAnchor

QGraphicsView::ViewportAnchor QGraphicsViewPrivate::transformationAnchor

Definition at line 98 of file qgraphicsview_p.h.

◆ transforming

quint32 QGraphicsViewPrivate::transforming

Definition at line 54 of file qgraphicsview_p.h.

◆ updateClip

QRect QGraphicsViewPrivate::updateClip

Definition at line 71 of file qgraphicsview_p.h.

Referenced by setUpdateClip(), updateRect(), and updateRegion().

◆ updateSceneSlotReimplementedChecked

bool QGraphicsViewPrivate::updateSceneSlotReimplementedChecked

Definition at line 174 of file qgraphicsview_p.h.

◆ useLastMouseEvent

quint32 QGraphicsViewPrivate::useLastMouseEvent

Definition at line 49 of file qgraphicsview_p.h.

Referenced by replayLastMouseEvent(), and storeMouseEvent().

◆ viewportUpdateMode


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