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