Wt
4.9.2
|
Form delegate class for integer More...
#include <WFormDelegate.h>
Public Member Functions | |
WFormDelegate () | |
Create a form delegate. | |
std::unique_ptr< Wt::WWidget > | createFormWidget () override |
Create WLineEdit to be used in the View. | |
std::shared_ptr< Wt::WValidator > | createValidator () override |
Create WIntValidator for validation. | |
void | updateModelValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit) override |
Update the value in the Model. | |
void | updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit) override |
Update the value in the View. | |
![]() | |
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 bool | updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WWidget *edit) |
Updates a value in the View. More... | |
Form delegate class for integer
This will create a WLineEdit to display the integer value in the View. Additionally the delegate will also initialize the WIntValidator for validation.