GnuCashew ~ GnuCash Enabled Web
GCW
Table.h
Go to the documentation of this file.
1 #line 2 "src/Gui/BillPay/Table.h"
2 
3 #ifndef __GUI_BILLPAY_TABLE_H___
4 #define __GUI_BILLPAY_TABLE_H___
5 
6 #include <Wt/WTableView.h>
7 
8 #include "Model.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 Table
22 : public Wt::WTableView
23 {
24  public:
25 
26  Table( int _selectedMonth, const Status _status );
27 
28  void setMonth( int _month );
29 
30  std::shared_ptr< Model > model() const
31  {
32  return m_model;
33  }
34 
35  private:
36 
37  std::shared_ptr< Model > m_model;
38 };
39 
40  } // endnamespace BillPay {
41  } // endnamespace Gui {
42 } // endnamespace GCW {
43 
44 #endif // __GUI_BILLPAY_TABLE_H___
45 
46 
Table View.
Definition: Table.h:23
std::shared_ptr< Model > model() const
Definition: Table.h:30
std::shared_ptr< Model > m_model
Definition: Table.h:37
Table(int _selectedMonth, const Status _status)
Definition: Table.cpp:10
void setMonth(int _month)
Definition: Table.cpp:55
Status
Bill Status.
Definition: Status.h:21
Definition: App.h:17