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

Public Types |
|
| enum | { Type = 2 } |
Public Member Functions |
|
| QGraphicsPathItem (QGraphicsItem *parent=0, QGraphicsScene *scene=0) | |
| QGraphicsPathItem (const QPainterPath &path, QGraphicsItem *parent=0, QGraphicsScene *scene=0) | |
| ~QGraphicsPathItem () | |
| QPainterPath | path () const |
| void | setPath (const QPainterPath &path) |
| QRectF | boundingRect () const |
| QPainterPath | shape () const |
| bool | contains (const QPointF &point) const |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
| 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 668 of file qgraphicsitem.h.
{ Type = 2 };
| QGraphicsPathItem | ( | QGraphicsItem * | parent = 0, |
| QGraphicsScene * | scene = 0 |
||
| ) |
| QGraphicsPathItem | ( | const QPainterPath & | path, |
| QGraphicsItem * | parent = 0, |
||
| QGraphicsScene * | scene = 0 |
||
| ) |
| ~QGraphicsPathItem | ( | ) |
| QPainterPath path | ( | ) | const |
| void setPath | ( | const QPainterPath & | path | ) |
| 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 = 0 |
||
| ) | [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.