![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgraphicsview_p.h>
Static Public Member Functions | |
static void | translateTouchEvent (QGraphicsViewPrivate *d, QTouchEvent *touchEvent) |
Definition at line 34 of file qgraphicsview_p.h.
QGraphicsViewPrivate::QGraphicsViewPrivate | ( | ) |
Definition at line 300 of file qgraphicsview.cpp.
QGraphicsViewPrivate::~QGraphicsViewPrivate | ( | ) |
Definition at line 337 of file qgraphicsview.cpp.
Definition at line 805 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::_q_unsetViewportCursor | ( | ) |
Definition at line 819 of file qgraphicsview.cpp.
QStyleOptionGraphicsItem * QGraphicsViewPrivate::allocStyleOptionsArray | ( | int | numItems | ) |
Definition at line 1095 of file qgraphicsview.cpp.
|
override |
don't start scrolling when a drag mode has been set don't start scrolling on a movable item
Definition at line 590 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::centerView | ( | QGraphicsView::ViewportAnchor | anchor | ) |
Definition at line 478 of file qgraphicsview.cpp.
|
inline |
Definition at line 156 of file qgraphicsview_p.h.
QList< QGraphicsItem * > QGraphicsViewPrivate::findItems | ( | const QRegion & | exposedRegion, |
bool * | allItems, | ||
const QTransform & | viewTransform ) const |
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 1127 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::freeStyleOptionsArray | ( | QStyleOptionGraphicsItem * | array | ) |
Definition at line 1109 of file qgraphicsview.cpp.
qint64 QGraphicsViewPrivate::horizontalScroll | ( | ) | const |
Returns the horizontal scroll value (the X value of the left edge of the viewport).
Definition at line 516 of file qgraphicsview.cpp.
Maps the given rectangle from the scene using QTransform::mapRect()
Definition at line 555 of file qgraphicsview.cpp.
Maps the given rectangle to the scene using QTransform::mapRect()
Definition at line 541 of file qgraphicsview.cpp.
Definition at line 3884 of file qgraphicsview.cpp.
Definition at line 3892 of file qgraphicsview.cpp.
QRect QGraphicsViewPrivate::mapToViewRect | ( | const QGraphicsItem * | item, |
const QRectF & | rect ) const |
Definition at line 920 of file qgraphicsview.cpp.
QRegion QGraphicsViewPrivate::mapToViewRegion | ( | const QGraphicsItem * | item, |
const QRectF & | rect ) const |
Definition at line 928 of file qgraphicsview.cpp.
QTransform QGraphicsViewPrivate::mapToViewTransform | ( | const QGraphicsItem * | item | ) | const |
Definition at line 888 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::mouseMoveEventHandler | ( | QMouseEvent * | event | ) |
Definition at line 624 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::populateSceneDragDropEvent | ( | QGraphicsSceneDragDropEvent * | dest, |
QDropEvent * | source ) |
Definition at line 864 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::processPendingUpdates | ( | ) |
Definition at line 942 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::recalculateContentSize | ( | ) |
Definition at line 344 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::replayLastMouseEvent | ( | ) |
Definition at line 607 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::setUpdateClip | ( | QGraphicsItem * | item | ) |
Definition at line 980 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::storeDragDropEvent | ( | const QGraphicsSceneDragDropEvent * | event | ) |
Definition at line 844 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::storeMouseEvent | ( | QMouseEvent * | event | ) |
Definition at line 618 of file qgraphicsview.cpp.
|
static |
Definition at line 286 of file qgraphicsview.cpp.
|
inline |
Definition at line 148 of file qgraphicsview_p.h.
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 1174 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::updateLastCenterPoint | ( | ) |
Definition at line 505 of file qgraphicsview.cpp.
bool QGraphicsViewPrivate::updateRect | ( | const QRect & | rect | ) |
Definition at line 1059 of file qgraphicsview.cpp.
|
inline |
Definition at line 166 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::updateRegion | ( | const QRectF & | rect, |
const QTransform & | xform ) |
Definition at line 1021 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::updateScroll | ( | ) |
Definition at line 565 of file qgraphicsview.cpp.
qint64 QGraphicsViewPrivate::verticalScroll | ( | ) | const |
Returns the vertical scroll value (the X value of the top edge of the viewport).
Definition at line 529 of file qgraphicsview.cpp.
quint32 QGraphicsViewPrivate::accelerateScrolling |
Definition at line 54 of file qgraphicsview_p.h.
Qt::Alignment QGraphicsViewPrivate::alignment |
Definition at line 98 of file qgraphicsview_p.h.
QBrush QGraphicsViewPrivate::backgroundBrush |
Definition at line 125 of file qgraphicsview_p.h.
QPixmap QGraphicsViewPrivate::backgroundPixmap |
Definition at line 127 of file qgraphicsview_p.h.
QRegion QGraphicsViewPrivate::backgroundPixmapExposed |
Definition at line 128 of file qgraphicsview_p.h.
QGraphicsView::CacheMode QGraphicsViewPrivate::cacheMode |
Definition at line 119 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::connectedToScene |
Definition at line 50 of file qgraphicsview_p.h.
QRect QGraphicsViewPrivate::dirtyBoundingRect |
Definition at line 146 of file qgraphicsview_p.h.
QRegion QGraphicsViewPrivate::dirtyRegion |
Definition at line 145 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::dirtyScroll |
Definition at line 53 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::dirtyScrollOffset |
Definition at line 81 of file qgraphicsview_p.h.
QGraphicsView::DragMode QGraphicsViewPrivate::dragMode |
Definition at line 46 of file qgraphicsview_p.h.
QRegion QGraphicsViewPrivate::exposedRegion |
Definition at line 178 of file qgraphicsview_p.h.
QBrush QGraphicsViewPrivate::foregroundBrush |
Definition at line 126 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::fullUpdatePending |
Definition at line 60 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::handScrolling |
Definition at line 57 of file qgraphicsview_p.h.
int QGraphicsViewPrivate::handScrollMotions |
Definition at line 117 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::hasSceneRect |
Definition at line 49 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::hasStoredOriginalCursor |
Definition at line 132 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::hasUpdateClip |
Definition at line 61 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::identityMatrix |
Definition at line 52 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::keepLastCenterPoint |
Definition at line 55 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::lastCenterPoint |
Definition at line 97 of file qgraphicsview_p.h.
QGraphicsSceneDragDropEvent* QGraphicsViewPrivate::lastDragDropEvent |
Definition at line 137 of file qgraphicsview_p.h.
QMutableSinglePointEvent QGraphicsViewPrivate::lastMouseEvent |
Definition at line 92 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::lastMouseMoveScenePoint |
Definition at line 78 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::lastMouseMoveScreenPoint |
Definition at line 80 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::lastRubberbandScenePoint |
Definition at line 79 of file qgraphicsview_p.h.
qreal QGraphicsViewPrivate::leftIndent |
Definition at line 88 of file qgraphicsview_p.h.
QTransform QGraphicsViewPrivate::matrix |
Definition at line 83 of file qgraphicsview_p.h.
Qt::MouseButton QGraphicsViewPrivate::mousePressButton |
Definition at line 82 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::mousePressItemPoint |
Definition at line 74 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::mousePressScenePoint |
Definition at line 75 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::mousePressScreenPoint |
Definition at line 77 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::mousePressViewPoint |
Definition at line 76 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::mustAllocateStyleOptions |
Definition at line 58 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::mustResizeBackgroundPixmap |
Definition at line 59 of file qgraphicsview_p.h.
QGraphicsView::OptimizationFlags QGraphicsViewPrivate::optimizationFlags |
Definition at line 103 of file qgraphicsview_p.h.
QCursor QGraphicsViewPrivate::originalCursor |
Definition at line 131 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::padding |
Definition at line 62 of file qgraphicsview_p.h.
QPainter::RenderHints QGraphicsViewPrivate::renderHints |
Definition at line 44 of file qgraphicsview_p.h.
QGraphicsView::ViewportAnchor QGraphicsViewPrivate::resizeAnchor |
Definition at line 101 of file qgraphicsview_p.h.
QPointer<QGraphicsScene> QGraphicsViewPrivate::scene |
Definition at line 107 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::sceneInteractionAllowed |
Definition at line 48 of file qgraphicsview_p.h.
QRectF QGraphicsViewPrivate::sceneRect |
Definition at line 64 of file qgraphicsview_p.h.
qint64 QGraphicsViewPrivate::scrollX |
Definition at line 84 of file qgraphicsview_p.h.
qint64 QGraphicsViewPrivate::scrollY |
Definition at line 84 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::stereoEnabled = false |
Definition at line 105 of file qgraphicsview_p.h.
QList<QStyleOptionGraphicsItem> QGraphicsViewPrivate::styleOptions |
Definition at line 121 of file qgraphicsview_p.h.
qreal QGraphicsViewPrivate::topIndent |
Definition at line 89 of file qgraphicsview_p.h.
QGraphicsView::ViewportAnchor QGraphicsViewPrivate::transformationAnchor |
Definition at line 100 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::transforming |
Definition at line 56 of file qgraphicsview_p.h.
QRect QGraphicsViewPrivate::updateClip |
Definition at line 73 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::updateSceneSlotReimplementedChecked |
Definition at line 177 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::useLastMouseEvent |
Definition at line 51 of file qgraphicsview_p.h.
QGraphicsView::ViewportUpdateMode QGraphicsViewPrivate::viewportUpdateMode |
Definition at line 102 of file qgraphicsview_p.h.