Wt  4.9.1
Public Member Functions | List of all members
Wt::Form::WFormDelegate< Wt::WTime, void > Class Reference

Form delegate class for WTime More...

#include <WFormDelegate.h>

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

Public Member Functions

 WFormDelegate ()
 Create a form delegate.
 
std::unique_ptr< Wt::WWidgetcreateFormWidget () override
 Create WTimeEdit to be used in the View.
 
std::shared_ptr< Wt::WValidatorcreateValidator () override
 Create WTimeValidator.
 
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 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

Form delegate class for WTime

This will create a WTimeEdit to display the WTime value in the View