GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
AccountEditor.h
Go to the documentation of this file.
1#line 2 "src/Gui/AccountEditor.h"
2
3#ifndef __GUI_ACCOUNTEDITOR_H___
4#define __GUI_ACCOUNTEDITOR_H___
5
6#include <Wt/WContainerWidget.h>
7#include <Wt/WDialog.h>
8#include <Wt/WLineEdit.h>
9#include <Wt/WTabWidget.h>
10#include <Wt/WTemplateFormView.h>
11
12#include "../GnuCashew.h"
13#include "AccountsTreeView.h"
14
15namespace GCW {
16 namespace Gui {
17
18/*!
19** \brief Account Editor
20**
21*/
24{
49
50 class Tab2
52 {
53 public:
54
55 Tab2( const std::string & _accountGuid );
56
57 std::string m_accountGuid;
58 };
59
60 public:
61
62 AccountEditor( const std::string & _accountGuid );
63
65
66 auto t1()-> Tab1 * { return m_t1; }
67 auto t2()-> Tab2 * { return m_t2; }
68
69 auto save ()-> Wt::Signal<> & { return m_save; }
70 auto cancel ()-> Wt::Signal<> & { return m_cancel; }
71
72 private:
73
74 auto do_help ()-> void;
75 auto do_cancel ()-> void;
76 auto do_ok ()-> void;
77
78 std::string m_accountGuid ;
84
85}; // endclass AccountEditor
86
88: public Wt::WDialog
89{
90 public:
91
92 AccountEditorDialog( const std::string & _accountGuid );
93
94 private:
95
96}; // endclass AccountEditorDialog
97
98 } //endnamespace Gui {
99} // endnamespace GCW {
100
101#endif // end __GUI_ACCOUNTSWIDGET_H___
102
103
104
GCW::Gui::AccountsTreeView * m_parent
auto save() -> Wt::Signal<> &
Wt::WTabWidget * m_tabWidget
auto t1() -> Tab1 *
auto t2() -> Tab2 *
Wt::WTabWidget * tabWidget()
auto cancel() -> Wt::Signal<> &
Widget * addNew(Args &&...args)
Definition App.h:18