mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 14:11:12 +01:00
16 lines
305 B
C++
16 lines
305 B
C++
#include "plot_wrapper.hpp"
|
|
#include <QPen>
|
|
|
|
Plot_wrapper::Plot_wrapper(QWidget *parent) : QwtPlot(parent)
|
|
{
|
|
m_curve = new QwtPlotCurve("Test 1");
|
|
m_curve->setPen(QPen(Qt::white));
|
|
m_curve->attach(this);
|
|
this->replot();
|
|
}
|
|
|
|
QwtPlotCurve *Plot_wrapper::curve() const
|
|
{
|
|
return m_curve;
|
|
}
|