forked from loaded02/ICF_Report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
45 lines (36 loc) · 1.12 KB
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <ui_mainwindow.h>
#include <QCloseEvent>
#include "icfcontroller.h"
/*
* MainWindow is called from main(..). It is the mainframe and shows just the header with
* 2 comboboxes and dateedit and the footer with buttons like print, save, etc. The central
* 3 widgets are designed in GUI_FunctionForm and GUI_Function. The Businesslogic is controlled
* and encapsulated by ICFController. ICFController is instanciated by MainWindow.
*/
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
/*Default Constructor*/
explicit MainWindow(QWidget *parent = 0);
/*Destructor*/
~MainWindow();
private slots:
void closeEvent(QCloseEvent * event);
void on_actionAbout_triggered();
void on_actionSave_All_triggered();
void on_actionManage_Therapists_triggered();
void on_actionManage_Patients_triggered();
void on_actionSet_Xml_Directory_triggered();
void on_actionManage_Reports_triggered();
private:
Ui::MainWindow *ui;
ICFController* icfController;
};
#endif // MAINWINDOW_H