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

Bill Pay Widget. More...

#include <MainWidget.h>

Inherits Wt::WContainerWidget.

Public Member Functions

 MainWidget ()
 

Private Member Functions

auto buildContent () -> void
 
auto addClicked () -> void
 
auto editClicked (Table *_table, Wt::WModelIndex _index) -> void
 
auto openEditor (const std::string &_bpGuid) -> void
 
auto buttonChanged (Wt::WRadioButton *_button) -> void
 
auto setMonth (int _month) -> void
 
auto disabledClicked () -> void
 
auto refreshViews () -> void
 
auto importClicked () -> void
 
auto exportClicked () -> void
 
auto on_headerClicked (int _col, const Wt::WMouseEvent _me) -> void
 

Private Attributes

std::unique_ptr< EditWidgetDialogm_dialog
 
Wt::Core::observing_ptr< EditWidgetm_editWidget
 
ToolBarm_toolBar = nullptr
 
Tablem_paidView = nullptr
 
Tablem_unpaidView = nullptr
 
Tablem_disabledView = nullptr
 
int m_selectedMonth = -1
 
Wt::WHBoxLayout * m_hlw = nullptr
 

Detailed Description

Bill Pay Widget.

Definition at line 22 of file MainWidget.h.

Constructor & Destructor Documentation

◆ MainWidget()

GCW::Gui::BillPay::MainWidget::MainWidget ( )

Definition at line 10 of file MainWidget.cpp.

References buildContent().

Member Function Documentation

◆ addClicked()

auto GCW::Gui::BillPay::MainWidget::addClicked ( ) -> void
private

Definition at line 160 of file MainWidget.cpp.

References GCW::app().

Referenced by buildContent().

◆ buildContent()

auto GCW::Gui::BillPay::MainWidget::buildContent ( ) -> void
private

◆ buttonChanged()

auto GCW::Gui::BillPay::MainWidget::buttonChanged ( Wt::WRadioButton *  _button) -> void
private

Definition at line 185 of file MainWidget.cpp.

◆ disabledClicked()

auto GCW::Gui::BillPay::MainWidget::disabledClicked ( ) -> void
private

Definition at line 209 of file MainWidget.cpp.

Referenced by buildContent().

◆ editClicked()

auto GCW::Gui::BillPay::MainWidget::editClicked ( Table _table,
Wt::WModelIndex  _index 
) -> void
private

Definition at line 169 of file MainWidget.cpp.

References GCW::Gui::BillPay::asString().

◆ exportClicked()

auto GCW::Gui::BillPay::MainWidget::exportClicked ( ) -> void
private

Definition at line 248 of file MainWidget.cpp.

Referenced by buildContent().

◆ importClicked()

auto GCW::Gui::BillPay::MainWidget::importClicked ( ) -> void
private

Definition at line 240 of file MainWidget.cpp.

Referenced by buildContent().

◆ on_headerClicked()

auto GCW::Gui::BillPay::MainWidget::on_headerClicked ( int  _col,
const Wt::WMouseEvent  _me 
) -> void
private

Definition at line 256 of file MainWidget.cpp.

Referenced by buildContent().

◆ openEditor()

auto GCW::Gui::BillPay::MainWidget::openEditor ( const std::string &  _bpGuid) -> void
private

Definition at line 114 of file MainWidget.cpp.

◆ refreshViews()

auto GCW::Gui::BillPay::MainWidget::refreshViews ( ) -> void
private

Definition at line 232 of file MainWidget.cpp.

◆ setMonth()

auto GCW::Gui::BillPay::MainWidget::setMonth ( int  _month) -> void
private

Definition at line 217 of file MainWidget.cpp.

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

Member Data Documentation

◆ m_dialog

std::unique_ptr< EditWidgetDialog > GCW::Gui::BillPay::MainWidget::m_dialog
private

Definition at line 42 of file MainWidget.h.

◆ m_disabledView

Table* GCW::Gui::BillPay::MainWidget::m_disabledView = nullptr
private

Definition at line 56 of file MainWidget.h.

◆ m_editWidget

Wt::Core::observing_ptr< EditWidget > GCW::Gui::BillPay::MainWidget::m_editWidget
private

Definition at line 51 of file MainWidget.h.

◆ m_hlw

Wt::WHBoxLayout* GCW::Gui::BillPay::MainWidget::m_hlw = nullptr
private

Definition at line 63 of file MainWidget.h.

◆ m_paidView

Table* GCW::Gui::BillPay::MainWidget::m_paidView = nullptr
private

Definition at line 54 of file MainWidget.h.

◆ m_selectedMonth

int GCW::Gui::BillPay::MainWidget::m_selectedMonth = -1
private

Definition at line 60 of file MainWidget.h.

◆ m_toolBar

ToolBar* GCW::Gui::BillPay::MainWidget::m_toolBar = nullptr
private

Definition at line 53 of file MainWidget.h.

◆ m_unpaidView

Table* GCW::Gui::BillPay::MainWidget::m_unpaidView = nullptr
private

Definition at line 55 of file MainWidget.h.


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