00001
00002
00003
00004
00005
00006
00007 #ifndef GRAPHICS_POINT_POLYGON_H
00008 #define GRAPHICS_POINT_POLYGON_H
00009
00010 #include <QGraphicsPolygonItem>
00011 #include <QPointF>
00012
00013 class GraphicsPoint;
00014
00016 class GraphicsPointPolygon : public QGraphicsPolygonItem
00017 {
00018 public:
00020 GraphicsPointPolygon(GraphicsPoint &graphicsPoint,
00021 const QPolygonF &polygon);
00022
00024 QVariant itemChange(GraphicsItemChange change, const QVariant &value);
00025
00027 void setRadius(int radius);
00028
00029 private:
00030 GraphicsPointPolygon();
00031
00032
00033 GraphicsPoint &m_graphicsPoint;
00034 };
00035
00036 #endif // GRAPHICS_POINT_POLYGON_H