Gui::PrefPageUiProducer Class Reference

The PrefPageUiProducer class provides the ability to create preference pages dynamically from an external UI file. More...

#include <WidgetFactory.h>

Inheritance diagram for Gui::PrefPageUiProducer:
Base::AbstractProducer

List of all members.

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 ()

Detailed Description

The PrefPageUiProducer class provides the ability to create preference pages dynamically from an external UI file.

Author:
Werner Mayer

Definition at line 168 of file WidgetFactory.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:01 2011 for FreeCAD by  doxygen 1.6.1