Definition at line 1064 of file qgraphicsitem.h.
#include <qgraphicsitem.h>

Public Types |
|
| enum | { Type = 9 } |
Public Member Functions |
|
| QGraphicsSimpleTextItem (QGraphicsItem *parent=0, QGraphicsScene *scene=0) | |
| QGraphicsSimpleTextItem (const QString &text, QGraphicsItem *parent=0, QGraphicsScene *scene=0) | |
| ~QGraphicsSimpleTextItem () | |
| void | setText (const QString &text) |
| QString | text () const |
| void | setFont (const QFont &font) |
| QFont | font () const |
| QRectF | boundingRect () const |
| QPainterPath | shape () const |
| bool | contains (const QPointF &point) const |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| bool | isObscuredBy (const QGraphicsItem *item) const |
| QPainterPath | opaqueArea () const |
| int | type () const |
Protected Member Functions |
|
| bool | supportsExtension (Extension extension) const |
| void | setExtension (Extension extension, const QVariant &variant) |
| QVariant | extension (const QVariant &variant) const |
| anonymous enum |
Definition at line 1096 of file qgraphicsitem.h.
{ Type = 9 };
| QGraphicsSimpleTextItem | ( | QGraphicsItem * | parent = 0, |
| QGraphicsScene * | scene = 0 |
||
| ) |
| QGraphicsSimpleTextItem | ( | const QString & | text, |
| QGraphicsItem * | parent = 0, |
||
| QGraphicsScene * | scene = 0 |
||
| ) |
| void setText | ( | const QString & | text | ) |
| QString text | ( | ) | const |
| void setFont | ( | const QFont & | font | ) |
| QFont font | ( | ) | const |
| QRectF boundingRect | ( | ) | const [virtual] |
Implements QGraphicsItem.
| QPainterPath shape | ( | ) | const [virtual] |
Reimplemented from QGraphicsItem.
| bool contains | ( | const QPointF & | point | ) | const [virtual] |
Reimplemented from QGraphicsItem.
| void paint | ( | QPainter * | painter, |
| const QStyleOptionGraphicsItem * | option, | ||
| QWidget * | widget | ||
| ) | [virtual] |
Implements QGraphicsItem.
| bool isObscuredBy | ( | const QGraphicsItem * | item | ) | const [virtual] |
Reimplemented from QAbstractGraphicsShapeItem.
| QPainterPath opaqueArea | ( | ) | const [virtual] |
Reimplemented from QAbstractGraphicsShapeItem.
| int type | ( | ) | const [virtual] |
Reimplemented from QGraphicsItem.
| bool supportsExtension | ( | Extension | extension | ) | const [protected, virtual] |
Reimplemented from QGraphicsItem.
Reimplemented from QGraphicsItem.
Reimplemented from QGraphicsItem.