mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
28 lines
505 B
C++
28 lines
505 B
C++
#pragma once
|
|
#include <QObject>
|
|
#include <qwt_plot.h>
|
|
#include <qwt_plot_curve.h>
|
|
#include <qwt_text.h>
|
|
|
|
class Plot_wrapper : public QwtPlot
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
/**
|
|
* @brief Construct a new Plot_wrapper object
|
|
*
|
|
* @param parent The parent QWidget
|
|
*/
|
|
Plot_wrapper(QWidget *parent = nullptr);
|
|
|
|
/**
|
|
* @brief Get the curve associated with the plot
|
|
*
|
|
* @return QwtPlotCurve*
|
|
*/
|
|
QwtPlotCurve *curve() const;
|
|
|
|
private:
|
|
QwtPlotCurve *m_curve;
|
|
};
|