##// END OF EJS Templates
Make stackedbarchartdrilldown compile
Make stackedbarchartdrilldown compile

File last commit:

r827:e44172bd0846
r829:f9360d7ac284
Show More
widget.h
34 lines | 572 B | text/x-c | CLexer
Marek Rosa
Initial commit for gdpBarChart example.
r205 #ifndef WIDGET_H
#define WIDGET_H
#include <QtGui/QWidget>
Jani Honkonen
make gdpbarchart compile again
r826 #include <QChartview>
Marek Rosa
Initial commit for gdpBarChart example.
r205 #include <QSqlDatabase>
QTCOMMERCIALCHART_USE_NAMESPACE
class QListWidget;
Marek Rosa
Added another chart type choice
r268 class QRadioButton;
Marek Rosa
Initial commit for gdpBarChart example.
r205
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
public slots:
void refreshChart();
Marek Rosa
Added chart printing to pdf
r244 void printChart();
Marek Rosa
Initial commit for gdpBarChart example.
r205
private:
Jani Honkonen
make gdpbarchart compile again
r826 QChartView* chartView;
Marek Rosa
Initial commit for gdpBarChart example.
r205 QListWidget* countrieslist;
QListWidget* yearslist;
QSqlDatabase db;
Marek Rosa
Added another chart type choice
r268 QRadioButton* barChartRadioButton;
QRadioButton* scatterChartRadioButton;
Marek Rosa
Initial commit for gdpBarChart example.
r205 };
#endif // WIDGET_H