1 #ifndef ADDPROJECTDIALOG_H
2 #define ADDPROJECTDIALOG_H
5 #include "database/customerdatabase.h"
7 #include "models/project.h"
8 #include "models/customer.h"
10 #include "gui/mainwindow/mainwindow.h"
11 #include "gui/utils/windowsettings.h"
70 Ui::AddProjectDialog *ui;
74 #endif // ADDPROJECTDIALOG_H
The AddProjectDialog class Windows to add a new Project.
Definition: addprojectdialog.h:24
The Project class : Project linked to a Customer.
Definition: project.h:17
void reject()
AddProjectDialog::reject Cancel the operation and close the windows.
Definition: addprojectdialog.cpp:49
void checkFields()
AddProjectDialog::checkFields Check if fields are valid.
Definition: addprojectdialog.cpp:64
void fillFields()
AddProjectDialog::fillFields Fill the differents fields of the current windows according the Project ...
Definition: addprojectdialog.cpp:54
AddProjectDialog(int idProject=0, int noRowCustomer=0, QWidget *parent=0)
AddProjectDialogAddProjectDialog Construct a windows according an idCustomer and, optionnaly...
Definition: addprojectdialog.cpp:7
void accept()
AddProjectDialog::accept Valid data inputed by user and add these data in Database.
Definition: addprojectdialog.cpp:33