jce-manager/src/jceData/Calendar/coursesSchedule/calendarSchedule.h

42 lines
838 B
C
Raw Normal View History

2014-09-08 15:54:52 +00:00
#ifndef CALENDARSCHEDULE_H
#define CALENDARSCHEDULE_H
#include <QTableWidget>
#include <QHeaderView>
2014-09-08 15:54:52 +00:00
#include <QTextStream>
#include "calendarPage.h"
2014-09-08 15:54:52 +00:00
#define HOURS_BEGIN 8
#define HOURS_END 20
#define ACADEMIN_HOUR 45
2014-10-10 17:36:00 +00:00
/**
* @brief The calendarSchedule class
*
* This class combining the courses schedule with each course into a table
* setpage -> insertingIntoTable -> showing data
*
* Made By liran ben gida, LiranBG@gmail.com On 31/8/2014
*/
2014-09-08 15:54:52 +00:00
class calendarSchedule : public QTableWidget, public CalendarPage
{
Q_OBJECT
public:
calendarSchedule(QWidget *parent = 0);
2014-09-08 15:54:52 +00:00
~calendarSchedule() { clearTableItems(); }
void setPage(QString html);
2014-09-08 15:54:52 +00:00
void clearTableItems();
signals:
public slots:
private:
void insertCourseIntoTable();
};
#endif // CALENDARSCHEDULE_H