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. | |
virtual void * | Produce () const |
Creates an instance of the specified widget. | |
virtual | ~PrefPageUiProducer () |
The PrefPageUiProducer class provides the ability to create preference pages dynamically from an external UI file.
Definition at line 168 of file WidgetFactory.h.
PrefPageUiProducer::PrefPageUiProducer | ( | const char * | filename, | |
const char * | group | |||
) |
Register a special type of preference page to the WidgetFactoryInst.
Definition at line 217 of file WidgetFactory.cpp.
References Gui::Dialog::DlgPreferencesImp::addPage(), Base::Factory::AddProducer(), and Gui::WidgetFactoryInst::instance().
PrefPageUiProducer::~PrefPageUiProducer | ( | ) | [virtual] |
Definition at line 224 of file WidgetFactory.cpp.
void * PrefPageUiProducer::Produce | ( | void | ) | const [virtual] |
Creates an instance of the specified widget.
Implements Base::AbstractProducer.
Definition at line 228 of file WidgetFactory.cpp.
References StartPage::StartPage::page.