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

SlotsWidget. More...

#include <SlotsWidget.h>

Inherits Wt::WContainerWidget.

Public Types

using Model = Wt::Dbo::QueryModel< GCW::Dbo::Slots::Item::Ptr >
 Model. More...
 

Public Member Functions

 SlotsWidget ()
 Constructor. More...
 
GCW::Gui::TableViewtableView ()
 Table View. More...
 
std::shared_ptr< Modelmodel ()
 

Private Member Functions

void loadData ()
 

Private Attributes

std::shared_ptr< Modelm_model
 
GCW::Gui::TableViewm_tableView = nullptr
 

Detailed Description

SlotsWidget.

The 'slots' table is used to 'extend' data in the various areas, such as notes on transactions and so forth.

Definition at line 24 of file SlotsWidget.h.

Member Typedef Documentation

◆ Model

Model.

An alias for the Model in case this interface changes.

Definition at line 37 of file SlotsWidget.h.

Constructor & Destructor Documentation

◆ SlotsWidget()

GCW::Gui::SlotsWidget::SlotsWidget ( )

Constructor.

Definition at line 17 of file SlotsWidget.cpp.

References loadData(), m_tableView, and tableView().

Member Function Documentation

◆ loadData()

void GCW::Gui::SlotsWidget::loadData ( )
private

Definition at line 53 of file SlotsWidget.cpp.

References GCW::app().

Referenced by SlotsWidget().

◆ model()

std::shared_ptr< Model > GCW::Gui::SlotsWidget::model ( )
inline

Definition at line 53 of file SlotsWidget.h.

References m_model.

◆ tableView()

GCW::Gui::TableView* GCW::Gui::SlotsWidget::tableView ( )
inline

Table View.

Definition at line 51 of file SlotsWidget.h.

References m_tableView.

Referenced by SlotsWidget().

Member Data Documentation

◆ m_model

std::shared_ptr< Model > GCW::Gui::SlotsWidget::m_model
private

Definition at line 59 of file SlotsWidget.h.

Referenced by model().

◆ m_tableView

GCW::Gui::TableView* GCW::Gui::SlotsWidget::m_tableView = nullptr
private

Definition at line 60 of file SlotsWidget.h.

Referenced by SlotsWidget(), and tableView().


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