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{
51
52 class Tab2
54 {
55 public:
56
57 Tab2();
58
59 auto loadData( const std::string & _accountGuid )-> void ;
60 auto saveData( const std::string & _accountGuid )-> void ;
61
62 }; // endclass Tab2
63
64 public:
65
67
69
70 auto tab1()-> Tab1 * { return m_tab1; }
71 auto tab2()-> Tab2 * { return m_tab2; }
72
73 auto loadData( const std::string & _accountGuid )-> void ;
74 auto saveData( const std::string & _accountGuid )-> void ;
75
76 auto isDirty () const-> bool ;
77 auto save () -> Wt::Signal<> & { return m_save; }
78 auto cancel () -> Wt::Signal<> & { return m_cancel; }
79
80 private:
81
82 auto do_help ()-> void ;
83 auto do_cancel ()-> void ;
84 auto do_ok ()-> void ;
85
86 std::string m_accountGuid ;
93
94}; // endclass AccountEditor
95
97: public Wt::WDialog
98{
99 public:
100
101 AccountEditorDialog( const std::string & _accountGuid );
102
103 private:
104
105}; // endclass AccountEditorDialog
106
107 } //endnamespace Gui {
108} // endnamespace GCW {
109
110#endif // end __GUI_ACCOUNTSWIDGET_H___
111
112
113
auto loadData(const std::string &_accountGuid) -> void
auto saveData(const std::string &_accountGuid) -> void
auto loadData(const std::string &_accountGuid) -> void
auto saveData(const std::string &_accountGuid) -> void
auto save() -> Wt::Signal<> &
Wt::WTabWidget * m_tabWidget
auto isDirty() const -> bool
auto saveData(const std::string &_accountGuid) -> void
Wt::WTabWidget * tabWidget()
auto loadData(const std::string &_accountGuid) -> void
auto cancel() -> Wt::Signal<> &
auto tab1() -> Tab1 *
auto tab2() -> Tab2 *
Widget * addNew(Args &&...args)
Definition App.h:18