GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Gui
BillPay
BillPay/TableView.h
Go to the documentation of this file.
1
#line 2 "src/Gui/BillPay/TableView.h"
2
3
#ifndef __GUI_BILLPAY_TABLEVIEW_H___
4
#define __GUI_BILLPAY_TABLEVIEW_H___
5
6
#include <Wt/WTableView.h>
7
8
#include "
TableModel.h
"
9
#include "
Status.h
"
10
11
namespace
GCW
{
12
namespace
Gui {
13
namespace
BillPay {
14
15
/*!
16
** \brief Table View
17
**
18
** A view to the data model
19
**
20
*/
21
class
TableView
22
:
public
Wt::WTableView
23
{
24
public
:
25
26
TableView
(
int
_selectedMonth,
const
Status
_status );
27
28
auto
setMonth
(
int
_month )-> void ;
29
30
auto
selectItem
(
const
std::string _itemIdent )-> void ;
31
32
auto
rowCount
()-> int ;
33
34
auto
model
() const->
std
::shared_ptr<
TableModel
>
35
{
36
return
m_model
;
37
}
38
39
private
:
40
41
std::shared_ptr< TableModel >
m_model
;
42
43
};
// endclass TableView
44
45
}
// endnamespace BillPay {
46
}
// endnamespace Gui {
47
}
// endnamespace GCW {
48
49
#endif
// __GUI_BILLPAY_TABLEVIEW_H___
50
51
Status.h
TableModel.h
GCW::Gui::BillPay::TableModel
Data Model.
Definition
TableModel.h:51
GCW::Gui::BillPay::TableView
Table View.
Definition
BillPay/TableView.h:23
GCW::Gui::BillPay::TableView::m_model
std::shared_ptr< TableModel > m_model
Definition
BillPay/TableView.h:41
GCW::Gui::BillPay::TableView::rowCount
auto rowCount() -> int
Definition
BillPay/TableView.cpp:72
GCW::Gui::BillPay::TableView::selectItem
auto selectItem(const std::string _itemIdent) -> void
Definition
BillPay/TableView.cpp:94
GCW::Gui::BillPay::TableView::model
auto model() const -> std::shared_ptr< TableModel >
Definition
BillPay/TableView.h:34
GCW::Gui::BillPay::TableView::setMonth
auto setMonth(int _month) -> void
Definition
BillPay/TableView.cpp:51
Wt::WTableView
GCW::Gui::BillPay::Status
Status
Bill Status.
Definition
Status.h:27
GCW
Definition
App.h:18
std
Generated on Sat Sep 13 2025 08:48:27 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8