Wtx ~ Wt Extension Library
WtxLib
Classes | Public Member Functions | Public Attributes | List of all members
DetailForm< C > Class Template Reference
+ Inheritance diagram for DetailForm< C >:

Classes

struct  AttachmentEditor
 
struct  RecipientEditor
 

Public Member Functions

 DetailForm (const std::string &templateName, Wt::Dbo::ptr< C > &item)
 
void do_send ()
 
void do_save ()
 
void do_discard ()
 
void do_attach ()
 
void setMessage (const Wtx::Mail::Message &message)
 
RecipientEditoraddRecipientEditor ()
 
void addAttachmentEditor ()
 
void loadMessage ()
 
- Public Member Functions inherited from Wtx::Dbo::TemplateFormView< C >
 TemplateFormView (const Wt::WString &text)
 
 TemplateFormView (const Wt::WString &text, std::unique_ptr< Wtx::Dbo::FormModel< C > > model)
 Constructor with Model.
 
Wtx::Dbo::FormModel< C > * formModel () const
 Internal Form Model. More...
 
void setFormModel (std::unique_ptr< Wtx::Dbo::FormModel< C > > model)
 
Wtx::Dbo::FormModel< C > * formModel (Wt::WFormModel *model)
 
Wtx::Dbo::FieldDefBasefieldDef (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 refresh () override
 
virtual void renderTemplate (std::ostream &result)
 
std::vector< std::unique_ptr< FormWidgetWrapper > > & formWidgetWrappers ()
 Widget Wrapper Collection.
 
FormWidgetWrapperformWidgetWrapper (Wtx::Dbo::FieldDefBase &fieldDef)
 Get Form Widget Wrapper. More...
 
FormWidgetWrapperformWidgetWrapper (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...
 

Public Attributes

Wt::WLineEdit * m_fromEdit
 
Wt::WLineEdit * m_subjectEdit
 
std::vector< RecipientEditorm_recipientEditors
 
std::vector< AttachmentEditorm_attachmentEditors
 
Wtx::Mail::Message m_message
 
Wt::WTable * m_table
 
Wt::WTextArea * m_body
 
Wt::Signal m_send
 
Wt::Signal m_discard
 

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 >())
 

Detailed Description

template<class C>
class DetailForm< C >

Definition at line 40 of file ManagerWidget.cpp.


The documentation for this class was generated from the following files: