NAME

Qt::Gui::QGraphicsView

PUBLIC METHODS

QGraphicsView(QWidget * parent = 0)
QGraphicsView(QWidget * parent)
QGraphicsView(QGraphicsScene * scene, QWidget * parent = 0)
QGraphicsView(QGraphicsScene * scene, QWidget * parent)
~QGraphicsView()
QBrush backgroundBrush()
void centerOn(const QPointF & pos)
void centerOn(const QGraphicsItem * item)
void centerOn(qreal x, qreal y)
QGraphicsView::DragMode dragMode()
void ensureVisible(const QRectF & rect, int xmargin, int ymargin = 50)
void ensureVisible(const QRectF & rect, int xmargin, int ymargin)
void ensureVisible(const QRectF & rect, int xmargin = 50, int ymargin = 50)
void ensureVisible(const QRectF & rect, int xmargin, int ymargin = 50)
void ensureVisible(const QGraphicsItem * item, int xmargin, int ymargin = 50)
void ensureVisible(const QGraphicsItem * item, int xmargin, int ymargin)
void ensureVisible(const QGraphicsItem * item, int xmargin = 50, int ymargin = 50)
void ensureVisible(const QGraphicsItem * item, int xmargin, int ymargin = 50)
void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin = 50)
void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin)
void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50)
void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin = 50)
void fitInView(const QRectF & rect, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio)
void fitInView(const QRectF & rect, Qt::AspectRatioMode aspectRadioMode)
void fitInView(const QGraphicsItem * item, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio)
void fitInView(const QGraphicsItem * item, Qt::AspectRatioMode aspectRadioMode)
void fitInView(qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio)
void fitInView(qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode)
QBrush foregroundBrush()
QVariant inputMethodQuery(Qt::InputMethodQuery query)
bool isInteractive()
bool isTransformed()
QGraphicsItem * itemAt(const QPoint & pos)
QGraphicsItem * itemAt(int x, int y)
QPoint mapFromScene(const QPointF & point)
QPolygon mapFromScene(const QRectF & rect)
QPolygon mapFromScene(const QPolygonF & polygon)
QPainterPath mapFromScene(const QPainterPath & path)
QPoint mapFromScene(qreal x, qreal y)
QPolygon mapFromScene(qreal x, qreal y, qreal w, qreal h)
QPointF mapToScene(const QPoint & point)
QPolygonF mapToScene(const QRect & rect)
QPolygonF mapToScene(const QPolygon & polygon)
QPainterPath mapToScene(const QPainterPath & path)
QPointF mapToScene(int x, int y)
QPolygonF mapToScene(int x, int y, int w, int h)
QMatrix matrix()
void render(QPainter * painter, const QRectF & target, const QRect & source, Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target, const QRect & source, Qt::AspectRatioMode aspectRatioMode)
void render(QPainter * painter, const QRectF & target, const QRect & source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target, const QRect & source, Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target = QRectF(), const QRect & source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void render(QPainter * painter, const QRectF & target, const QRect & source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
void resetCachedContent()
void resetMatrix()
void resetTransform()
QGraphicsView::ViewportAnchor resizeAnchor()
void rotate(qreal angle)
Qt::ItemSelectionMode rubberBandSelectionMode()
void scale(qreal sx, qreal sy)
QGraphicsScene * scene()
QRectF sceneRect()
void setBackgroundBrush(const QBrush & brush)
void setDragMode(QGraphicsView::DragMode mode)
void setForegroundBrush(const QBrush & brush)
void setInteractive(bool allowed)
void setMatrix(const QMatrix & matrix, bool combine = false)
void setMatrix(const QMatrix & matrix, bool combine)
void setOptimizationFlag(QGraphicsView::OptimizationFlag flag, bool enabled = true)
void setOptimizationFlag(QGraphicsView::OptimizationFlag flag, bool enabled)
void setRenderHint(QPainter::RenderHint hint, bool enabled = true)
void setRenderHint(QPainter::RenderHint hint, bool enabled)
void setResizeAnchor(QGraphicsView::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 setTransform(const QTransform & matrix, bool combine)
void setTransformationAnchor(QGraphicsView::ViewportAnchor anchor)
void setViewportUpdateMode(QGraphicsView::ViewportUpdateMode mode)
void shear(qreal sh, qreal sv)
QSize sizeHint()
QTransform transform()
QGraphicsView::ViewportAnchor transformationAnchor()
void translate(qreal dx, qreal dy)
void updateSceneRect(const QRectF & rect)
QTransform viewportTransform()
QGraphicsView::ViewportUpdateMode viewportUpdateMode()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html