Gui::PrefPageUiProducer Class Reference
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 () | |
![]() | |
AbstractProducer () | |
virtual ~AbstractProducer () | |
Detailed Description
The PrefPageUiProducer class provides the ability to create preference pages dynamically from an external UI file.
Constructor & Destructor Documentation
◆ PrefPageUiProducer()
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().
◆ ~PrefPageUiProducer()
|
virtual |
Member Function Documentation
◆ Produce()
|
virtual |
Creates an instance of the specified widget.
Implements Base::AbstractProducer.
The documentation for this class was generated from the following files:
- src/Gui/WidgetFactory.h
- src/Gui/WidgetFactory.cpp