FactDev  0.1
Gui::Dialogs::DialogAddCustomer Class Reference

The DialogAddCustomer class Window to add or modify a Customer. More...

#include <dialogaddcustomer.h>

Inheritance diagram for Gui::Dialogs::DialogAddCustomer:

Public Slots

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

Public Member Functions

 DialogAddCustomer (int id=0, QWidget *parent=0)
 DialogAddCustomer::DialogAddCustomer Construct a window to add/modify a Customer. More...
 
void fillFields ()
 DialogAddCustomer::fillFields If the Customer exits, fill line edits with the data of the current Customer.
 
void accept ()
 DialogAddCustomer::accept Valid data inputed by user and add these data in Database.
 
void reject ()
 DialogAddCustomer::reject Cancel the operation and close the windows.
 

Detailed Description

The DialogAddCustomer class Window to add or modify a Customer.

Author

Constructor & Destructor Documentation

Gui::Dialogs::DialogAddCustomer::DialogAddCustomer ( int  id = 0,
QWidget *  parent = 0 
)
explicit

DialogAddCustomer::DialogAddCustomer Construct a window to add/modify a Customer.

Parameters
idCustomer id
parentQWidget parent

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