GnuCashew ~ GnuCash Enabled Web
GCW
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GCW::Gui::BillPay::PaymentWidget Class Reference

Payment Widget. More...

#include <PaymentWidget.h>

Inherits Wt::WContainerWidget.

Public Member Functions

 PaymentWidget (const std::string &_bpGuid)
 
auto bpGuid () const -> const std::string &
 
auto loadData () -> void
 
auto saveData () -> void
 

Private Member Functions

auto table () -> Wt::WTable *
 

Private Attributes

std::string m_bpGuid
 
Wt::WTable * m_table = nullptr
 
Wt::WDateEdit * m_date = nullptr
 
Wt::WLineEdit * m_num = nullptr
 
Wt::WLineEdit * m_desc = nullptr
 
Wt::WLineEdit * m_recon = nullptr
 
Wt::WLineEdit * m_debit = nullptr
 
Wt::WLineEdit * m_credit = nullptr
 
Wt::WTextArea * m_confirm = nullptr
 
std::vector< std::vector< Wt::WFormWidget * > > m_tableWidgets
 

Detailed Description

Payment Widget.

This will pop a dialog to accept a payment

Definition at line 36 of file PaymentWidget.h.

Constructor & Destructor Documentation

◆ PaymentWidget()

GCW::Gui::BillPay::PaymentWidget::PaymentWidget ( const std::string &  _bpGuid)

Member Function Documentation

◆ bpGuid()

auto GCW::Gui::BillPay::PaymentWidget::bpGuid ( ) const -> const std::string &
inline

Definition at line 43 of file PaymentWidget.h.

References m_bpGuid.

◆ loadData()

auto GCW::Gui::BillPay::PaymentWidget::loadData ( ) -> void

◆ saveData()

auto GCW::Gui::BillPay::PaymentWidget::saveData ( ) -> void

Definition at line 151 of file PaymentWidget.cpp.

References GCW::app(), and GCW::Gui::BillPay::bpItem().

◆ table()

auto GCW::Gui::BillPay::PaymentWidget::table ( ) -> Wt::WTable *
inlineprivate

Definition at line 50 of file PaymentWidget.h.

References m_table.

Referenced by PaymentWidget().

Member Data Documentation

◆ m_bpGuid

std::string GCW::Gui::BillPay::PaymentWidget::m_bpGuid
private

Definition at line 52 of file PaymentWidget.h.

Referenced by bpGuid().

◆ m_confirm

Wt::WTextArea* GCW::Gui::BillPay::PaymentWidget::m_confirm = nullptr
private

Definition at line 60 of file PaymentWidget.h.

Referenced by PaymentWidget().

◆ m_credit

Wt::WLineEdit* GCW::Gui::BillPay::PaymentWidget::m_credit = nullptr
private

Definition at line 59 of file PaymentWidget.h.

Referenced by PaymentWidget().

◆ m_date

Wt::WDateEdit* GCW::Gui::BillPay::PaymentWidget::m_date = nullptr
private

Definition at line 54 of file PaymentWidget.h.

Referenced by PaymentWidget().

◆ m_debit

Wt::WLineEdit* GCW::Gui::BillPay::PaymentWidget::m_debit = nullptr
private

Definition at line 58 of file PaymentWidget.h.

Referenced by PaymentWidget().

◆ m_desc

Wt::WLineEdit* GCW::Gui::BillPay::PaymentWidget::m_desc = nullptr
private

Definition at line 56 of file PaymentWidget.h.

Referenced by PaymentWidget().

◆ m_num

Wt::WLineEdit* GCW::Gui::BillPay::PaymentWidget::m_num = nullptr
private

Definition at line 55 of file PaymentWidget.h.

Referenced by PaymentWidget().

◆ m_recon

Wt::WLineEdit* GCW::Gui::BillPay::PaymentWidget::m_recon = nullptr
private

Definition at line 57 of file PaymentWidget.h.

Referenced by PaymentWidget().

◆ m_table

Wt::WTable* GCW::Gui::BillPay::PaymentWidget::m_table = nullptr
private

Definition at line 53 of file PaymentWidget.h.

Referenced by PaymentWidget(), and table().

◆ m_tableWidgets

std::vector< std::vector< Wt::WFormWidget * > > GCW::Gui::BillPay::PaymentWidget::m_tableWidgets
private

Definition at line 62 of file PaymentWidget.h.

Referenced by PaymentWidget().


The documentation for this class was generated from the following files: