00001
00002
00003
00004
00005
00006
00007 #ifndef GHOST_ELLIPSE_H
00008 #define GHOST_ELLIPSE_H
00009
00010 #include <QBrush>
00011 #include <QPen>
00012 #include <QRectF>
00013
00015 class GhostEllipse
00016 {
00017 public:
00019 GhostEllipse(const QRectF &rect,
00020 const QPen &pen,
00021 const QBrush &brush);
00022 ~GhostEllipse();
00023
00025 GhostEllipse(const GhostEllipse &other);
00026
00028 GhostEllipse &operator=(const GhostEllipse &other);
00029
00031 QBrush brush () const;
00032
00034 QPen pen () const;
00035
00037 QRectF rect() const;
00038
00039 private:
00040 GhostEllipse();
00041
00042 QRectF m_rect;
00043 QPen m_pen;
00044 QBrush m_brush;
00045 };
00046
00047 #endif // GHOST_ELLIPSE_H