新增qwt源码版本

This commit is contained in:
feiyangqingyun
2019-11-07 10:56:33 +08:00
parent d9b38d7ecd
commit 4746999d0e
377 changed files with 81225 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
#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