Wtx ~ Wt Extension Library
WtxLib
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Wtx::Dbo::LookupItemDelegate< C > Class Template Reference

Lookup Item Delegate. More...

#include <LookupItemDelegate.h>

+ Inheritance diagram for Wtx::Dbo::LookupItemDelegate< C >:

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::Sessionsession ()
 

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::Sessionm_session
 

Detailed Description

template<class C>
class Wtx::Dbo::LookupItemDelegate< C >

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.


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