OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
CartesianPlotMarker.h
Go to the documentation of this file.
1
4// ###########################################################################################################################################################################################################################################################################################################################
5
6#pragma once
7
8// OpenTwin header
10
11// Qwt header
12#include <qwt_plot_marker.h>
13
14namespace ot {
15
16 class OT_WIDGETS_API_EXPORT CartesianPlotMarker : public QwtPlotMarker {
17 public:
18 CartesianPlotMarker(int _id);
19 virtual ~CartesianPlotMarker();
20
21 int getId(void) const { return m_id; };
22
23 void setStyle(const QColor& _innerColor, const QColor& _outerColor, int _size = 8, double _outerColorSize = 2.0);
24
25 private:
26 int m_id;
27 QwtSymbol* m_symbol;
28
29 CartesianPlotMarker() = delete;
31 CartesianPlotMarker& operator = (CartesianPlotMarker&) = delete;
32
33 };
34
35}
#define OT_WIDGETS_API_EXPORT
Definition OTWidgetsAPIExport.h:12
Definition CartesianPlotMarker.h:16
int getId(void) const
Definition CartesianPlotMarker.h:21
Definition Connector.h:8