/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. */ #ifndef STATISTICSDIALOG_H #define STATISTICSDIALOG_H #include #include #include class StatisticsDialog : public QDialog { Q_OBJECT public: StatisticsDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); ~StatisticsDialog() {} private: QString table(const QList > &data, int max) const; QList > queryData(const QString &query) const; int max(const QList > &data) const; QString generalStatistics() const; }; #endif