GnuCashew ~ GnuCash Enabled Web
GCW
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
GCW::Gui::RawTableWidget< C > Class Template Reference

SlotsWidget. More...

#include <RawTableWidget.h>

Inherits Wt::WContainerWidget.

Public Types

using Model = Wt::Dbo::QueryModel< typename C::Ptr >
 Model. More...
 

Public Member Functions

 RawTableWidget (const std::string &_viewName)
 Constructor. More...
 
auto tableView () -> GCW::Gui::TableView *
 Table View. More...
 
auto model () -> std::shared_ptr< Model >
 

Protected Member Functions

auto load () -> void
 

Private Member Functions

auto loadData () -> void
 

Private Attributes

std::shared_ptr< Modelm_model
 
Wt::WToolBar * m_toolBar = nullptr
 
GCW::Gui::TableViewm_tableView = nullptr
 
Wt::WContainerWidget * m_statusBar = nullptr
 

Detailed Description

template<class C>
class GCW::Gui::RawTableWidget< C >

SlotsWidget.

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

Definition at line 27 of file RawTableWidget.h.

Member Typedef Documentation

◆ Model

template<class C >
using GCW::Gui::RawTableWidget< C >::Model = Wt::Dbo::QueryModel< typename C::Ptr >

Model.

An alias for the Model.

Definition at line 40 of file RawTableWidget.h.

Constructor & Destructor Documentation

◆ RawTableWidget()

template<class C >
GCW::Gui::RawTableWidget< C >::RawTableWidget ( const std::string &  _viewName)

Constructor.

Definition at line 9 of file RawTableWidget_impl.h.

Member Function Documentation

◆ load()

template<class C >
auto GCW::Gui::RawTableWidget< C >::load
protected

Definition at line 57 of file RawTableWidget_impl.h.

References GCW::Dbo::Accounts::load().

◆ loadData()

template<class C >
auto GCW::Gui::RawTableWidget< C >::loadData
private

Definition at line 70 of file RawTableWidget_impl.h.

References GCW::app().

◆ model()

template<class C >
auto GCW::Gui::RawTableWidget< C >::model ( ) -> std::shared_ptr< Model >
inline

Definition at line 56 of file RawTableWidget.h.

References GCW::Gui::RawTableWidget< C >::m_model.

◆ tableView()

template<class C >
auto GCW::Gui::RawTableWidget< C >::tableView ( ) -> GCW::Gui::TableView *
inline

Table View.

Definition at line 54 of file RawTableWidget.h.

References GCW::Gui::RawTableWidget< C >::m_tableView.

Member Data Documentation

◆ m_model

template<class C >
std::shared_ptr< Model > GCW::Gui::RawTableWidget< C >::m_model
private

Definition at line 66 of file RawTableWidget.h.

Referenced by GCW::Gui::RawTableWidget< C >::model().

◆ m_statusBar

template<class C >
Wt::WContainerWidget* GCW::Gui::RawTableWidget< C >::m_statusBar = nullptr
private

Definition at line 69 of file RawTableWidget.h.

◆ m_tableView

template<class C >
GCW::Gui::TableView* GCW::Gui::RawTableWidget< C >::m_tableView = nullptr
private

Definition at line 68 of file RawTableWidget.h.

Referenced by GCW::Gui::RawTableWidget< C >::tableView().

◆ m_toolBar

template<class C >
Wt::WToolBar* GCW::Gui::RawTableWidget< C >::m_toolBar = nullptr
private

Definition at line 67 of file RawTableWidget.h.


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