FactDev  0.1
Gui::Dialogs::AddProjectDialog Class Reference

The AddProjectDialog class Windows to add a new Project. More...

#include <addprojectdialog.h>

Inheritance diagram for Gui::Dialogs::AddProjectDialog:

Public Slots

void checkFields ()
 AddProjectDialog::checkFields Check if fields are valid.
 

Public Member Functions

 AddProjectDialog (int idProject=0, int noRowCustomer=0, QWidget *parent=0)
 AddProjectDialogAddProjectDialog Construct a windows according an idCustomer and, optionnaly, an idProject More...
 
void accept ()
 AddProjectDialog::accept Valid data inputed by user and add these data in Database.
 
void reject ()
 AddProjectDialog::reject Cancel the operation and close the windows.
 
void fillFields ()
 AddProjectDialog::fillFields Fill the differents fields of the current windows according the Project data existing As a project requires to be linked to a Customer, the Customer selection part may be disable.
 

Detailed Description

The AddProjectDialog class Windows to add a new Project.

Author
Florent Berbie
See Also
Project

Constructor & Destructor Documentation

Gui::Dialogs::AddProjectDialog::AddProjectDialog ( int  idProject = 0,
int  noRowCustomer = 0,
QWidget *  parent = 0 
)
explicit

AddProjectDialogAddProjectDialog Construct a windows according an idCustomer and, optionnaly, an idProject

Parameters
noRowCustomerRow number of the Customer
idProjectProject identify
parentQWidget of the current windows

The documentation for this class was generated from the following files: