44#include <QSharedPointer>
75 typedef QSharedPointer<LinePlot>
SPtr;
95 const QString& title =
"",
96 QWidget *parent =
nullptr);
108 const QVector<double>& y,
109 const QString& title =
"",
110 QWidget *parent =
nullptr);
124 void setTitle(
const QString &p_sTitle);
132 void setXLabel(
const QString &p_sXLabel);
140 void setYLabel(
const QString &p_sYLabel);
158 const QVector<double>& y);
173 QVector<double> m_vecXData;
174 QVector<double> m_vecYData;
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
2-D display widgets and visualisation helpers (charts, topography, colour maps).
void updateData(const QVector< double > &y)
void paintEvent(QPaintEvent *event) override
LinePlot(QWidget *parent=nullptr)
void setTitle(const QString &p_sTitle)
void setXLabel(const QString &p_sXLabel)
QSharedPointer< LinePlot > SPtr
void setYLabel(const QString &p_sYLabel)
QSharedPointer< const LinePlot > ConstSPtr