The PrefPageUiProducer class provides the ability to create preference pages dynamically from an external UI file. More...
#include <WidgetFactory.h>
Public Member Functions | |
PrefPageUiProducer (const char *filename, 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 | ~PrefPageUiProducer () |
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 PrefPageUiProducer class provides the ability to create preference pages dynamically from an external UI file.
PrefPageUiProducer::PrefPageUiProducer | ( | const char * | filename, |
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.