GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Gui
AccountRegister
DelegateBalance.h
Go to the documentation of this file.
1
#line 2 "src/Gui/AccountRegister/DelegateBalance.h"
2
3
#ifndef __GUI_ACCOUNTREGISTER_DELEGATEBALANCE_H___
4
#define __GUI_ACCOUNTREGISTER_DELEGATEBALANCE_H___
5
6
#include "
DelegateBase.h
"
7
8
namespace
GCW
{
9
namespace
Gui {
10
namespace
AccountRegister {
11
class
Editor ;
12
13
/*
14
** Balance delegate works just like the ValueDelegate but
15
** also adds a read-only attribute to the input, so it
16
** displays the same, but cannot be edited. This is done
17
** so that the entire line is highlighted fully when
18
** selected.
19
**
20
*/
21
class
DelegateBalance
22
:
public
DelegateBase
23
{
24
public
:
25
26
DelegateBalance
();
27
~DelegateBalance
();
28
29
auto
createEditor
(
const
Wt::WModelIndex
& _index,
Wt::WFlags< Wt::ViewItemRenderFlag >
_flags )
const
-> std::unique_ptr< Wt::WWidget > ;
30
31
};
// endclass DelegateBalance
32
33
34
}
// endnamespace AccountRegister {
35
}
// endnamespace Gui {
36
}
// endnamespace GCW {
37
38
#endif
// __GUI_ACCOUNTREGISTER_DELEGATEBALANCE_H___
39
40
DelegateBase.h
GCW::Gui::AccountRegister::DelegateBalance
Definition
DelegateBalance.h:23
GCW::Gui::AccountRegister::DelegateBalance::~DelegateBalance
~DelegateBalance()
Definition
DelegateBalance.cpp:15
GCW::Gui::AccountRegister::DelegateBalance::createEditor
auto createEditor(const Wt::WModelIndex &_index, Wt::WFlags< Wt::ViewItemRenderFlag > _flags) const -> std::unique_ptr< Wt::WWidget >
Definition
DelegateBalance.cpp:22
GCW::Gui::AccountRegister::DelegateBalance::DelegateBalance
DelegateBalance()
Definition
DelegateBalance.cpp:9
GCW::Gui::AccountRegister::DelegateBase
Base Delegate.
Definition
DelegateBase.h:25
Wt::WFlags
Wt::WModelIndex
GCW
Definition
App.h:18
Generated on Sat Sep 13 2025 08:48:27 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8