yearly view

This commit is contained in:
Herwig Birke
2020-03-10 12:16:09 +01:00
parent 745cf83bcd
commit f10431b454
8 changed files with 609 additions and 30 deletions
+16 -11
View File
@@ -2,6 +2,7 @@
#define CMAINWINDOW_H
#include "cyearlyview.h"
#include "cmonthlyview.h"
#include "cdailyworking.h"
#include "cvacation.h"
@@ -14,6 +15,8 @@
#include <QSqlDatabase>
#include <QMap>
namespace Ui {
class cMainWindow;
@@ -28,21 +31,23 @@ public:
~cMainWindow();
private:
Ui::cMainWindow* ui;
cMonthlyView* m_lpMonthlyView;
QSqlDatabase m_db;
cPublicHoliday m_publicHoliday;
cDailyWorkingList m_dailyWorkingList;
cVacationList m_vacationList;
cMonthlyBookingList m_monthlyBookingList;
cBookingList* m_lpBookingList;
Ui::cMainWindow* ui;
cYearlyView* m_lpYearyView;
cMonthlyView* m_lpMonthlyView;
QSqlDatabase m_db;
cPublicHoliday m_publicHoliday;
cDailyWorkingList m_dailyWorkingList;
cVacationList m_vacationList;
cMonthlyBookingList m_monthlyBookingList;
cBookingList* m_lpBookingList;
QMap<QString, QString> m_code;
void initUI();
void openDB();
void initUI();
void openDB();
protected:
void closeEvent(QCloseEvent* event);
void closeEvent(QCloseEvent* event);
};
#endif // CMAINWINDOW_H