QGraphicsPixmapItem Class Reference
[QtGui module]
Inherits QGraphicsItem.
Types
- enum ShapeMode { MaskShape, BoundingRectShape, HeuristicMaskShape }
Methods
- __init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)
- __init__ (self, QPixmap, QGraphicsItem parent = None, QGraphicsScene scene = None)
- QRectF boundingRect (self)
- bool contains (self, QPointF)
- bool isObscuredBy (self, QGraphicsItem)
- QPointF offset (self)
- QPainterPath opaqueArea (self)
- paint (self, QPainter, QStyleOptionGraphicsItem, QWidget)
- QPixmap pixmap (self)
- setOffset (self, QPointF)
- setOffset (self, float, float)
- setPixmap (self, QPixmap)
- setShapeMode (self, ShapeMode)
- setTransformationMode (self, Qt.TransformationMode)
- QPainterPath shape (self)
- ShapeMode shapeMode (self)
- Qt.TransformationMode transformationMode (self)
- int type (self)
Detailed Description
Type Documentation
QGraphicsPixmapItem.ShapeMode
Method Documentation
QGraphicsPixmapItem.__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.
QRectF QGraphicsPixmapItem.boundingRect (self)
bool QGraphicsPixmapItem.contains (self, QPointF)
bool QGraphicsPixmapItem.isObscuredBy (self, QGraphicsItem)
QPointF QGraphicsPixmapItem.offset (self)
QPainterPath QGraphicsPixmapItem.opaqueArea (self)
QPixmap QGraphicsPixmapItem.pixmap (self)
QGraphicsPixmapItem.setOffset (self, QPointF)
QGraphicsPixmapItem.setOffset (self, float, float)
QGraphicsPixmapItem.setPixmap (self, QPixmap)
QGraphicsPixmapItem.setShapeMode (self, ShapeMode)
QGraphicsPixmapItem.setTransformationMode (self, Qt.TransformationMode)
QPainterPath QGraphicsPixmapItem.shape (self)
ShapeMode QGraphicsPixmapItem.shapeMode (self)
Qt.TransformationMode QGraphicsPixmapItem.transformationMode (self)
int QGraphicsPixmapItem.type (self)