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. | |
virtual void * | Produce () const |
Creates an instance of the specified widget. | |
virtual | ~PrefPageProducer () |
The PrefPageProducer class is a value-based template class that provides the ability to create preference pages dynamically.
Definition at line 132 of file WidgetFactory.h.
Gui::PrefPageProducer< CLASS >::PrefPageProducer | ( | const char * | group | ) | [inline] |
Register a special type of preference page to the WidgetFactoryInst.
Definition at line 138 of file WidgetFactory.h.
References Gui::Dialog::DlgPreferencesImp::addPage(), Base::Factory::AddProducer(), and Gui::WidgetFactoryInst::instance().
virtual Gui::PrefPageProducer< CLASS >::~PrefPageProducer | ( | ) | [inline, virtual] |
Definition at line 152 of file WidgetFactory.h.
virtual void* Gui::PrefPageProducer< CLASS >::Produce | ( | void | ) | const [inline, virtual] |
Creates an instance of the specified widget.
Implements Base::AbstractProducer.
Definition at line 157 of file WidgetFactory.h.