##// END OF EJS Templates
Merge branch 'master' of https://git.it.local/repos/QtCommercialDevel-13049/charts Conflicts: example/gdpbarchart/widget.cpp

File last commit:

r268:bd1ae0fe1b01
r286:85d5e94564e0 merge
Show More
widget.h
36 lines | 633 B | text/x-c | CLexer
#ifndef WIDGET_H
#define WIDGET_H
#include <QtGui/QWidget>
#include <qchartview.h>
#include <qbarchartseries.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;
QBarChartSeries* series0;
QRadioButton* barChartRadioButton;
QRadioButton* scatterChartRadioButton;
};
#endif // WIDGET_H