|
QGraphicsView(QWidget *parent = Q_NULLPTR) |
|
QGraphicsView(QGraphicsScene *scene, QWidget *parent = Q_NULLPTR) |
|
~QGraphicsView() |
Qt::Alignment |
alignment() const |
QBrush |
backgroundBrush() const |
CacheMode |
cacheMode() const |
void |
centerOn(const QPointF &pos) |
void |
centerOn(qreal x, qreal y) |
void |
centerOn(const QGraphicsItem *item) |
DragMode |
dragMode() const |
void |
ensureVisible(const QRectF &rect, int xmargin = 50, int ymargin = 50) |
void |
ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50) |
void |
ensureVisible(const QGraphicsItem *item, int xmargin = 50, int ymargin = 50) |
void |
fitInView(const QRectF &rect, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio) |
void |
fitInView(qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio) |
void |
fitInView(const QGraphicsItem *item, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio) |
QBrush |
foregroundBrush() const |
bool |
isInteractive() const |
bool |
isTransformed() const |
QGraphicsItem * |
itemAt(const QPoint &pos) const |
QGraphicsItem * |
itemAt(int x, int y) const |
QList<QGraphicsItem *> |
items() const |
QList<QGraphicsItem *> |
items(const QPoint &pos) const |
QList<QGraphicsItem *> |
items(int x, int y) const |
QList<QGraphicsItem *> |
items(const QRect &rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const |
QList<QGraphicsItem *> |
items(int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const |
QList<QGraphicsItem *> |
items(const QPolygon &polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const |
QList<QGraphicsItem *> |
items(const QPainterPath &path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const |
QPoint |
mapFromScene(const QPointF &point) const |
QPolygon |
mapFromScene(const QRectF &rect) const |
QPolygon |
mapFromScene(const QPolygonF &polygon) const |
QPainterPath |
mapFromScene(const QPainterPath &path) const |
QPoint |
mapFromScene(qreal x, qreal y) const |
QPolygon |
mapFromScene(qreal x, qreal y, qreal w, qreal h) const |
QPointF |
mapToScene(const QPoint &point) const |
QPolygonF |
mapToScene(const QRect &rect) const |
QPolygonF |
mapToScene(const QPolygon &polygon) const |
QPainterPath |
mapToScene(const QPainterPath &path) const |
QPointF |
mapToScene(int x, int y) const |
QPolygonF |
mapToScene(int x, int y, int w, int h) const |
QMatrix |
matrix() const |
OptimizationFlags |
optimizationFlags() const |
void |
render(QPainter *painter, const QRectF &target = QRectF(), const QRect &source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio) |
QPainter::RenderHints |
renderHints() const |
void |
resetCachedContent() |
void |
resetMatrix() |
void |
resetTransform() |
ViewportAnchor |
resizeAnchor() const |
void |
rotate(qreal angle) |
QRect |
rubberBandRect() const |
Qt::ItemSelectionMode |
rubberBandSelectionMode() const |
void |
scale(qreal sx, qreal sy) |
QGraphicsScene * |
scene() const |
QRectF |
sceneRect() const |
void |
setAlignment(Qt::Alignment alignment) |
void |
setBackgroundBrush(const QBrush &brush) |
void |
setCacheMode(CacheMode mode) |
void |
setDragMode(DragMode mode) |
void |
setForegroundBrush(const QBrush &brush) |
void |
setInteractive(bool allowed) |
void |
setMatrix(const QMatrix &matrix, bool combine = false) |
void |
setOptimizationFlag(OptimizationFlag flag, bool enabled = true) |
void |
setOptimizationFlags(OptimizationFlags flags) |
void |
setRenderHint(QPainter::RenderHint hint, bool enabled = true) |
void |
setRenderHints(QPainter::RenderHints hints) |
void |
setResizeAnchor(ViewportAnchor anchor) |
void |
setRubberBandSelectionMode(Qt::ItemSelectionMode mode) |
void |
setScene(QGraphicsScene *scene) |
void |
setSceneRect(const QRectF &rect) |
void |
setSceneRect(qreal x, qreal y, qreal w, qreal h) |
void |
setTransform(const QTransform &matrix, bool combine = false) |
void |
setTransformationAnchor(ViewportAnchor anchor) |
void |
setViewportUpdateMode(ViewportUpdateMode mode) |
void |
shear(qreal sh, qreal sv) |
QTransform |
transform() const |
ViewportAnchor |
transformationAnchor() const |
void |
translate(qreal dx, qreal dy) |
QTransform |
viewportTransform() const |
ViewportUpdateMode |
viewportUpdateMode() const |