Wtx ~ Wt Extension Library
WtxLib
Public Member Functions | Public Attributes | List of all members
SmartLineEdit Class Reference
+ Inheritance diagram for SmartLineEdit:

Public Member Functions

 SmartLineEdit (const Wtx::Dbo::FieldDefBase &fieldDef)
 
 SmartLineEdit (const Wtx::Dbo::FieldDefBase &fieldDef, const Wt::WString &content)
 
 SmartLineEdit (const Wtx::Dbo::FieldDefBase &fieldDef)
 
 SmartLineEdit (const Wtx::Dbo::FieldDefBase &fieldDef, const Wt::WString &content)
 
void setEdit ()
 
 SmartLineEdit (int sid, std::shared_ptr< Wt::WAbstractItemModel >(*getModel)(int sid, int tid, const std::string &filter, Wtx::Dbo::Session &session), Wtx::Dbo::Session &s)
 
void setPopup ()
 
int get_id (const std::string &value)
 
std::string get_string (int index)
 
void on_textInput ()
 
void on_changed ()
 
Wt::WString valueText () const
 
void setValueText (const Wt::WString &value)
 

Public Attributes

std::string m_field
 
std::string m_table
 
int m_sourceID = -1
 
int m_targetID = -1
 
std::string m_valueText
 
Wtx::Dbo::Sessionm_session
 
std::shared_ptr< Wt::WAbstractItemModel >(* m_getModel )(int sid, int tid, const std::string &filter, Wtx::Dbo::Session &session) = nullptr
 
std::shared_ptr< Wt::WAbstractItemModel > m_model = nullptr
 
Wt::WSuggestionPopup * m_popup = nullptr
 

Detailed Description

Definition at line 76 of file FieldDefDateTimeEdit.cpp.


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