#include <graphic_items.h>
Inheritance diagram for GraphicPolygon:


Public Member Functions | |
| bool | init () |
| void | paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0) |
| QRectF | boundingRect () const |
| QGraphicsItem * | graphicsItem () |
| void | setPolygon (const QPolygon &polygon) |
| QPolygon | polygon () const |
| void | addPoint (const QPoint &) |
Properties | |
| QPolygon | polygon [] |
Private Attributes | |
| QPolygon | m_polygon |
| void GraphicPolygon::addPoint | ( | const QPoint & | ) |
| QRectF GraphicPolygon::boundingRect | ( | ) | const |
| QGraphicsItem* GraphicPolygon::graphicsItem | ( | ) | [inline, virtual] |
Implements PluginInterface.
| bool GraphicPolygon::init | ( | ) | [virtual] |
Reimplemented from GraphicStandardItem.
| void GraphicPolygon::paint | ( | QPainter * | , | |
| const QStyleOptionGraphicsItem * | , | |||
| QWidget * | widget = 0 | |||
| ) |
| QPolygon GraphicPolygon::polygon | ( | ) | const [inline] |
| void GraphicPolygon::setPolygon | ( | const QPolygon & | polygon | ) | [inline] |
QPolygon GraphicPolygon::m_polygon [private] |
QPolygon GraphicPolygon::polygon [read, write] |
1.4.7