##// END OF EJS Templates
Added automatic refresh of control points on add/remove point. Spline example updated
Added automatic refresh of control points on add/remove point. Spline example updated

File last commit:

r383:0e6beaefdebb merge
r431:575ceaee424c
Show More
widget.h
34 lines | 574 B | text/x-c | CLexer
#ifndef WIDGET_H
#define WIDGET_H
#include <QtGui/QWidget>
#include <qchartview.h>
#include <QSqlDatabase>
QTCOMMERCIALCHART_USE_NAMESPACE
class QListWidget;
class QRadioButton;
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
public slots:
void refreshChart();
void printChart();
private:
QChartView* chartArea;
QListWidget* countrieslist;
QListWidget* yearslist;
QSqlDatabase db;
QRadioButton* barChartRadioButton;
QRadioButton* scatterChartRadioButton;
};
#endif // WIDGET_H