Engauge Digitizer 2
Loading...
Searching...
No Matches
ViewPointStyle.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef VIEW_POINT_STYLE_H
8#define VIEW_POINT_STYLE_H
9
10#include "PointStyle.h"
11#include <QLabel>
12#include <QPixmap>
13
16class ViewPointStyle : public QLabel
17{
18public:
21
23 void setEnabled (bool enabled);
24
26 void setPointStyle (const PointStyle &pointStyle);
27
29 void unsetPointStyle ();
30
31private:
32
33 QPixmap pixmapForCurrentSettings () const;
34
35 // Current settings
36 PointStyle m_pointStyle;
37 bool m_enabled;
38};
39
40#endif // VIEW_POINT_STYLE_H
const int INNER_RADIUS_MIN
Details for a specific Point.
Definition PointStyle.h:21
Class that displays a view of the current Curve's point style.
ViewPointStyle(QWidget *parent=0)
Single constructor.
void unsetPointStyle()
Apply no PointStyle.
void setPointStyle(const PointStyle &pointStyle)
Apply the PointStyle of the currently selected curve.
void setEnabled(bool enabled)
Show the style with semi-transparency or full-transparency to indicate if associated Curve is active ...