mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
client move ui helpers to folder
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user