QGraphicsRectItem Class Reference
[QtGui module]
Inherits QAbstractGraphicsShapeItem.
Methods
- __init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)
- __init__ (self, QRectF, QGraphicsItem parent = None, QGraphicsScene scene = None)
- __init__ (self, float, float, float, float, QGraphicsItem parent = None, QGraphicsScene scene = None)
- QRectF boundingRect (self)
- bool contains (self, QPointF)
- bool isObscuredBy (self, QGraphicsItem)
- QPainterPath opaqueArea (self)
- paint (self, QPainter, QStyleOptionGraphicsItem, QWidget widget = None)
- QRectF rect (self)
- setRect (self, QRectF)
- setRect (self, float, float, float, float)
- QPainterPath shape (self)
- int type (self)
Detailed Description
Method Documentation
QGraphicsRectItem.__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.
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.
QGraphicsRectItem.__init__ (self, float, float, float, float, 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 QGraphicsRectItem.boundingRect (self)
bool QGraphicsRectItem.contains (self, QPointF)
bool QGraphicsRectItem.isObscuredBy (self, QGraphicsItem)
QPainterPath QGraphicsRectItem.opaqueArea (self)
QRectF QGraphicsRectItem.rect (self)
QGraphicsRectItem.setRect (self, QRectF)
QGraphicsRectItem.setRect (self, float, float, float, float)
QPainterPath QGraphicsRectItem.shape (self)
int QGraphicsRectItem.type (self)