27 #include <QtPdCom1/Transmission.h> 29 #include <pdcom5/Variable.h> 30 #include <pdcom5/Process.h> 31 #include <pdcom5/Subscription.h> 48 Q_PROPERTY(
double timeRange
49 READ getTimeRange WRITE setTimeRange RESET resetTimeRange)
51 Q_PROPERTY(
double scaleXMin
52 READ getScaleXMin WRITE setScaleXMin RESET resetScaleXMin)
54 Q_PROPERTY(
double scaleXMax
55 READ getScaleXMax WRITE setScaleXMax RESET resetScaleXMax)
57 Q_PROPERTY(
double scaleYMin
58 READ getScaleYMin WRITE setScaleYMin RESET resetScaleYMin)
60 Q_PROPERTY(
double scaleYMax
61 READ getScaleYMax WRITE setScaleYMax RESET resetScaleYMax)
63 Q_PROPERTY(
int lineWidth
64 READ getLineWidth WRITE setLineWidth RESET resetLineWidth)
66 Q_PROPERTY(QColor lineColor
67 READ getLineColor WRITE setLineColor
74 void addVariable(PdCom::Variable,
const PdCom::Selector & = {},
75 const QtPdCom::Transmission & = QtPdCom::event_mode,
double = 1.0,
77 void addVariable(PdCom::Process *,
const QString &,
78 const PdCom::Selector & = {},
79 const QtPdCom::Transmission & = QtPdCom::event_mode,
double = 1.0,
81 void clearVariables();
84 double getTimeRange()
const;
85 void setTimeRange(
double);
86 void resetTimeRange();
87 double getScaleXMin()
const;
88 void setScaleXMin(
double);
89 void resetScaleXMin();
90 double getScaleXMax()
const;
91 void setScaleXMax(
double);
92 void resetScaleXMax();
93 double getScaleYMin()
const;
94 void setScaleYMin(
double);
95 void resetScaleYMin();
96 double getScaleYMax()
const;
97 void setScaleYMax(
double);
98 void resetScaleYMax();
99 int getLineWidth()
const;
100 void setLineWidth(
int);
101 void resetLineWidth();
102 QColor getLineColor()
const;
103 void setLineColor(
const QColor &);
104 void resetLineColor();
106 virtual QSize sizeHint()
const;
109 bool event(QEvent *);
110 void resizeEvent(QResizeEvent *);
111 void paintEvent(QPaintEvent *);
#define PD_PRIVATE
Definition: Export.h:28
Definition: XYGraph.cpp:53
#define PD_PUBLIC
Definition: Export.h:33
XY Graph.
Definition: XYGraph.h:43
std::unique_ptr< Impl > impl
Definition: XYGraph.h:115