Files
remote-ui/client/ui/plot_wrapper.hpp
T
sani7 683f262fa1 doxygen
fix some documentation warnings
2026-02-14 14:32:37 +01:00

32 lines
569 B
C++

#pragma once
#include <QObject>
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
#include <qwt_text.h>
/**
* @brief Class wrapping a QwtPlot for plotting data
*
*/
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;
};