21 lines
484 B
C++
21 lines
484 B
C++
# pragma once
|
|
# include <QGridLayout>
|
|
# include <QWidget>
|
|
# include <QLabel>
|
|
# include <QDateTime>
|
|
# include "../../Controller/PlanGridController/PlanGridController.hpp"
|
|
# include "../Widgets/GridItem.hpp"
|
|
|
|
class PlanGrid : public QWidget {
|
|
Q_OBJECT
|
|
private:
|
|
QString weekdays[5];
|
|
QString times[5];
|
|
|
|
void populateGrid();
|
|
protected:
|
|
QGridLayout* gridLayout;
|
|
QMap<QPair<QString, QString>, QLabel*>* planMap;
|
|
public:
|
|
PlanGrid(QWidget* parent = nullptr);
|
|
}; |