GnuCashew ~ GnuCash Enabled Web
GCW
MainWidget.h
Go to the documentation of this file.
1 #line 2 "src/Gui/MainWidget.h"
2 
3 #ifndef __GUI_MAINWIDGET_H___
4 #define __GUI_MAINWIDGET_H___
5 
6 #include <Wt/WContainerWidget.h>
7 #include <Wt/WNavigationBar.h>
8 #include <Wt/WToolBar.h>
9 
10 #include "CentralWidget.h"
11 #include "MainMenu.h"
12 #include "ToolBar.h"
13 
14 namespace GCW {
15  namespace Gui {
16 
17 /*!
18 ** \brief Site Main Widget
19 **
20 ** This is the GnuCashew main site container. It contains
21 ** a top-line menu navigation bar, a push-button tool bar,
22 ** bottom-line status bar, and the main central workspace
23 ** area for the account tree view and other panes.
24 **
25 ** \image html MainWidget.png width=480
26 **
27 ** \ref see also; CentralWidget
28 **
29 */
31 : public Wt::WContainerWidget
32 {
33  public:
34 
35  MainWidget();
36 
37  auto navBar ()-> Wt::WNavigationBar * { return m_navBar ; }
38  auto toolBar ()-> Wt::WToolBar * { return m_toolBar ; }
39  auto statusBar ()-> Wt::WContainerWidget * { return m_statusBar ; }
40  auto centralWidget ()-> CentralWidget * { return m_centralWidget ; }
41 
42  auto load() -> void ;
43  auto open_customersOverview() -> void ;
44  auto open_properties() -> void ;
45  auto openSelectedAccount() -> void ;
46  auto test() -> void ;
47 
48  private:
49 
50  Wt::WNavigationBar * m_navBar = nullptr;
52  Wt::WToolBar * m_toolBar = nullptr;
53  Wt::WContainerWidget * m_statusBar = nullptr;
55 
56 }; // endclass MainWidget
57 
58  } // endnamespace Gui {
59 } // endnamespace GCW {
60 
61 #endif // #ifndef __MAINWIDGET_H___
62 
63 
Main GnuCashew Central Widget.
Definition: CentralWidget.h:31
Site Main Menu.
Definition: MainMenu.h:21
Site Main Widget.
Definition: MainWidget.h:32
Wt::WToolBar * m_toolBar
Definition: MainWidget.h:52
auto test() -> void
Definition: MainWidget.cpp:132
GCW::Gui::MainMenu * m_mainMenu
Definition: MainWidget.h:51
auto openSelectedAccount() -> void
Definition: MainWidget.cpp:117
auto open_properties() -> void
Definition: MainWidget.cpp:94
auto centralWidget() -> CentralWidget *
Definition: MainWidget.h:40
auto toolBar() -> Wt::WToolBar *
Definition: MainWidget.h:38
auto open_customersOverview() -> void
auto navBar() -> Wt::WNavigationBar *
Definition: MainWidget.h:37
auto statusBar() -> Wt::WContainerWidget *
Definition: MainWidget.h:39
CentralWidget * m_centralWidget
Definition: MainWidget.h:54
Wt::WContainerWidget * m_statusBar
Definition: MainWidget.h:53
Wt::WNavigationBar * m_navBar
Definition: MainWidget.h:50
auto load() -> void
Definition: MainWidget.cpp:38
Definition: App.h:17