GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
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
13namespace GCW {
14 namespace Gui {
15 namespace BillPay {
16
17/*!
18** \brief Control Bar
19**
20** Control Bar with buttons
21**
22*/
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
147
148}; // endclass ToolBar
149
150 } // endnamespace BillPay {
151 } // endnamespace Gui {
152} // endnamespace GCW {
153
154#endif // __GUI_BILLPAY_TOOLBAR_H___
155
156
auto showInactive() const -> bool
auto summaryButton() const -> Wt::WCheckBox *
auto importButton() const -> Wt::WPushButton *
auto showSummary() const -> bool
auto showSummaryDetail() const -> bool
auto summaryDetailButton() const -> Wt::WCheckBox *
auto exportButton() const -> Wt::WPushButton *
auto finderText() const -> std::string
auto selectedYear() const -> int
auto yearSelector() const -> Wt::WComboBox *
auto finderInput() const -> Wt::WLineEdit *
auto refreshButton() const -> Wt::WPushButton *
auto addButton() const -> Wt::WPushButton *
auto inactiveButton() const -> Wt::WCheckBox *
auto editButton() const -> Wt::WPushButton *
Widget * addNew(Args &&...args)
Definition App.h:18