GnuCashew ~ GnuCash Enabled Web
GCW
|
AccountsTreeViewModel. More...
#include <AccountsTreeViewModel.h>
Inherits Wt::WStandardItemModel.
Public Member Functions | |
auto | load (int _columnCount) -> void |
Private Member Functions | |
auto | load (Wt::WStandardItem *_treeItem, GCW::Dbo::Accounts::Item::Ptr _parentAccount) -> void |
Private Attributes | |
int | m_columnCount = -1 |
This builds a tree-type model for the Accounts to allow them to be displayed and interacted with in a WTreeView type object.
Definition at line 25 of file AccountsTreeViewModel.h.
auto GCW::Eng::AccountsTreeViewModel::load | ( | int | _columnCount | ) | -> void |
Definition at line 17 of file AccountsTreeViewModel.cpp.
References GCW::app(), GCW::Dbo::Accounts::Field::guid, GCW::Dbo::Accounts::load(), GCW::Dbo::Accounts::rootAccount(), and TR.
|
private |
Definition at line 94 of file AccountsTreeViewModel.cpp.
References GCW::app(), GCW::Dbo::Accounts::Field::code, GCW::Dbo::Accounts::Field::description, GCW::Dbo::Accounts::Field::guid, GCW::Dbo::Accounts::load(), and GCW::Dbo::Accounts::Field::name.
|
private |
Definition at line 36 of file AccountsTreeViewModel.h.