Files
ResInsight/ThirdParty/Qwt/examples/itemeditor/plot.h
T
Magne Sjaastad ecf5a67074 System : Upgrade to Qwt 6.1.4
Avoid use of deprecated Qt functions like QString::null
2019-09-13 10:07:49 +02:00

34 lines
487 B
C++

#ifndef _PLOT_H
#define _PLOT_H
#include <qwt_plot.h>
#include "shapefactory.h"
class QColor;
class QSizeF;
class QPointF;
class Editor;
class Plot: public QwtPlot
{
Q_OBJECT
public:
Plot( QWidget *parent = NULL );
public Q_SLOTS:
void exportPlot();
void setMode( int );
private:
void populate();
void addShape( const QString &title,
ShapeFactory::Shape, const QColor &,
const QPointF &, const QSizeF & );
Editor *d_editor;
};
#endif