Wt  4.10.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Wt::Form::WFormDelegate< Wt::WString, void > Class Reference

Form delegate class for WString More...

#include <WFormDelegate.h>

Inheritance diagram for Wt::Form::WFormDelegate< Wt::WString, void >:
[legend]

Public Member Functions

std::unique_ptr< Wt::WWidgetcreateFormWidget () override
 Create WLineEdit to be used in the View.
 
- Public Member Functions inherited from Wt::Form::WAbstractFormDelegate
 WAbstractFormDelegate ()
 Constructor.
 
virtual ~WAbstractFormDelegate ()
 Destructor.
 
virtual std::unique_ptr< Wt::WWidgetcreateFormWidget ()=0
 Create the widget to be used in the View.
 
virtual std::shared_ptr< Wt::WValidatorcreateValidator ()
 Create the validator to be used by the Model.
 
virtual void updateModelValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit)
 Updates a value in the Model.
 
virtual bool updateModelValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WWidget *edit)
 Updates a value in the Model.
 
virtual void updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit)
 Updates a value in the View.
 
virtual bool updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WWidget *edit)
 Updates a value in the View.
 

Detailed Description

Form delegate class for WString

This will create a WLineEdit to display the WString value in the View