NAME
Qt::Gui::QGraphicsView
PUBLIC METHODS
- QGraphicsView(QWidget * parent)
- QGraphicsView(QWidget * parent = 0)
- QGraphicsView(QGraphicsScene * scene, QWidget * parent)
- QGraphicsView(QGraphicsScene * scene, QWidget * parent = 0)
- ~QGraphicsView()
- QFlags<Qt::AlignmentFlag> alignment()
- QBrush backgroundBrush()
- QFlags<QGraphicsView::CacheModeFlag> cacheMode()
- 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)
- void ensureVisible(const QRectF & rect, int xmargin, int ymargin = 50)
- void ensureVisible(const QRectF & rect, int xmargin = 50, int ymargin = 50)
- void ensureVisible(const QGraphicsItem * item, int xmargin, int ymargin)
- void ensureVisible(const QGraphicsItem * item, int xmargin, int ymargin = 50)
- void ensureVisible(const QGraphicsItem * item, int xmargin = 50, 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, int ymargin = 50)
- void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50)
- void fitInView(const QRectF & rect, Qt::AspectRatioMode aspectRadioMode)
- void fitInView(const QRectF & rect, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio)
- void fitInView(const QGraphicsItem * item, Qt::AspectRatioMode aspectRadioMode)
- void fitInView(const QGraphicsItem * item, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio)
- void fitInView(qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode)
- void fitInView(qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRadioMode = Qt::IgnoreAspectRatio)
- QBrush foregroundBrush()
- QVariant inputMethodQuery(Qt::InputMethodQuery query)
- void invalidateScene(const QRectF & rect, QFlags<QGraphicsScene::SceneLayer> layers)
- void invalidateScene(const QRectF & rect, QFlags<QGraphicsScene::SceneLayer> layers = QGraphicsScene::AllLayers)
- void invalidateScene(const QRectF & rect = QRectF(), QFlags<QGraphicsScene::SceneLayer> layers = QGraphicsScene::AllLayers)
- 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()
- QFlags<QGraphicsView::OptimizationFlag> optimizationFlags()
- void render(QPainter * painter, const QRectF & target, const QRect & source, Qt::AspectRatioMode aspectRatioMode)
- 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 = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
- void render(QPainter * painter, const QRectF & target = QRectF(), const QRect & source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)
- QFlags<QPainter::RenderHint> renderHints()
- 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 setAlignment(QFlags<Qt::AlignmentFlag> alignment)
- void setBackgroundBrush(const QBrush & brush)
- void setCacheMode(QFlags<QGraphicsView::CacheModeFlag> mode)
- void setDragMode(QGraphicsView::DragMode mode)
- void setForegroundBrush(const QBrush & brush)
- void setInteractive(bool allowed)
- void setMatrix(const QMatrix & matrix, bool combine)
- void setMatrix(const QMatrix & matrix, bool combine = false)
- void setOptimizationFlag(QGraphicsView::OptimizationFlag flag, bool enabled)
- void setOptimizationFlag(QGraphicsView::OptimizationFlag flag, bool enabled = true)
- void setOptimizationFlags(QFlags<QGraphicsView::OptimizationFlag> flags)
- void setRenderHint(QPainter::RenderHint hint, bool enabled)
- void setRenderHint(QPainter::RenderHint hint, bool enabled = true)
- void setRenderHints(QFlags<QPainter::RenderHint> hints)
- 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)
- void setTransform(const QTransform & matrix, bool combine = false)
- 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()
ENUM VALUES
- NoAnchor
- AnchorViewCenter
- AnchorUnderMouse
- CacheNone
- CacheBackground
- NoDrag
- ScrollHandDrag
- RubberBandDrag
- FullViewportUpdate
- MinimalViewportUpdate
- SmartViewportUpdate
- NoViewportUpdate
- BoundingRectViewportUpdate
- DontClipPainter
- DontSavePainterState
- DontAdjustForAntialiasing
- IndirectPainting
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.