![]() |
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 35 of file qgraphicsview_p.h.
QGraphicsViewPrivate::QGraphicsViewPrivate | ( | ) |
Definition at line 301 of file qgraphicsview.cpp.
QGraphicsViewPrivate::~QGraphicsViewPrivate | ( | ) |
Definition at line 338 of file qgraphicsview.cpp.
Definition at line 808 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::_q_unsetViewportCursor | ( | ) |
Definition at line 822 of file qgraphicsview.cpp.
QStyleOptionGraphicsItem * QGraphicsViewPrivate::allocStyleOptionsArray | ( | int | numItems | ) |
Definition at line 1098 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 593 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::centerView | ( | QGraphicsView::ViewportAnchor | anchor | ) |
Definition at line 481 of file qgraphicsview.cpp.
|
inline |
Definition at line 157 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 1130 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::freeStyleOptionsArray | ( | QStyleOptionGraphicsItem * | array | ) |
Definition at line 1112 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 519 of file qgraphicsview.cpp.
Maps the given rectangle from the scene using QTransform::mapRect()
Definition at line 558 of file qgraphicsview.cpp.
Maps the given rectangle to the scene using QTransform::mapRect()
Definition at line 544 of file qgraphicsview.cpp.
Definition at line 3887 of file qgraphicsview.cpp.
Definition at line 3895 of file qgraphicsview.cpp.
QRect QGraphicsViewPrivate::mapToViewRect | ( | const QGraphicsItem * | item, |
const QRectF & | rect ) const |
Definition at line 923 of file qgraphicsview.cpp.
QRegion QGraphicsViewPrivate::mapToViewRegion | ( | const QGraphicsItem * | item, |
const QRectF & | rect ) const |
Definition at line 931 of file qgraphicsview.cpp.
QTransform QGraphicsViewPrivate::mapToViewTransform | ( | const QGraphicsItem * | item | ) | const |
Definition at line 891 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::mouseMoveEventHandler | ( | QMouseEvent * | event | ) |
Definition at line 627 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::populateSceneDragDropEvent | ( | QGraphicsSceneDragDropEvent * | dest, |
QDropEvent * | source ) |
Definition at line 867 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::processPendingUpdates | ( | ) |
Definition at line 945 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::recalculateContentSize | ( | ) |
Definition at line 345 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::replayLastMouseEvent | ( | ) |
Definition at line 610 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::setUpdateClip | ( | QGraphicsItem * | item | ) |
Definition at line 983 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::storeDragDropEvent | ( | const QGraphicsSceneDragDropEvent * | event | ) |
Definition at line 847 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::storeMouseEvent | ( | QMouseEvent * | event | ) |
Definition at line 620 of file qgraphicsview.cpp.
|
static |
Definition at line 287 of file qgraphicsview.cpp.
|
inline |
Definition at line 149 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 1177 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::updateLastCenterPoint | ( | ) |
Definition at line 508 of file qgraphicsview.cpp.
bool QGraphicsViewPrivate::updateRect | ( | const QRect & | rect | ) |
Definition at line 1062 of file qgraphicsview.cpp.
|
inline |
Definition at line 167 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::updateRegion | ( | const QRectF & | rect, |
const QTransform & | xform ) |
Definition at line 1024 of file qgraphicsview.cpp.
void QGraphicsViewPrivate::updateScroll | ( | ) |
Definition at line 568 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 532 of file qgraphicsview.cpp.
quint32 QGraphicsViewPrivate::accelerateScrolling |
Definition at line 55 of file qgraphicsview_p.h.
Qt::Alignment QGraphicsViewPrivate::alignment |
Definition at line 99 of file qgraphicsview_p.h.
QBrush QGraphicsViewPrivate::backgroundBrush |
Definition at line 126 of file qgraphicsview_p.h.
QPixmap QGraphicsViewPrivate::backgroundPixmap |
Definition at line 128 of file qgraphicsview_p.h.
QRegion QGraphicsViewPrivate::backgroundPixmapExposed |
Definition at line 129 of file qgraphicsview_p.h.
QGraphicsView::CacheMode QGraphicsViewPrivate::cacheMode |
Definition at line 120 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::connectedToScene |
Definition at line 51 of file qgraphicsview_p.h.
QRect QGraphicsViewPrivate::dirtyBoundingRect |
Definition at line 147 of file qgraphicsview_p.h.
QRegion QGraphicsViewPrivate::dirtyRegion |
Definition at line 146 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::dirtyScroll |
Definition at line 54 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::dirtyScrollOffset |
Definition at line 82 of file qgraphicsview_p.h.
QGraphicsView::DragMode QGraphicsViewPrivate::dragMode |
Definition at line 47 of file qgraphicsview_p.h.
QRegion QGraphicsViewPrivate::exposedRegion |
Definition at line 179 of file qgraphicsview_p.h.
QBrush QGraphicsViewPrivate::foregroundBrush |
Definition at line 127 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::fullUpdatePending |
Definition at line 61 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::handScrolling |
Definition at line 58 of file qgraphicsview_p.h.
int QGraphicsViewPrivate::handScrollMotions |
Definition at line 118 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::hasSceneRect |
Definition at line 50 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::hasStoredOriginalCursor |
Definition at line 133 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::hasUpdateClip |
Definition at line 62 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::identityMatrix |
Definition at line 53 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::keepLastCenterPoint |
Definition at line 56 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::lastCenterPoint |
Definition at line 98 of file qgraphicsview_p.h.
QGraphicsSceneDragDropEvent* QGraphicsViewPrivate::lastDragDropEvent |
Definition at line 138 of file qgraphicsview_p.h.
QEventStorage<QMouseEvent> QGraphicsViewPrivate::lastMouseEvent |
Definition at line 93 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::lastMouseMoveScenePoint |
Definition at line 79 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::lastMouseMoveScreenPoint |
Definition at line 81 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::lastRubberbandScenePoint |
Definition at line 80 of file qgraphicsview_p.h.
qreal QGraphicsViewPrivate::leftIndent |
Definition at line 89 of file qgraphicsview_p.h.
QTransform QGraphicsViewPrivate::matrix |
Definition at line 84 of file qgraphicsview_p.h.
Qt::MouseButton QGraphicsViewPrivate::mousePressButton |
Definition at line 83 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::mousePressItemPoint |
Definition at line 75 of file qgraphicsview_p.h.
QPointF QGraphicsViewPrivate::mousePressScenePoint |
Definition at line 76 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::mousePressScreenPoint |
Definition at line 78 of file qgraphicsview_p.h.
QPoint QGraphicsViewPrivate::mousePressViewPoint |
Definition at line 77 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::mustAllocateStyleOptions |
Definition at line 59 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::mustResizeBackgroundPixmap |
Definition at line 60 of file qgraphicsview_p.h.
QGraphicsView::OptimizationFlags QGraphicsViewPrivate::optimizationFlags |
Definition at line 104 of file qgraphicsview_p.h.
QCursor QGraphicsViewPrivate::originalCursor |
Definition at line 132 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::padding |
Definition at line 63 of file qgraphicsview_p.h.
QPainter::RenderHints QGraphicsViewPrivate::renderHints |
Definition at line 45 of file qgraphicsview_p.h.
QGraphicsView::ViewportAnchor QGraphicsViewPrivate::resizeAnchor |
Definition at line 102 of file qgraphicsview_p.h.
QPointer<QGraphicsScene> QGraphicsViewPrivate::scene |
Definition at line 108 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::sceneInteractionAllowed |
Definition at line 49 of file qgraphicsview_p.h.
QRectF QGraphicsViewPrivate::sceneRect |
Definition at line 65 of file qgraphicsview_p.h.
qint64 QGraphicsViewPrivate::scrollX |
Definition at line 85 of file qgraphicsview_p.h.
qint64 QGraphicsViewPrivate::scrollY |
Definition at line 85 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::stereoEnabled = false |
Definition at line 106 of file qgraphicsview_p.h.
QList<QStyleOptionGraphicsItem> QGraphicsViewPrivate::styleOptions |
Definition at line 122 of file qgraphicsview_p.h.
qreal QGraphicsViewPrivate::topIndent |
Definition at line 90 of file qgraphicsview_p.h.
QGraphicsView::ViewportAnchor QGraphicsViewPrivate::transformationAnchor |
Definition at line 101 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::transforming |
Definition at line 57 of file qgraphicsview_p.h.
QRect QGraphicsViewPrivate::updateClip |
Definition at line 74 of file qgraphicsview_p.h.
bool QGraphicsViewPrivate::updateSceneSlotReimplementedChecked |
Definition at line 178 of file qgraphicsview_p.h.
quint32 QGraphicsViewPrivate::useLastMouseEvent |
Definition at line 52 of file qgraphicsview_p.h.
QGraphicsView::ViewportUpdateMode QGraphicsViewPrivate::viewportUpdateMode |
Definition at line 103 of file qgraphicsview_p.h.