#include <TransactionsForm.h>
Inheritance diagram for TransactionsForm:
Public Methods | |
TransactionsForm () FORM_SECTION2 | |
constructor; dows nothing. More... | |
void | adjustAccBalance () FORM_SECTION2 |
creates a new transaction updating the balance in the new account. More... | |
void | adjustClearedAccBalance () FORM_SECTION2 |
updates the expected balance for the account. More... | |
void | displayTotals () FORM_SECTION2 |
updates the totals for the current account (if necessary) and draws them on the screen. More... | |
Boolean | handleUpdateEvent (UInt16 update_code) FORM_SECTION2 |
called when a form update event occurs (public in order to be able to force updates). More... | |
Static Public Methods | |
TransactionsForm * | instance () FORM_SECTION2 |
returns singleton reference to this object. More... | |
Private Methods | |
Boolean | handleKeyDownEvent (WChar key_id, UInt16 modifiers) FORM_SECTION2 |
called when key down event occurs. More... | |
Boolean | handleOpenEvent () FORM_SECTION2 |
called when form open event occurs. More... | |
Boolean | handleCtlSelectEvent (UInt16 control_id) FORM_SECTION2 |
called when ctl select event occurs. More... | |
Boolean | handleTblSelectEvent (tblSelect &tbl_select) FORM_SECTION2 |
called when a table select event occurs. More... | |
Boolean | handleMenuEvent (UInt16 menu_item_id) FORM_SECTION2 |
called when a menu event occurs. More... | |
Boolean | handleCloseEvent () FORM_SECTION2 |
this function is called when the form is closed. More... | |
void | initCat () FORM_SECTION2 |
init the category trigger. More... | |
void | selectCat () FORM_SECTION2 |
handle category selection. More... | |
void | handleNewTransaction () FORM_SECTION2 |
executes the necessary operations to start creating a new transaction. More... | |
void | handleTransactionDetails () FORM_SECTION2 |
handles transaction details. More... | |
Private Attributes | |
EditTransactionForm * | _edit_trans_form |
Char | _cat_name [dmCategoryLength] |
used to store the current category name. More... | |
TransactionsTable | _trans_tbl |
the transactions table. More... | |
Static Private Attributes | |
TransactionsForm * | _instance |
reference to this object. More... |
Definition at line 32 of file TransactionsForm.h.
|
constructor; dows nothing.
|
|
creates a new transaction updating the balance in the new account.
|
|
updates the expected balance for the account.
|
|
updates the totals for the current account (if necessary) and draws them on the screen.
|
|
this function is called when the form is closed.
Reimplemented from Form. |
|
called when ctl select event occurs.
Reimplemented from Form. |
|
called when key down event occurs.
Reimplemented from Form. |
|
called when a menu event occurs.
Reimplemented from Form. |
|
executes the necessary operations to start creating a new transaction.
|
|
called when form open event occurs.
Reimplemented from Form. |
|
called when a table select event occurs.
Reimplemented from Form. |
|
handles transaction details.
|
|
called when a form update event occurs (public in order to be able to force updates).
Reimplemented from Form. |
|
init the category trigger.
|
|
returns singleton reference to this object.
|
|
handle category selection.
|
|
used to store the current category name.
Definition at line 55 of file TransactionsForm.h. |
|
Definition at line 53 of file TransactionsForm.h. |
|
reference to this object.
Definition at line 51 of file TransactionsForm.h. |
|
the transactions table.
Definition at line 58 of file TransactionsForm.h. |