Home · All Classes · Modules

QGraphicsPolygonItem Class Reference
[QtGui module]

Inherits QAbstractGraphicsShapeItem.

Methods


Detailed Description


Method Documentation

QGraphicsPolygonItem.__init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)

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

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

QGraphicsPolygonItem.__init__ (self, QPolygonF, QGraphicsItem parent = None, QGraphicsScene scene = None)

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

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

QRectF QGraphicsPolygonItem.boundingRect (self)

bool QGraphicsPolygonItem.contains (self, QPointF)

Qt.FillRule QGraphicsPolygonItem.fillRule (self)

bool QGraphicsPolygonItem.isObscuredBy (self, QGraphicsItem)

QPainterPath QGraphicsPolygonItem.opaqueArea (self)

QGraphicsPolygonItem.paint (self, QPainter, QStyleOptionGraphicsItem, QWidget widget = None)

QPolygonF QGraphicsPolygonItem.polygon (self)

QGraphicsPolygonItem.setFillRule (self, Qt.FillRule)

QGraphicsPolygonItem.setPolygon (self, QPolygonF)

QPainterPath QGraphicsPolygonItem.shape (self)

int QGraphicsPolygonItem.type (self)


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