GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Gui
Customer
Customer/ToolBar.h
Go to the documentation of this file.
1
#line 2 "src/Gui/Customer/ToolBar.h"
2
3
4
#ifndef __GUI_CUSTOMER_TOOLBAR_H___
5
#define __GUI_CUSTOMER_TOOLBAR_H___
6
7
#include <Wt/WButtonGroup.h>
8
#include <Wt/WRadioButton.h>
9
#include <Wt/WCheckBox.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
ToolBar
22
:
public
Wt::WContainerWidget
23
{
24
public
:
25
26
ToolBar
();
27
28
Wt::Signal<>
&
addClicked
() {
return
m_addClicked
; }
29
Wt::Signal<>
m_addClicked
;
30
31
// int selectedMonth() const;
32
33
// std::shared_ptr< Wt::WButtonGroup > buttonGroup () const { return m_group; }
34
auto
disabledButton
()
const
->
Wt
::WCheckBox * {
return
m_disabled
; }
35
auto
showDisabled
()
const
->
bool
;
36
37
auto
importClicked
()->
Wt
::Signal<> & {
return
m_importClicked
; }
38
auto
exportClicked
()->
Wt::Signal<>
& {
return
m_exportClicked
; }
39
40
private
:
41
42
// std::shared_ptr< Wt::WButtonGroup > m_group;
43
Wt::WCheckBox
*
m_disabled
=
nullptr
;
44
Wt::WCheckBox
*
m_summary
=
nullptr
;
45
46
Wt::Signal<>
m_importClicked
;
47
Wt::Signal<>
m_exportClicked
;
48
49
};
// endclass ToolBar
50
51
}
// endnamespace Customer {
52
}
// endnamespace Gui {
53
}
// endnamespace GCW {
54
55
#endif
// __GUI_CUSTOMER_TOOLBAR_H___
56
57
GCW::Gui::Customer::ToolBar
Control Bar.
Definition
Customer/ToolBar.h:23
GCW::Gui::Customer::ToolBar::m_exportClicked
Wt::Signal m_exportClicked
Definition
Customer/ToolBar.h:47
GCW::Gui::Customer::ToolBar::m_summary
Wt::WCheckBox * m_summary
Definition
Customer/ToolBar.h:44
GCW::Gui::Customer::ToolBar::disabledButton
auto disabledButton() const -> Wt::WCheckBox *
Definition
Customer/ToolBar.h:34
GCW::Gui::Customer::ToolBar::m_disabled
Wt::WCheckBox * m_disabled
Definition
Customer/ToolBar.h:43
GCW::Gui::Customer::ToolBar::exportClicked
auto exportClicked() -> Wt::Signal<> &
Definition
Customer/ToolBar.h:38
GCW::Gui::Customer::ToolBar::importClicked
auto importClicked() -> Wt::Signal<> &
Definition
Customer/ToolBar.h:37
GCW::Gui::Customer::ToolBar::m_importClicked
Wt::Signal m_importClicked
Definition
Customer/ToolBar.h:46
GCW::Gui::Customer::ToolBar::ToolBar
ToolBar()
Definition
Customer/ToolBar.cpp:11
GCW::Gui::Customer::ToolBar::addClicked
Wt::Signal & addClicked()
Definition
Customer/ToolBar.h:28
GCW::Gui::Customer::ToolBar::m_addClicked
Wt::Signal m_addClicked
Definition
Customer/ToolBar.h:29
GCW::Gui::Customer::ToolBar::showDisabled
auto showDisabled() const -> bool
Definition
Customer/ToolBar.cpp:99
Wt::Signal
Wt::WCheckBox
Wt::WContainerWidget
Wt::WContainerWidget::addNew
Widget * addNew(Args &&...args)
GCW
Definition
App.h:18
Wt
Generated on Sat Sep 13 2025 08:48:27 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8