GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
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
8namespace 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*/
22: public DelegateBase
23{
24 public:
25
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
auto createEditor(const Wt::WModelIndex &_index, Wt::WFlags< Wt::ViewItemRenderFlag > _flags) const -> std::unique_ptr< Wt::WWidget >
Definition App.h:18