Home · All Classes · Modules

QGraphicsView Class Reference
[QtGui module]

Inherits QAbstractScrollArea.

Inherited by QDeclarativeView.

Types

Methods


Detailed Description


Type Documentation

QGraphicsView.CacheModeFlag

QGraphicsView.DragMode

QGraphicsView.OptimizationFlag

QGraphicsView.ViewportAnchor

QGraphicsView.ViewportUpdateMode


Method Documentation

QGraphicsView.__init__ (self, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QGraphicsView.__init__ (self, QGraphicsScene, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

Qt.Alignment QGraphicsView.alignment (self)

QBrush QGraphicsView.backgroundBrush (self)

CacheMode QGraphicsView.cacheMode (self)

QGraphicsView.centerOn (self, QPointF)

QGraphicsView.centerOn (self, QGraphicsItem)

QGraphicsView.centerOn (self, float, float)

QGraphicsView.contextMenuEvent (self, QContextMenuEvent)

QGraphicsView.dragEnterEvent (self, QDragEnterEvent)

QGraphicsView.dragLeaveEvent (self, QDragLeaveEvent)

DragMode QGraphicsView.dragMode (self)

QGraphicsView.dragMoveEvent (self, QDragMoveEvent)

QGraphicsView.drawBackground (self, QPainter, QRectF)

QGraphicsView.drawForeground (self, QPainter, QRectF)

QGraphicsView.drawItems (self, QPainter painter, list-of-QGraphicsItem items, list-of-QStyleOptionGraphicsItem options)

QGraphicsView.dropEvent (self, QDropEvent)

QGraphicsView.ensureVisible (self, QRectF, int xMargin = 50, int yMargin = 50)

QGraphicsView.ensureVisible (self, QGraphicsItem, int xMargin = 50, int yMargin = 50)

QGraphicsView.ensureVisible (self, float, float, float, float, int xMargin = 50, int yMargin = 50)

bool QGraphicsView.event (self, QEvent)

QGraphicsView.fitInView (self, QRectF, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)

QGraphicsView.fitInView (self, QGraphicsItem, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)

QGraphicsView.fitInView (self, float, float, float, float, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)

QGraphicsView.focusInEvent (self, QFocusEvent)

bool QGraphicsView.focusNextPrevChild (self, bool)

QGraphicsView.focusOutEvent (self, QFocusEvent)

QBrush QGraphicsView.foregroundBrush (self)

QGraphicsView.inputMethodEvent (self, QInputMethodEvent)

QVariant QGraphicsView.inputMethodQuery (self, Qt.InputMethodQuery)

QGraphicsView.invalidateScene (self, QRectF rect = QRectF(), QGraphicsScene.SceneLayers layers = QGraphicsScene.AllLayers)

This method is also a Qt slot with the C++ signature void invalidateScene(const QRectF& = QRectF(),QGraphicsScene::SceneLayers = QGraphicsScene.AllLayers).

bool QGraphicsView.isInteractive (self)

bool QGraphicsView.isTransformed (self)

QGraphicsItem QGraphicsView.itemAt (self, QPoint)

QGraphicsItem QGraphicsView.itemAt (self, int, int)

list-of-QGraphicsItem QGraphicsView.items (self)

list-of-QGraphicsItem QGraphicsView.items (self, QPoint)

list-of-QGraphicsItem QGraphicsView.items (self, int, int)

list-of-QGraphicsItem QGraphicsView.items (self, int, int, int, int, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)

list-of-QGraphicsItem QGraphicsView.items (self, QRect, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)

list-of-QGraphicsItem QGraphicsView.items (self, QPolygon, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)

list-of-QGraphicsItem QGraphicsView.items (self, QPainterPath, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)

QGraphicsView.keyPressEvent (self, QKeyEvent)

QGraphicsView.keyReleaseEvent (self, QKeyEvent)

QPoint QGraphicsView.mapFromScene (self, QPointF)

QPolygon QGraphicsView.mapFromScene (self, QRectF)

QPolygon QGraphicsView.mapFromScene (self, QPolygonF)

QPainterPath QGraphicsView.mapFromScene (self, QPainterPath)

QPoint QGraphicsView.mapFromScene (self, float, float)

QPolygon QGraphicsView.mapFromScene (self, float, float, float, float)

QPointF QGraphicsView.mapToScene (self, QPoint)

QPolygonF QGraphicsView.mapToScene (self, QRect)

QPolygonF QGraphicsView.mapToScene (self, QPolygon)

QPainterPath QGraphicsView.mapToScene (self, QPainterPath)

QPointF QGraphicsView.mapToScene (self, int, int)

QPolygonF QGraphicsView.mapToScene (self, int, int, int, int)

QMatrix QGraphicsView.matrix (self)

QGraphicsView.mouseDoubleClickEvent (self, QMouseEvent)

QGraphicsView.mouseMoveEvent (self, QMouseEvent)

QGraphicsView.mousePressEvent (self, QMouseEvent)

QGraphicsView.mouseReleaseEvent (self, QMouseEvent)

OptimizationFlags QGraphicsView.optimizationFlags (self)

QGraphicsView.paintEvent (self, QPaintEvent)

QGraphicsView.render (self, QPainter, QRectF target = QRectF(), QRect source = QRect(), Qt.AspectRatioMode mode = Qt.KeepAspectRatio)

QPainter.RenderHints QGraphicsView.renderHints (self)

QGraphicsView.resetCachedContent (self)

QGraphicsView.resetMatrix (self)

QGraphicsView.resetTransform (self)

ViewportAnchor QGraphicsView.resizeAnchor (self)

QGraphicsView.resizeEvent (self, QResizeEvent)

QGraphicsView.rotate (self, float)

Qt.ItemSelectionMode QGraphicsView.rubberBandSelectionMode (self)

QGraphicsView.scale (self, float, float)

QGraphicsScene QGraphicsView.scene (self)

QRectF QGraphicsView.sceneRect (self)

QGraphicsView.scrollContentsBy (self, int, int)

QGraphicsView.setAlignment (self, Qt.Alignment)

QGraphicsView.setBackgroundBrush (self, QBrush)

QGraphicsView.setCacheMode (self, CacheMode)

QGraphicsView.setDragMode (self, DragMode)

QGraphicsView.setForegroundBrush (self, QBrush)

QGraphicsView.setInteractive (self, bool)

QGraphicsView.setMatrix (self, QMatrix, bool combine = False)

QGraphicsView.setOptimizationFlag (self, OptimizationFlag, bool enabled = True)

QGraphicsView.setOptimizationFlags (self, OptimizationFlags)

QGraphicsView.setRenderHint (self, QPainter.RenderHint, bool on = True)

QGraphicsView.setRenderHints (self, QPainter.RenderHints)

QGraphicsView.setResizeAnchor (self, ViewportAnchor)

QGraphicsView.setRubberBandSelectionMode (self, Qt.ItemSelectionMode)

QGraphicsView.setScene (self, QGraphicsScene)

QGraphicsView.setSceneRect (self, QRectF)

QGraphicsView.setSceneRect (self, float, float, float, float)

QGraphicsView.setTransform (self, QTransform, bool combine = False)

QGraphicsView.setTransformationAnchor (self, ViewportAnchor)

QGraphicsView.setupViewport (self, QWidget)

This method is also a Qt slot with the C++ signature void setupViewport(QWidget *).

QGraphicsView.setViewportUpdateMode (self, ViewportUpdateMode)

QGraphicsView.shear (self, float, float)

QGraphicsView.showEvent (self, QShowEvent)

QSize QGraphicsView.sizeHint (self)

QTransform QGraphicsView.transform (self)

ViewportAnchor QGraphicsView.transformationAnchor (self)

QGraphicsView.translate (self, float, float)

QGraphicsView.updateScene (self, list-of-QRectF)

This method is also a Qt slot with the C++ signature void updateScene(const QList<QRectF>&).

QGraphicsView.updateSceneRect (self, QRectF)

This method is also a Qt slot with the C++ signature void updateSceneRect(const QRectF&).

bool QGraphicsView.viewportEvent (self, QEvent)

QTransform QGraphicsView.viewportTransform (self)

ViewportUpdateMode QGraphicsView.viewportUpdateMode (self)

QGraphicsView.wheelEvent (self, QWheelEvent)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0