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

Public Types |
|
| enum | { Type = 5 } |
Public Member Functions |
|
| QGraphicsPolygonItem (QGraphicsItem *parent=0, QGraphicsScene *scene=0) | |
| QGraphicsPolygonItem (const QPolygonF &polygon, QGraphicsItem *parent=0, QGraphicsScene *scene=0) | |
| ~QGraphicsPolygonItem () | |
| QPolygonF | polygon () const |
| void | setPolygon (const QPolygonF &polygon) |
| Qt::FillRule | fillRule () const |
| void | setFillRule (Qt::FillRule rule) |
| 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 827 of file qgraphicsitem.h.
{ Type = 5 };
| QGraphicsPolygonItem | ( | QGraphicsItem * | parent = 0, |
| QGraphicsScene * | scene = 0 |
||
| ) |
| QGraphicsPolygonItem | ( | const QPolygonF & | polygon, |
| QGraphicsItem * | parent = 0, |
||
| QGraphicsScene * | scene = 0 |
||
| ) |
| ~QGraphicsPolygonItem | ( | ) |
| QPolygonF polygon | ( | ) | const |
| void setPolygon | ( | const QPolygonF & | polygon | ) |
| Qt::FillRule fillRule | ( | ) | const |
| void setFillRule | ( | Qt::FillRule | rule | ) |
| 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.