00001
00002
00003
00004
00005
00006
00007 #ifndef VIEW_POINT_STYLE_H
00008 #define VIEW_POINT_STYLE_H
00009
00010 #include "PointStyle.h"
00011 #include <QLabel>
00012 #include <QPixmap>
00013
00016 class ViewPointStyle : public QLabel
00017 {
00018 public:
00020 ViewPointStyle(QWidget *parent = 0);
00021
00023 void setEnabled (bool enabled);
00024
00026 void setPointStyle (const PointStyle &pointStyle);
00027
00029 void unsetPointStyle ();
00030
00031 private:
00032
00033 QPixmap pixmapForCurrentSettings () const;
00034
00035
00036 PointStyle m_pointStyle;
00037 bool m_enabled;
00038 };
00039
00040 #endif // VIEW_POINT_STYLE_H