00001
00002
00003
00004
00005
00006
00007 #ifndef GRAPHICS_ARCITEM_H
00008 #define GRAPHICS_ARCITEM_H
00009
00010 #include <QGraphicsEllipseItem>
00011
00017 class GraphicsArcItem : public QGraphicsEllipseItem
00018 {
00019 public:
00021 GraphicsArcItem(double x,
00022 double y,
00023 double width,
00024 double height,
00025 QGraphicsItem *parent = 0);
00026
00028 GraphicsArcItem(const QRectF &rect,
00029 QGraphicsItem *parent = 0);
00030
00032 virtual void paint (QPainter *painter,
00033 const QStyleOptionGraphicsItem *option,
00034 QWidget *widget);
00035
00036 private:
00037 GraphicsArcItem();
00038
00039 };
00040
00041 #endif // GRAPHICS_ARCITEM_H