|
FactDev
0.1
|
The DialogAddCustomer class Window to add or modify a Customer. More...
#include <dialogaddcustomer.h>
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. | |
The DialogAddCustomer class Window to add or modify a Customer.
|
explicit |
DialogAddCustomer::DialogAddCustomer Construct a window to add/modify a Customer.
| id | Customer id |
| parent | QWidget parent |