Gui::PrefPageProducer< CLASS > Class Template Reference

The PrefPageProducer class is a value-based template class that provides the ability to create preference pages dynamically. More...

#include <WidgetFactory.h>

Inheritance diagram for Gui::PrefPageProducer< CLASS >:
Base::AbstractProducer

List of all members.

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

Detailed Description

template<class CLASS>
class Gui::PrefPageProducer< CLASS >

The PrefPageProducer class is a value-based template class that provides the ability to create preference pages dynamically.

Author:
Werner Mayer

Definition at line 132 of file WidgetFactory.h.


Constructor & Destructor Documentation

template<class CLASS>
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().

template<class CLASS>
virtual Gui::PrefPageProducer< CLASS >::~PrefPageProducer (  )  [inline, virtual]

Definition at line 152 of file WidgetFactory.h.


Member Function Documentation

template<class CLASS>
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.


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

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