GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Gui
BillPay
BillPay/ToolBar.h
Go to the documentation of this file.
1
#line 2 "src/Gui/BillPay/ToolBar.h"
2
3
4
#ifndef __GUI_BILLPAY_TOOLBAR_H___
5
#define __GUI_BILLPAY_TOOLBAR_H___
6
7
#include <Wt/WTableView.h>
8
#include <Wt/WButtonGroup.h>
9
#include <Wt/WRadioButton.h>
10
11
#include "
Status.h
"
12
13
namespace
GCW
{
14
namespace
Gui {
15
namespace
BillPay {
16
17
/*!
18
** \brief Control Bar
19
**
20
** Control Bar with buttons
21
**
22
*/
23
class
ToolBar
24
:
public
Wt::WContainerWidget
25
{
26
public
:
27
28
ToolBar
();
29
30
/*!
31
** return the selected year
32
*/
33
auto
selectedYear
()
const
->
int
;
34
35
/*!
36
** return the text in the finder field
37
*/
38
auto
finderText
()
const
-> std::string ;
39
40
/*!
41
** Year Selector
42
*/
43
auto
yearSelector
()
const
->
Wt
::WComboBox *
44
{
45
return
m_year
;
46
}
47
48
/*!
49
** Refresh Button
50
*/
51
auto
refreshButton
()
const
->
Wt
::WPushButton *
52
{
53
return
m_refresh
;
54
}
55
56
/*!
57
** Add Button
58
*/
59
auto
addButton
()
const
->
Wt
::WPushButton *
60
{
61
return
m_add
;
62
}
63
64
/*!
65
** Edit Button
66
*/
67
auto
editButton
()
const
->
Wt
::WPushButton *
68
{
69
return
m_edit
;
70
}
71
72
/*!
73
** Import Button
74
*/
75
auto
importButton
()
const
->
Wt
::WPushButton *
76
{
77
return
m_import
;
78
}
79
80
/*!
81
** Export Button
82
*/
83
auto
exportButton
()
const
->
Wt
::WPushButton *
84
{
85
return
m_export
;
86
}
87
88
/*!
89
** Inactive Button
90
*/
91
auto
inactiveButton
()
const
->
Wt
::WCheckBox *
92
{
93
return
m_inactive
;
94
}
95
96
/*!
97
** Show Inactive
98
*/
99
auto
showInactive
()
const
->
bool
;
100
101
/*!
102
** Summary Button
103
*/
104
auto
summaryButton
()
const
->
Wt
::WCheckBox *
105
{
106
return
m_summary
;
107
}
108
109
/*!
110
** Show Summary
111
*/
112
auto
showSummary
()
const
->
bool
;
113
114
/*!
115
** Finder Input
116
*/
117
auto
finderInput
()
const
->
Wt
::WLineEdit *
118
{
119
return
m_finder
;
120
}
121
122
private
:
123
124
Wt::WPushButton
*
m_refresh
=
nullptr
;
125
Wt::WPushButton
*
m_add
=
nullptr
;
126
Wt::WPushButton
*
m_edit
=
nullptr
;
127
Wt::WPushButton
*
m_import
=
nullptr
;
128
Wt::WPushButton
*
m_export
=
nullptr
;
129
Wt::WComboBox
*
m_year
=
nullptr
;
130
Wt::WCheckBox
*
m_inactive
=
nullptr
;
131
Wt::WCheckBox
*
m_summary
=
nullptr
;
132
Wt::WLineEdit
*
m_finder
=
nullptr
;
133
134
};
// endclass ToolBar
135
136
}
// endnamespace BillPay {
137
}
// endnamespace Gui {
138
}
// endnamespace GCW {
139
140
#endif
// __GUI_BILLPAY_TOOLBAR_H___
141
142
Status.h
GCW::Gui::BillPay::ToolBar
Control Bar.
Definition
BillPay/ToolBar.h:25
GCW::Gui::BillPay::ToolBar::m_add
Wt::WPushButton * m_add
Definition
BillPay/ToolBar.h:125
GCW::Gui::BillPay::ToolBar::showInactive
auto showInactive() const -> bool
Definition
BillPay/ToolBar.cpp:107
GCW::Gui::BillPay::ToolBar::summaryButton
auto summaryButton() const -> Wt::WCheckBox *
Definition
BillPay/ToolBar.h:104
GCW::Gui::BillPay::ToolBar::importButton
auto importButton() const -> Wt::WPushButton *
Definition
BillPay/ToolBar.h:75
GCW::Gui::BillPay::ToolBar::showSummary
auto showSummary() const -> bool
Definition
BillPay/ToolBar.cpp:123
GCW::Gui::BillPay::ToolBar::m_import
Wt::WPushButton * m_import
Definition
BillPay/ToolBar.h:127
GCW::Gui::BillPay::ToolBar::m_edit
Wt::WPushButton * m_edit
Definition
BillPay/ToolBar.h:126
GCW::Gui::BillPay::ToolBar::exportButton
auto exportButton() const -> Wt::WPushButton *
Definition
BillPay/ToolBar.h:83
GCW::Gui::BillPay::ToolBar::m_summary
Wt::WCheckBox * m_summary
Definition
BillPay/ToolBar.h:131
GCW::Gui::BillPay::ToolBar::m_year
Wt::WComboBox * m_year
Definition
BillPay/ToolBar.h:129
GCW::Gui::BillPay::ToolBar::finderText
auto finderText() const -> std::string
Definition
BillPay/ToolBar.cpp:155
GCW::Gui::BillPay::ToolBar::selectedYear
auto selectedYear() const -> int
Definition
BillPay/ToolBar.cpp:139
GCW::Gui::BillPay::ToolBar::yearSelector
auto yearSelector() const -> Wt::WComboBox *
Definition
BillPay/ToolBar.h:43
GCW::Gui::BillPay::ToolBar::m_finder
Wt::WLineEdit * m_finder
Definition
BillPay/ToolBar.h:132
GCW::Gui::BillPay::ToolBar::finderInput
auto finderInput() const -> Wt::WLineEdit *
Definition
BillPay/ToolBar.h:117
GCW::Gui::BillPay::ToolBar::refreshButton
auto refreshButton() const -> Wt::WPushButton *
Definition
BillPay/ToolBar.h:51
GCW::Gui::BillPay::ToolBar::m_refresh
Wt::WPushButton * m_refresh
Definition
BillPay/ToolBar.h:124
GCW::Gui::BillPay::ToolBar::addButton
auto addButton() const -> Wt::WPushButton *
Definition
BillPay/ToolBar.h:59
GCW::Gui::BillPay::ToolBar::inactiveButton
auto inactiveButton() const -> Wt::WCheckBox *
Definition
BillPay/ToolBar.h:91
GCW::Gui::BillPay::ToolBar::ToolBar
ToolBar()
Definition
BillPay/ToolBar.cpp:13
GCW::Gui::BillPay::ToolBar::m_export
Wt::WPushButton * m_export
Definition
BillPay/ToolBar.h:128
GCW::Gui::BillPay::ToolBar::editButton
auto editButton() const -> Wt::WPushButton *
Definition
BillPay/ToolBar.h:67
GCW::Gui::BillPay::ToolBar::m_inactive
Wt::WCheckBox * m_inactive
Definition
BillPay/ToolBar.h:130
Wt::WCheckBox
Wt::WComboBox
Wt::WContainerWidget
Wt::WContainerWidget::addNew
Widget * addNew(Args &&...args)
Wt::WLineEdit
Wt::WPushButton
GCW
Definition
App.h:18
Wt
Generated on Sun Mar 8 2026 11:55:29 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8