2014-09-08 15:54:52 +00:00
|
|
|
#ifndef CALENDARSCHEDULE_H
|
|
|
|
#define CALENDARSCHEDULE_H
|
|
|
|
|
|
|
|
#include <QTableWidget>
|
|
|
|
#include <QTextStream>
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include "calendarPage.h"
|
|
|
|
#include <iostream>
|
|
|
|
#include <QHeaderView>
|
|
|
|
|
|
|
|
#define HOURS_BEGIN 8
|
|
|
|
#define HOURS_END 20
|
|
|
|
#define ACADEMIN_HOUR 45
|
|
|
|
|
|
|
|
class calendarSchedule : public QTableWidget, public CalendarPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
calendarSchedule();
|
|
|
|
~calendarSchedule() { clearTableItems(); }
|
2014-09-17 01:08:38 +00:00
|
|
|
void setPage(QString html);
|
2014-09-08 15:54:52 +00:00
|
|
|
void clearTableItems();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
private:
|
|
|
|
|
|
|
|
void insertCourseIntoTable();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CALENDARSCHEDULE_H
|