Wtx ~ Wt Extension Library
WtxLib
|
Public Member Functions | |
Detail (Wt::Dbo::ptr< Wtx::Sys::Log::Item > &item) | |
Public Member Functions inherited from Wtx::Dbo::DetailForm< Wtx::Sys::Log::Item > | |
DetailForm (const std::string &tn) | |
DetailForm (const std::string &tn, Wt::Dbo::ptr< Wtx::Sys::Log::Item > &item) | |
const std::string & | templateName () const |
virtual bool | allowChange () const |
Allow Change. | |
virtual bool | allowDelete () const |
Allow Delete. | |
virtual bool | allowPrint () const |
Allow Print. | |
virtual bool | allowUnlock () const |
Allow Unlock. | |
virtual bool | beforeUpdate () |
before update stub More... | |
virtual bool | afterUpdate () |
after update stub More... | |
virtual bool | beforeAccept () |
before accept stub More... | |
virtual bool | afterAccept () |
after accept stub More... | |
virtual bool | refreshTableOnSave () |
refresh underlying table on save More... | |
virtual bool | onDelete () |
when the delete button is pushed | |
virtual bool | onPrint () |
when the print button is pushed | |
virtual bool | onUnlock () |
when the unlock button is pushed | |
virtual std::string | additional () |
virtual bool | onAdditional (const std::string &buttonText) |
virtual void | popupMessage (const std::string &message) |
virtual Wtx::MessageBox * | messageBox (const std::string &message) |
void | save () |
void | close () |
void | deleteItem (bool noask=true) |
void | refresh () |
Wt::Signal & | doSave () |
Wt::Signal & | doClose () |
Wt::Signal< bool > & | doDeleteItem () |
Wt::Signal & | doRefresh () |
Public Member Functions inherited from Wtx::Dbo::TemplateFormView< Wtx::Sys::Log::Item > | |
TemplateFormView (const Wt::WString &text) | |
TemplateFormView (const Wt::WString &text, std::unique_ptr< Wtx::Dbo::FormModel< Wtx::Sys::Log::Item > > model) | |
Constructor with Model. | |
Wtx::Dbo::FormModel< Wtx::Sys::Log::Item > * | formModel () const |
Internal Form Model. More... | |
Wtx::Dbo::FormModel< Wtx::Sys::Log::Item > * | formModel (Wt::WFormModel *model) |
void | setFormModel (std::unique_ptr< Wtx::Dbo::FormModel< Wtx::Sys::Log::Item > > model) |
Wtx::Dbo::FieldDefBase * | fieldDef (Wt::WFormModel *model, Wt::WFormModel::Field field) |
virtual void | on_focussed (FormWidgetWrapper *fww) |
Focussed Stub. More... | |
virtual void | on_blurred (FormWidgetWrapper *fww) |
Blurred Stub. More... | |
virtual void | on_clicked (FormWidgetWrapper *fww) |
Clicked Stub. | |
std::unique_ptr< Wt::WWidget > | createFormWidget (Wt::WFormModel::Field field) |
void | resetEditWidgetChangedFlags () |
std::unique_ptr< Wt::WWidget > | createEditWidget (Wt::WFormModel::Field field) |
virtual void | updateView () |
virtual void | updateView (Wt::WFormModel *model) |
Update a View from a Model. More... | |
virtual void | updateViewField (Wt::WFormModel *model, Wt::WFormModel::Field field) |
virtual void | updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit) |
virtual bool | updateViewValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WWidget *edit) |
virtual void | updateModel () |
virtual void | updateModel (Wt::WFormModel *model) |
virtual void | updateModelField (Wt::WFormModel *model, Wt::WFormModel::Field field) |
virtual void | updateModelValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WFormWidget *edit) |
virtual bool | updateModelValue (Wt::WFormModel *model, Wt::WFormModel::Field field, Wt::WWidget *edit) |
virtual void | bindString (const std::string &varName, const Wt::WString &value, Wt::TextFormat textFormat=Wt::TextFormat::XHTML) |
virtual void | bindWidget (const std::string &varName, std::unique_ptr< Wt::WWidget > widget) |
virtual std::unique_ptr< Wt::WWidget > | removeWidget (Wt::WWidget *widget) override |
virtual bool | conditionValue (const std::string &name) const |
virtual void | resolveString (const std::string &varName, const std::vector< Wt::WString > &args, std::ostream &result) |
virtual void | handleUnresolvedVariable (const std::string &varName, const std::vector< Wt::WString > &args, std::ostream &result) |
virtual WWidget * | resolveWidget (const std::string &varName) |
virtual bool | resolveFunction (const std::string &name, const std::vector< Wt::WString > &args, std::ostream &result) |
virtual void | renderTemplate (std::ostream &result) |
std::vector< std::unique_ptr< FormWidgetWrapper > > & | formWidgetWrappers () |
Widget Wrapper Collection. | |
FormWidgetWrapper * | formWidgetWrapper (Wtx::Dbo::FieldDefBase &fieldDef) |
Get Form Widget Wrapper. More... | |
FormWidgetWrapper * | formWidgetWrapper (const std::string &fieldName) |
Wt::WFormWidget * | formWidget (Wtx::Dbo::FieldDefBase &fieldDef) |
Get Form Widget Wrapper. More... | |
Public Member Functions inherited from Wtx::TemplateFormView | |
TemplateFormView (const Wt::WString &text) | |
std::unique_ptr< Wt::WWidget > | createFormWidget (Wt::WFormModel::Field f) |
Create Form Widget. More... | |
std::unique_ptr< Wt::WWidget > | createEditWidget (Wt::WFormModel::Field f) |
Create Edit Widget. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Wtx::TemplateFormView | |
void | show (const std::string &functionName, const std::string &varName, const std::vector< Wt::WString > &args=std::vector< Wt::WString >()) |
Protected Attributes inherited from Wtx::Dbo::DetailForm< Wtx::Sys::Log::Item > | |
Wt::Signal | m_doSave |
Wt::Signal | m_doClose |
Wt::Signal< bool > | m_doDeleteItem |
Wt::Signal | m_doRefresh |
Definition at line 18 of file ManagerWidget.cpp.