Go to the documentation of this file.00001 #ifndef CHARTVIEW_H
00002 #define CHARTVIEW_H
00003
00004 #include <QWidget>
00005 #include "sql.h"
00006 #include <qwt_plot.h>
00007 #include <qwt_plot_marker.h>
00008 #include <qwt_plot_curve.h>
00009 #include <qwt_legend.h>
00010 #include <qwt_data.h>
00011 #include <qwt_text.h>
00012 #include <qwt_math.h>
00013
00014 namespace Ui {
00015 class ChartView;
00016 }
00017 class ChartView : public QWidget
00018 {
00019 Q_OBJECT
00020
00021 public:
00022 explicit ChartView(QWidget *parent = 0);
00023 void setTable(QTableWidget*);
00024 void loadcharts();
00025 ~ChartView();
00026 private:
00027 Ui::ChartView *ui;
00028 QTableWidget *qtw;
00029 QwtPlotCurve *rleg;
00030 QwtPlotCurve *sleg;
00031 QwtPlotCurve *cleg;
00032 };
00033
00034 #endif // CHARTVIEW_H
00035