GnuCashew ~ GnuCash Enabled Web
GCW
Public Member Functions | Private Attributes | List of all members
GCW::Gui::MainWidget Class Reference

Site Main Widget. More...

#include <MainWidget.h>

Inherits Wt::WContainerWidget.

Public Member Functions

 MainWidget ()
 
auto navBar () -> Wt::WNavigationBar *
 
auto toolBar () -> Wt::WToolBar *
 
auto statusBar () -> Wt::WContainerWidget *
 
auto centralWidget () -> CentralWidget *
 
auto load () -> void
 
auto open_customersOverview () -> void
 
auto open_properties () -> void
 
auto openSelectedAccount () -> void
 
auto test () -> void
 

Private Attributes

Wt::WNavigationBar * m_navBar = nullptr
 
GCW::Gui::MainMenum_mainMenu = nullptr
 
Wt::WToolBar * m_toolBar = nullptr
 
Wt::WContainerWidget * m_statusBar = nullptr
 
CentralWidgetm_centralWidget = nullptr
 

Detailed Description

Site Main Widget.

This is the GnuCashew main site container. It contains a top-line menu navigation bar, a push-button tool bar, bottom-line status bar, and the main central workspace area for the account tree view and other panes.

see also; CentralWidget

Definition at line 30 of file MainWidget.h.

Constructor & Destructor Documentation

◆ MainWidget()

GCW::Gui::MainWidget::MainWidget ( )

Definition at line 15 of file MainWidget.cpp.

References m_centralWidget, m_navBar, m_statusBar, and m_toolBar.

Member Function Documentation

◆ centralWidget()

auto GCW::Gui::MainWidget::centralWidget ( ) -> CentralWidget *
inline

Definition at line 40 of file MainWidget.h.

References m_centralWidget.

◆ load()

auto GCW::Gui::MainWidget::load ( ) -> void

Definition at line 37 of file MainWidget.cpp.

References GCW::Dbo::Accounts::load(), TR, and TR8.

◆ navBar()

auto GCW::Gui::MainWidget::navBar ( ) -> Wt::WNavigationBar *
inline

Definition at line 37 of file MainWidget.h.

References m_navBar.

◆ open_customersOverview()

auto GCW::Gui::MainWidget::open_customersOverview ( ) -> void

◆ open_properties()

auto GCW::Gui::MainWidget::open_properties ( ) -> void

Definition at line 93 of file MainWidget.cpp.

References GCW::app(), and TR.

Referenced by GCW::Gui::MainMenu::MainMenu().

◆ openSelectedAccount()

auto GCW::Gui::MainWidget::openSelectedAccount ( ) -> void

Definition at line 116 of file MainWidget.cpp.

Referenced by GCW::Gui::MainMenu::MainMenu().

◆ statusBar()

auto GCW::Gui::MainWidget::statusBar ( ) -> Wt::WContainerWidget *
inline

Definition at line 39 of file MainWidget.h.

References m_statusBar.

◆ test()

auto GCW::Gui::MainWidget::test ( ) -> void

Definition at line 131 of file MainWidget.cpp.

References test_gnucash().

◆ toolBar()

auto GCW::Gui::MainWidget::toolBar ( ) -> Wt::WToolBar *
inline

Definition at line 38 of file MainWidget.h.

References m_toolBar.

Member Data Documentation

◆ m_centralWidget

CentralWidget* GCW::Gui::MainWidget::m_centralWidget = nullptr
private

Definition at line 54 of file MainWidget.h.

Referenced by centralWidget(), and MainWidget().

◆ m_mainMenu

GCW::Gui::MainMenu* GCW::Gui::MainWidget::m_mainMenu = nullptr
private

Definition at line 51 of file MainWidget.h.

◆ m_navBar

Wt::WNavigationBar* GCW::Gui::MainWidget::m_navBar = nullptr
private

Definition at line 50 of file MainWidget.h.

Referenced by MainWidget(), and navBar().

◆ m_statusBar

Wt::WContainerWidget* GCW::Gui::MainWidget::m_statusBar = nullptr
private

Definition at line 53 of file MainWidget.h.

Referenced by MainWidget(), and statusBar().

◆ m_toolBar

Wt::WToolBar* GCW::Gui::MainWidget::m_toolBar = nullptr
private

Definition at line 52 of file MainWidget.h.

Referenced by MainWidget(), and toolBar().


The documentation for this class was generated from the following files: