2014-09-08 15:54:52 +00:00
|
|
|
#ifndef CALENDARMANAGER_H
|
|
|
|
#define CALENDARMANAGER_H
|
|
|
|
|
|
|
|
#include "./src/jceData/Calendar/calendarPage.h"
|
|
|
|
#include "./src/jceData/Calendar/calendarSchedule.h"
|
|
|
|
#include "./src/jceData/CSV/csv_exporter.h"
|
2014-09-22 15:39:16 +00:00
|
|
|
#include "./src/jceData/Calendar/calendarDialog.h"
|
2014-09-22 22:17:05 +00:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QGridLayout>
|
2014-09-08 15:54:52 +00:00
|
|
|
#include <QMessageBox>
|
|
|
|
|
2014-09-22 22:17:05 +00:00
|
|
|
class CalendarManager : public QObject
|
2014-09-08 15:54:52 +00:00
|
|
|
{
|
2014-09-22 22:17:05 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2014-09-08 15:54:52 +00:00
|
|
|
public:
|
2014-09-22 22:17:05 +00:00
|
|
|
CalendarManager(QGridLayout *ptr);
|
2014-09-08 15:54:52 +00:00
|
|
|
~CalendarManager()
|
|
|
|
{
|
|
|
|
delete caliSchedPtr;
|
2014-09-11 12:48:23 +00:00
|
|
|
delete caliDialog;
|
2014-09-08 15:54:52 +00:00
|
|
|
}
|
2014-09-17 02:47:12 +00:00
|
|
|
void exportCalendarCSV();
|
2014-09-17 01:08:38 +00:00
|
|
|
void setCalendar(QString html);
|
2014-09-08 15:54:52 +00:00
|
|
|
void resetTable() { if (caliSchedPtr != NULL) caliSchedPtr->clearTableItems(); }
|
|
|
|
|
|
|
|
private:
|
|
|
|
calendarSchedule * caliSchedPtr;
|
2014-09-11 12:48:23 +00:00
|
|
|
CalendarDialog * caliDialog;
|
2014-09-09 11:40:11 +00:00
|
|
|
|
2014-09-08 15:54:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CALENDARMANAGER_H
|