Files
remote-ui/client/plot_wrapper.cpp
T
sani7 f206014112 Initial plot
add client plot wrapper
add initial process function
add plot in test ui
2026-02-14 14:31:00 +01:00

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;
}