Wt  4.8.0
Public Member Functions | List of all members
Wt::Form::WFormDelegate< Wt::WDateTime, void > Class Template Reference

Form delegate class for WDateTime More...

#include <WFormDelegate.h>

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

Public Member Functions

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

Detailed Description

template<>
class Wt::Form::WFormDelegate< Wt::WDateTime, void >

Form delegate class for WDateTime

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

In the future this implementation will change to return a dedicated widget for WDateTime objects.


Generated on Fri Jul 8 2022 for the C++ Web Toolkit (Wt) by doxygen 1.8.13