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

Public Member Functions

 SmartComboEdit (int sid, std::shared_ptr< Wt::WAbstractItemModel >(*getModel)(int sid, int tid, const std::string &filter, Wtx::Dbo::Session &session), Wtx::Dbo::Session &s)
 
int get_id (const std::string &value)
 
std::string get_string (int index)
 
void loadModel (int id)
 
void on_focussed ()
 
void on_changed ()
 
Wt::WString valueText () const
 
void setValueText (const Wt::WString &value)
 

Public Attributes

std::shared_ptr< Wt::WAbstractItemModel >(* m_getModel )(int sid, int tid, const std::string &filter, Wtx::Dbo::Session &session) = nullptr
 
bool m_loaded = false
 
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_model
 

Detailed Description

Definition at line 55 of file FieldDefLookupCombo.cpp.


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