GnuCashew ~ GnuCash Enabled Web
GCW
Invoices.h
Go to the documentation of this file.
1 #line 2 "src/Gui/Customer/Invoices.h"
2 
3 #ifndef __GUI_CUSTOMER_INVOICES_H___
4 #define __GUI_CUSTOMER_INVOICES_H___
5 
6 #include <Wt/WContainerWidget.h>
7 #include <Wt/WTableView.h>
8 
9 #include "../../Eng/InvoicesModel.h"
10 
11 namespace GCW {
12  namespace Gui {
13  namespace Customer {
14 
15 /*!
16 ** \brief Control Bar
17 **
18 ** Control Bar with buttons
19 **
20 */
21 class Invoices
22 : public Wt::WContainerWidget
23 {
24  public:
25 
26  Invoices();
27 
28  auto setCustomerGuid( const std::string & _guid )-> void;
29 
30  private:
31 
32  Wt::WTableView * m_tableView = nullptr;
33  std::shared_ptr< GCW::Eng::InvoicesModel > m_model;
34 
35 }; // endclass Invoices
36 
37  } // endnamespace Customer {
38  } // endnamespace Gui {
39 } // endnamespace GCW {
40 
41 #endif // __GUI_CUSTOMER_INVOICES_H___
42 
43 
auto setCustomerGuid(const std::string &_guid) -> void
Definition: Invoices.cpp:42
std::shared_ptr< GCW::Eng::InvoicesModel > m_model
Definition: Invoices.h:33
Wt::WTableView * m_tableView
Definition: Invoices.h:32
Definition: App.h:17