Wtx ~ Wt Extension Library
WtxLib
|
Lookup Item Delegate. More...
#include <LookupItemDelegate.h>
Public Types | |
enum | Options { NoOptions, NoCfy } |
Public Member Functions | |
LookupItemDelegate (Options options, Wtx::Dbo::Session *s) | |
virtual std::unique_ptr< Wt::WWidget > | update (Wt::WWidget *widget, const Wt::WModelIndex &index, Wt::WFlags< Wt::ViewItemRenderFlag > flags) |
Wtx::Dbo::Session * | session () |
Static Public Member Functions | |
static Wt::WItemDelegate * | create (Wtx::Dbo::Session *s) |
static Wt::WItemDelegate * | create_nocfy (Wtx::Dbo::Session *s) |
Public Attributes | |
Options | m_options = NoOptions |
Wtx::Dbo::Session * | m_session |
Lookup Item Delegate.
This class can be used in table-views so a lookup-value can show the target lookup.
Definition at line 24 of file LookupItemDelegate.h.