
ScrollContentsBy(int dx, int dy) override ResizeEvent(QResizeEvent * event) override MouseReleaseEvent(QMouseEvent * event) override MousePressEvent(QMouseEvent * event) override MouseMoveEvent(QMouseEvent * event) override MouseDoubleClickEvent(QMouseEvent * event) override KeyReleaseEvent(QKeyEvent * event) override KeyPressEvent(QKeyEvent * event) override InputMethodEvent(QInputMethodEvent * event) override SetViewportUpdateMode(QGraphicsView::ViewportUpdateMode mode)ĬontextMenuEvent(QContextMenuEvent * event) overrideĭragEnterEvent(QDragEnterEvent * event) overrideĭragLeaveEvent(QDragLeaveEvent * event) overrideĭragMoveEvent(QDragMoveEvent * event) overrideįocusInEvent(QFocusEvent * event) overrideįocusOutEvent(QFocusEvent * event) override SetTransformationAnchor(QGraphicsView::ViewportAnchor anchor) SetTransform(const QTransform & matrix, bool combine = false) SetSceneRect(qreal x, qreal y, qreal w, qreal h) SetRubberBandSelectionMode(Qt::ItemSelectionMode mode) SetResizeAnchor(QGraphicsView::ViewportAnchor anchor) SetRenderHints(QPainter::RenderHints hints) SetRenderHint(QPainter::RenderHint hint, bool enabled = true) SetOptimizationFlags(QGraphicsView::OptimizationFlags flags) SetOptimizationFlag(QGraphicsView::OptimizationFlag flag, bool enabled = true) SetDragMode(QGraphicsView::DragMode mode) SetCacheMode(QGraphicsView::CacheMode mode) Render(QPainter * painter, const QRectF & target = QRectF(), const QRect & source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio) MapToScene(int x, int y, int w, int h) const MapToScene(const QPainterPath & path) const MapToScene(const QPolygon & polygon) const MapFromScene(qreal x, qreal y, qreal w, qreal h) const MapFromScene(const QPainterPath & path) const MapFromScene(const QPolygonF & polygon) const MapFromScene(const QPointF & point) const Items(const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const Items(const QPolygon & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const Items(int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const Items(const QRect & rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const QGraphicsView(QGraphicsScene * scene, QWidget * parent = nullptr)ĮnsureVisible(const QRectF & rect, int xmargin = 50, int ymargin = 50)ĮnsureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50)ĮnsureVisible(const QGraphicsItem * item, int xmargin = 50, int ymargin = 50)įitInView(const QRectF & rect, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio)įitInView(qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio)įitInView(const QGraphicsItem * item, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio) QGraphicsView(QWidget * parent = nullptr)
