The PrefPageProducer class is a value-based template class that provides the ability to create preference pages dynamically. More...
#include <WidgetFactory.h>
Public Member Functions | |
| PrefPageProducer (const char *group) | |
| Register a special type of preference page to the WidgetFactoryInst. More... | |
| virtual void * | Produce () const |
| Creates an instance of the specified widget. More... | |
| virtual | ~PrefPageProducer () |
Public Member Functions inherited from Base::AbstractProducer | |
| AbstractProducer () | |
| virtual void * | Produce () const =0 |
| overwritten by a concrete producer to produce the needed object More... | |
| virtual | ~AbstractProducer () |
The PrefPageProducer class is a value-based template class that provides the ability to create preference pages dynamically.
| Gui::PrefPageProducer< CLASS >::PrefPageProducer | ( | const char * | group | ) |
Register a special type of preference page to the WidgetFactoryInst.
References Gui::Dialog::DlgPreferencesImp::addPage(), Base::Factory::AddProducer(), and Gui::WidgetFactoryInst::instance().
|
virtual |
|
virtual |
Creates an instance of the specified widget.
Implements Base::AbstractProducer.