GnuCashew ~ GnuCash Enabled Web
GCW
|
Bill Pay. More...
Classes | |
class | EditWidget |
Edit Widget. More... | |
class | EditWidgetDialog |
Edit Widget Dialog. More... | |
class | Item |
Bill Pay Item. More... | |
class | MainWidget |
Bill Pay Widget. More... | |
class | PaymentWidget |
Payment Widget. More... | |
class | PaymentWidgetDialog |
Edit Widget Dialog. More... | |
class | SummaryWidget |
Summary Widget. More... | |
struct | COLUMNDEF |
class | TableModel |
Data Model. More... | |
class | TableView |
Table View. More... | |
class | ToolBar |
Control Bar. More... | |
Typedefs | |
typedef struct GCW::Gui::BillPay::COLUMNDEF | ColumnDef_t |
Enumerations | |
enum class | Status { Paid , Pending , Unpaid , Disabled } |
Bill Status. More... | |
Functions | |
auto | configItem () -> GCW::Dbo::Vars::Item::Ptr |
Config Item. More... | |
auto | bpItem (const std::string &_guid) -> GCW::Gui::BillPay::Item |
Bill Pay Item. More... | |
auto | toString (int _value) -> std::string |
Convert Integer to String. More... | |
auto | exportAll () -> void |
auto | importAll () -> void |
std::string | asString (Status _status) |
Get Status as String. More... | |
std::string | asStyleClass (Status _status) |
Get Status as Style Class. More... | |
Bill Pay.
This tool provides an interface for paying bills. The intent of the interface is to present bills that are due within a specific period of time, with thier due dates shown, and organized in to sets of "paid" and "not paid".
typedef struct GCW::Gui::BillPay::COLUMNDEF GCW::Gui::BillPay::ColumnDef_t |
\Brief Model Column Definitions
This holds the column definitions for the Model and Table. It includes the field name, field width (for the table), alignment (also for the table), and toolTip (which is applied to the model but gets displayed in the table).
|
strong |
std::string GCW::Gui::BillPay::asString | ( | Status | _status | ) |
Get Status as String.
This returns the 'string' representation of the status code.
Definition at line 6 of file Status.cpp.
References TR8.
Referenced by GCW::Eng::AccountRegisterModel::AccountRegisterModel(), GCW::Gui::BillPay::MainWidget::do_editClicked(), GCW::Gui::BillPay::MainWidget::editClicked(), GCW::Gui::AccountsTreeView::expandNode(), GCW::Gui::AccountsTreeView::findIndex(), GCW::Eng::AccountRegisterModel::getNumeric(), GCW::Eng::AccountRegisterModel::getSplitGuid(), GCW::Eng::AccountRegisterModel::getString(), iterate(), GCW::Gui::AccountsTreeView::iterate(), GCW::Gui::BillPay::TableModel::loadData(), GCW::Gui::AccountsTreeView::on_doubleClicked(), GCW::Gui::AccountsTreeView::on_showPopup_triggered(), GCW::Gui::AccountsTreeView::selectedAccount(), GCW::Eng::AccountRegisterModel::setData(), GCW::Eng::AccountRegisterModel::suggestionsFromColumn(), and GCW::Gui::AccountComboBox::valueGuid().
std::string GCW::Gui::BillPay::asStyleClass | ( | Status | _status | ) |
Get Status as Style Class.
The style-class is used to alter the display rendering based on the status.
Definition at line 21 of file Status.cpp.
Referenced by GCW::Gui::BillPay::TableView::TableView().
auto GCW::Gui::BillPay::bpItem | ( | const std::string & | _guid | ) | -> GCW::Gui::BillPay::Item |
Bill Pay Item.
This returns a bill-pay item based on the GUID of the relative account.
Definition at line 18 of file BillPay.cpp.
References GCW_GUI_BILLPAY_ITEM_CFY, and GCW::Dbo::Vars::get().
Referenced by GCW::Gui::BillPay::EditWidget::loadData(), GCW::Gui::BillPay::PaymentWidget::loadData(), GCW::Gui::BillPay::TableModel::loadData(), GCW::Gui::BillPay::EditWidget::saveData(), and GCW::Gui::BillPay::PaymentWidget::saveData().
auto GCW::Gui::BillPay::configItem | ( | ) | -> GCW::Dbo::Vars::Item::Ptr |
This returns the single 'config item' that contains the properties of the bill pay sub-system.
Definition at line 6 of file BillPay.cpp.
References GCW::app(), GCW_GUI_BILLPAY_CONFIG_CFY, and GCW::Dbo::Vars::get().
Referenced by GCW::Gui::BillPay::MainWidget::buildContent(), GCW::Gui::AccountsTreeView::loadConfig(), GCW::Gui::AccountsTreeView::saveConfig(), GCW::Gui::BillPay::MainWidget::setMonth(), GCW::Gui::BillPay::ToolBar::ToolBar(), and GCW::Gui::Customer::ToolBar::ToolBar().
auto GCW::Gui::BillPay::exportAll | ( | ) | -> void |
Definition at line 53 of file BillPay.cpp.
auto GCW::Gui::BillPay::importAll | ( | ) | -> void |
Definition at line 60 of file BillPay.cpp.
auto GCW::Gui::BillPay::toString | ( | int | _value | ) | -> std::string |
Convert Integer to String.
This converts an integer in to a 2-character string. So, numbers less that 10 return "09", "08", "07"... as a string.
Definition at line 40 of file BillPay.cpp.
Referenced by GCW::Dbo::GnuCashew::Session::addGnuCashewExtensions(), GCW::Gui::BillPay::Item::cb(), GCW::Gui::BillPay::EditWidget::EditWidget(), GCW::Gui::BillPay::TableModel::loadData(), GCW::Dbo::Splits::Item::quantityAsString(), GCW::Eng::AccountRegisterModel::refreshFromDisk(), GCW::Gui::BillPay::Item::set_cb(), and GCW::Dbo::Splits::Item::valueAsString().