Wtx ~ Wt Extension Library
WtxLib
|
Public Member Functions | |
TableLineEdit (int sid, std::shared_ptr< Wt::WAbstractItemModel >(*getModel)(int sid, int tid, const std::string &filter, Wtx::Dbo::Session &session), std::unique_ptr< Wt::WTableView >(*getTableView)(int sid, int tid, const std::string &filter, Wtx::Dbo::Session &session), Wtx::Dbo::Session &s) | |
int | find_id (const std::string &value) |
int | get_id (const std::string &value) |
std::string | get_string (int index) |
void | loadModel (int id, const std::string &filter) |
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 |
std::unique_ptr< Wt::WTableView >(* | m_getTableView )(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::Session & | m_session |
std::shared_ptr< Wt::WAbstractItemModel > | m_model = nullptr |
Definition at line 85 of file FieldDefLookupTable.cpp.