widget.h
31 lines
| 472 B
| text/x-c
|
CLexer
Marek Rosa
|
r205 | #ifndef WIDGET_H | ||
#define WIDGET_H | ||||
#include <QtGui/QWidget> | ||||
#include <qchartview.h> | ||||
#include <QSqlDatabase> | ||||
QTCOMMERCIALCHART_USE_NAMESPACE | ||||
class QListWidget; | ||||
class Widget : public QWidget | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
Widget(QWidget *parent = 0); | ||||
~Widget(); | ||||
public slots: | ||||
void refreshChart(); | ||||
Marek Rosa
|
r244 | void printChart(); | ||
Marek Rosa
|
r205 | |||
private: | ||||
QChartView* chartArea; | ||||
QListWidget* countrieslist; | ||||
QListWidget* yearslist; | ||||
QSqlDatabase db; | ||||
}; | ||||
#endif // WIDGET_H | ||||