Engauge Digitizer  2
ViewPointStyle.h
1 #ifndef VIEW_POINT_STYLE_H
2 #define VIEW_POINT_STYLE_H
3 
4 #include "PointStyle.h"
5 #include <QLabel>
6 #include <QPixmap>
7 
10 class ViewPointStyle : public QLabel
11 {
12 public:
14  ViewPointStyle(QWidget *parent = 0);
15 
17  void setEnabled (bool enabled);
18 
20  void setPointStyle (const PointStyle &pointStyle);
21 
23  void unsetPointStyle ();
24 
25 private:
26 
27  QPixmap pixmapForCurrentSettings () const;
28 
29  // Current settings
30  PointStyle m_pointStyle;
31  bool m_enabled;
32 };
33 
34 #endif // VIEW_POINT_STYLE_H
void unsetPointStyle()
Apply no PointStyle.
ViewPointStyle(QWidget *parent=0)
Single constructor.
Details for a specific Point.
Definition: PointStyle.h:14
void setEnabled(bool enabled)
Show the style with semi-transparency or full-transparency to indicate if associated Curve is active ...
void setPointStyle(const PointStyle &pointStyle)
Apply the PointStyle of the currently selected curve.
Class that displays a view of the current Curve's point style.