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
** Summary Button
111
*/
112
auto
summaryDetailButton
()
const
->
Wt
::WCheckBox *
113
{
114
return
m_summaryDetail
;
115
}
116
117
/*!
118
** Show Summary
119
*/
120
auto
showSummary
()
const
->
bool
;
121
122
/*!
123
** Show Summary Detail
124
*/
125
auto
showSummaryDetail
()
const
->
bool
;
126
127
/*!
128
** Finder Input
129
*/
130
auto
finderInput
()
const
->
Wt
::WLineEdit *
131
{
132
return
m_finder
;
133
}
134
135
private
:
136
137
Wt::WPushButton
*
m_refresh
=
nullptr
;
138
Wt::WPushButton
*
m_add
=
nullptr
;
139
Wt::WPushButton
*
m_edit
=
nullptr
;
140
Wt::WPushButton
*
m_import
=
nullptr
;
141
Wt::WPushButton
*
m_export
=
nullptr
;
142
Wt::WComboBox
*
m_year
=
nullptr
;
143
Wt::WCheckBox
*
m_inactive
=
nullptr
;
144
Wt::WCheckBox
*
m_summary
=
nullptr
;
145
Wt::WCheckBox
*
m_summaryDetail
=
nullptr
;
146
Wt::WLineEdit
*
m_finder
=
nullptr
;
147
148
};
// endclass ToolBar
149
150
}
// endnamespace BillPay {
151
}
// endnamespace Gui {
152
}
// endnamespace GCW {
153
154
#endif
// __GUI_BILLPAY_TOOLBAR_H___
155
156
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:138
GCW::Gui::BillPay::ToolBar::showInactive
auto showInactive() const -> bool
Definition
BillPay/ToolBar.cpp:120
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:136
GCW::Gui::BillPay::ToolBar::showSummaryDetail
auto showSummaryDetail() const -> bool
Definition
BillPay/ToolBar.cpp:152
GCW::Gui::BillPay::ToolBar::m_import
Wt::WPushButton * m_import
Definition
BillPay/ToolBar.h:140
GCW::Gui::BillPay::ToolBar::m_edit
Wt::WPushButton * m_edit
Definition
BillPay/ToolBar.h:139
GCW::Gui::BillPay::ToolBar::summaryDetailButton
auto summaryDetailButton() const -> Wt::WCheckBox *
Definition
BillPay/ToolBar.h:112
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:144
GCW::Gui::BillPay::ToolBar::m_year
Wt::WComboBox * m_year
Definition
BillPay/ToolBar.h:142
GCW::Gui::BillPay::ToolBar::finderText
auto finderText() const -> std::string
Definition
BillPay/ToolBar.cpp:184
GCW::Gui::BillPay::ToolBar::selectedYear
auto selectedYear() const -> int
Definition
BillPay/ToolBar.cpp:168
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:146
GCW::Gui::BillPay::ToolBar::finderInput
auto finderInput() const -> Wt::WLineEdit *
Definition
BillPay/ToolBar.h:130
GCW::Gui::BillPay::ToolBar::refreshButton
auto refreshButton() const -> Wt::WPushButton *
Definition
BillPay/ToolBar.h:51
GCW::Gui::BillPay::ToolBar::m_summaryDetail
Wt::WCheckBox * m_summaryDetail
Definition
BillPay/ToolBar.h:145
GCW::Gui::BillPay::ToolBar::m_refresh
Wt::WPushButton * m_refresh
Definition
BillPay/ToolBar.h:137
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:141
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:143
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 Wed May 20 2026 16:47:50 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8