GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
|
#include <DelegateReconcile.h>
Public Member Functions | |
DelegateReconcile () | |
Reconcile Delegate. | |
~DelegateReconcile () | |
virtual auto | createEditor (const Wt::WModelIndex &_index, Wt::WFlags< Wt::ViewItemRenderFlag > _flags) const -> std::unique_ptr< Wt::WWidget > |
virtual auto | editState (Wt::WWidget *_editor, const Wt::WModelIndex &_index) const -> Wt::cpp17::any override |
virtual auto | setEditState (Wt::WWidget *_editor, const Wt::WModelIndex &_index, const Wt::cpp17::any &_value) const -> void |
virtual auto | setModelData (const Wt::cpp17::any &_editState, Wt::WAbstractItemModel *_model, const Wt::WModelIndex &_index) const -> void |
virtual auto | doCloseEditor (Wt::WLineEdit *_editor, bool _save) const -> void |
virtual auto | doTabAction (Wt::WKeyEvent _keyEvent) const -> void |
![]() | |
DelegateBase () | |
Base Delegate. | |
~DelegateBase () | |
virtual auto | update (Wt::WWidget *_widget, const Wt::WModelIndex &_index, Wt::WFlags< Wt::ViewItemRenderFlag > _flags) -> std::unique_ptr< Wt::WWidget > |
virtual auto | updateModelIndex (Wt::WWidget *_widget, const Wt::WModelIndex &_index) -> void |
virtual auto | validate (const Wt::WModelIndex &_index, const Wt::cpp17::any &_editState) const -> Wt::ValidationState |
![]() | |
WItemDelegate () | |
void | setTextFormat (const WString &format) |
const WString & | textFormat () const |
virtual void | setModelData (const cpp17::any &editState, WAbstractItemModel *model, const WModelIndex &index) const override |
virtual void | setEditState (WWidget *editor, const WModelIndex &index, const cpp17::any &value) const override |
![]() | |
WAbstractItemDelegate () | |
virtual | ~WAbstractItemDelegate () |
virtual ValidationState | validate (const WModelIndex &index, const cpp17::any &editState) const |
Signal< WWidget *, bool > & | closeEditor () |
const Signal< WWidget *, bool > & | closeEditor () const |
![]() | |
void | addChild (std::unique_ptr< WObject > child) |
Child * | addChild (std::unique_ptr< Child > child) |
std::unique_ptr< WObject > | removeChild (WObject *child) |
std::unique_ptr< Child > | removeChild (Child *child) |
virtual const std::string | id () const |
virtual void | setObjectName (const std::string &name) |
virtual std::string | objectName () const |
void | resetLearnedSlots () |
void | resetLearnedSlot (void(T::*method)()) |
WStatelessSlot * | implementStateless (void(T::*method)()) |
WStatelessSlot * | implementStateless (void(T::*method)(), void(T::*undoMethod)()) |
void | isNotStateless () |
WStatelessSlot * | implementJavaScript (void(T::*method)(), const std::string &jsCode) |
![]() | |
observable () noexcept | |
virtual | ~observable () |
auto | bindSafe (void(C::*method)(Args...)) noexcept |
auto | bindSafe (void(C::*method)(Args...) const) const noexcept |
auto | bindSafe (const Function &function) noexcept |
Additional Inherited Members | |
![]() | |
typedef void(WObject::* | Method) () |
![]() | |
virtual WStatelessSlot * | getStateless (Method method) |
Definition at line 15 of file DelegateReconcile.h.
GCW::Gui::AccountRegister::DelegateReconcile::DelegateReconcile | ( | ) |
Reconcile Delegate.
This delegate will present a WText field for the reconciliation editor, and will activate that WText with click() response which will handle the 'edit' portion of this delegate.
Definition at line 10 of file DelegateReconcile.cpp.
GCW::Gui::AccountRegister::DelegateReconcile::~DelegateReconcile | ( | ) |
Definition at line 16 of file DelegateReconcile.cpp.
|
virtual |
Reimplemented from GCW::Gui::AccountRegister::DelegateBase.
Definition at line 23 of file DelegateReconcile.cpp.
References Wt::asString(), and Wt::ItemDataRole::Edit.
|
virtual |
Definition at line 94 of file DelegateReconcile.cpp.
|
virtual |
Definition at line 112 of file DelegateReconcile.cpp.
|
overridevirtual |
Reimplemented from GCW::Gui::AccountRegister::DelegateBase.
Definition at line 122 of file DelegateReconcile.cpp.
|
virtual |
Reimplemented from GCW::Gui::AccountRegister::DelegateBase.
Definition at line 148 of file DelegateReconcile.cpp.
References Wt::asString().
|
virtual |
Reimplemented from GCW::Gui::AccountRegister::DelegateBase.
Definition at line 168 of file DelegateReconcile.cpp.
References Wt::asString(), and GCW::Gui::AccountRegister::DelegateBase::setModelData().