Wtx ~ Wt Extension Library
WtxLib
Classes | Public Member Functions | Public Attributes | List of all members
Wtx::Dbo::TableViewManager< C, D > Class Template Reference

Dbo Table View. More...

#include <TableViewManager.h>

+ Inheritance diagram for Wtx::Dbo::TableViewManager< C, D >:

Classes

class  FooterWidget
 
class  PrevNextWidget
 
class  SearchWidget
 

Public Member Functions

 TableViewManager (Wtx::Dbo::Session *s)
 
 TableViewManager (const std::string &viewDefName, Wtx::Dbo::Session *s)
 
 TableViewManager (const Wtx::TableViewDef::ViewDef &viewDef, Wtx::Dbo::Session *s)
 
 TableViewManager (const std::string &viewDefName, const Wtx::TableViewDef::ViewDef &viewDef, Wtx::Dbo::Session *s)
 
Wtx::Dbo::TableView< C > * tableView ()
 
const std::string & filter () const
 
Wtx::Dbo::Sessionsession () const
 
Wt::WVBoxLayout * lw () const
 
SearchWidgetsearchWidget () const
 
Wtx::Dbo::TableView< C > * tableView () const
 
void updateFooter ()
 
Wt::WContainerWidget * toolBar ()
 
Wt::WContainerWidget * buttonBar ()
 
Wt::Signal< typename C::Ptr > & addClicked ()
 Add.
 
Wt::Signal< typename C::Ptr > & deleteClicked ()
 
Wt::Signal< typename C::Ptr > & itemClicked ()
 
Wt::Signal< typename C::Ptr > & doubleClicked ()
 
Wt::Signal< typename C::Ptr > & editClicked ()
 
Wt::Signal< typename C::Ptr > & itemSaved ()
 
Wt::Signal< std::string > & exportClicked ()
 
Wt::Signal< std::string > & printClicked ()
 
Wt::Signal< std::string > & additionalClicked ()
 
std::unique_ptr< D > makeDetail (typename C::Ptr item)
 
D * openDetail (Wt::WModelIndex index)
 
D * openDetail (typename C::Ptr item)
 
bool doSave (D *detail)
 
void doClose (D *detail)
 
void setReadOnly (bool value)
 
Wt::WTemplate * buttonTemplt ()
 
void setDialogSize (Wt::WLength width, Wt::WLength height)
 

Public Attributes

bool m_openDetail = true
 
Wt::WPushButton * m_pbAdd = nullptr
 
Wt::WPushButton * m_pbEdit = nullptr
 
Wt::WPushButton * m_pbDelete = nullptr
 
Wt::WPushButton * m_pbPrint = nullptr
 
Wt::WPushButton * m_pbExport = nullptr
 

Detailed Description

template<class C, class D>
class Wtx::Dbo::TableViewManager< C, D >

Dbo Table View.

Definition at line 64 of file TableViewManager.h.


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