46 #include <Wt/WAbstractItemModel.h> 47 #include <Wt/WTableView.h> 49 #include <Wtx/Core/Core.h> 50 #include <Wtx/Util/Util.h> 52 #include "FieldDefLookupBase.h" 87 int Wtx::Dbo::FieldDefLookupBase::Provider::find_id(
const std::string & value )
92 std::string Wtx::Dbo::FieldDefLookupBase::Provider::get_string(
int id )
97 std::string Wtx::Dbo::FieldDefLookupBase::Provider::get_toolTip(
int id )
103 std::shared_ptr< Wt::WAbstractItemModel > Wtx::Dbo::FieldDefLookupBase::Provider::model
107 const std::string & filter
110 return std::shared_ptr< Wt::WAbstractItemModel >();
114 std::unique_ptr<Wt::WTableView> Wtx::Dbo::FieldDefLookupBase::Provider::getTableView(
int sid,
int tid,
const std::string & filter )
116 return std::make_unique< Wt::WTableView >();
FieldDefLookupBase(TableDef &td, const char *fn, int w=-1, int h=-1, Flags f=Flags::None, std::string lb="", std::string ph="", std::string inf="", std::string tt="", int ht=-1)
ctor
Flags
Field Definition Flags.