#include <clientedit.h>
Diagrama de herencias de ClientEdit
Slots públicos | |
virtual void | saveButton_clicked () |
virtual void | deleteButton_clicked () |
virtual void | cancelButton_clicked () |
virtual void | formModified () |
virtual void | close () |
Métodos públicos | |
ClientEdit (company *emp, QWidget *parent=0, const char *name=0) | |
~ClientEdit () | |
void | loadClient (QString client) |
void | saveClient () |
void | deleteClient () |
Métodos privados | |
void | setModified (bool formContentsChanged) |
void | emptyForm () |
Atributos privados | |
company * | companyact |
QString | clientId |
bool | m_modified |
|
Gráfico de llamadas para esta función: |
|
Gráfico de llamadas para esta función: |
|
|
|
|
|
|
|
For now this function cleans the form and sets it so that we can add a new client In the future it should really delete the client, or better yet mark it as deleted on an appropiate field in the DB Gráfico de llamadas para esta función: |
|
Empties the form. Gráfico de llamadas para esta función: |
|
|
|
loadClient Given a valid client ID this function loads the client into the form so that we can edit it. Otherwise it empties the form and sets it so that we can add a new client Gráfico de llamadas para esta función: |
|
|
|
saveClient This function saves the current client. It checks if it is a new client that needs to be added or if it is an existing one that has to be modified Gráfico de llamadas para esta función: |
|
Toggles the status of the onscreen client modified/not modified. Also performs the necesary gui actions in the window caption to reflect it. |
|
|
|
|
|
|