GnuCashew ~ GnuCash Enabled Web
GCW
Classes | Typedefs | Enumerations | Functions
GCW::Gui::BillPay Namespace Reference

Bill Pay. More...

Classes

class  EditWidget
 Edit Widget. More...
 
class  EditWidgetDialog
 Edit Widget Dialog. More...
 
class  Item
 
class  MainWidget
 Bill Pay Widget. More...
 
struct  COLUMNDEF
 
class  Model
 Data Model. More...
 
class  Table
 Table View. More...
 
class  ToolBar
 Control Bar. More...
 

Typedefs

typedef struct GCW::Gui::BillPay::COLUMNDEF ColumnDef_t
 

Enumerations

enum class  Status { Paid , 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...
 

Detailed Description

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 Documentation

◆ 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).

Enumeration Type Documentation

◆ Status

Bill Status.

Bills get loaded in to the model depending on their status. A bills status depends on the selected month, and the check-box status for that same month.

Enumerator
Paid 

Paid Status.

Unpaid 

Unpaid Status.

Disabled 

Disabled Status.

Definition at line 20 of file Status.h.

Function Documentation

◆ asString()

std::string GCW::Gui::BillPay::asString ( Status  _status)

◆ asStyleClass()

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 20 of file Status.cpp.

Referenced by GCW::Gui::BillPay::Table::Table().

◆ bpItem()

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::Model::loadData(), and GCW::Gui::BillPay::EditWidget::saveData().

◆ configItem()

auto GCW::Gui::BillPay::configItem ( ) -> GCW::Dbo::Vars::Item::Ptr

◆ exportAll()

auto GCW::Gui::BillPay::exportAll ( ) -> void

Definition at line 53 of file BillPay.cpp.

◆ importAll()

auto GCW::Gui::BillPay::importAll ( ) -> void

Definition at line 60 of file BillPay.cpp.

◆ toString()

auto GCW::Gui::BillPay::toString ( int  _value) -> std::string