Back to index

fet  5.18.0
statisticsexport.h
Go to the documentation of this file.
00001 /*
00002 File statisticsexport.h
00003 */
00004 
00005 /***************************************************************************
00006                                 FET
00007                           -------------------
00008    copyright            : (C) by Lalescu Liviu
00009     email                : Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)
00010  ***************************************************************************
00011                       statisticsexport.h  -  description
00012                              -------------------
00013     begin                : Sep 2008
00014     copyright            : (C) by Volker Dirr
00015                          : http://www.timetabling.de/
00016  ***************************************************************************
00017  *                                                                         *
00018  *   This program is free software; you can redistribute it and/or modify  *
00019  *   it under the terms of the GNU General Public License as published by  *
00020  *   the Free Software Foundation; either version 2 of the License, or     *
00021  *   (at your option) any later version.                                   *
00022  *                                                                         *
00023  ***************************************************************************/
00024 
00025 #ifndef STATISTICEXPORT_H
00026 #define STATISTICEXPORT_H
00027 
00028 #include <QString>
00029 
00030 #include "timetable.h"             //needed?
00031 #include "timetable_defs.h" //needed?
00032 
00033 class StatisticsExport: public QObject{
00034        Q_OBJECT
00035 
00036 public:
00037        StatisticsExport();
00038        ~StatisticsExport();
00039 
00040        static void exportStatistics(QWidget* parent);
00041 private:
00042        //this function must be called before export html files, because it compute the IDs
00043        static void computeHashForIDsStatistics();
00044 
00045        //the following functions write the css and html statistics files
00046        static bool exportStatisticsStylesheetCss(QWidget* parent, QString saveTime);
00047        static bool exportStatisticsIndex(QWidget* parent, QString saveTime);
00048        static bool exportStatisticsTeachersSubjects(QWidget* parent, QString saveTime);
00049        static bool exportStatisticsSubjectsTeachers(QWidget* parent, QString saveTime);
00050        static bool exportStatisticsTeachersStudents(QWidget* parent, QString saveTime);
00051        static bool exportStatisticsStudentsTeachers(QWidget* parent, QString saveTime);
00052        static bool exportStatisticsSubjectsStudents(QWidget* parent, QString saveTime);
00053        static bool exportStatisticsStudentsSubjects(QWidget* parent, QString saveTime);
00054 };
00055 
00056 #endif