Gui::CustomPageProducer< CLASS > Class Template Reference

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

#include <WidgetFactory.h>

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

List of all members.

Public Member Functions

 CustomPageProducer ()
 Register a special type of customize page to the WidgetFactoryInst.
virtual void * Produce () const
 Creates an instance of the specified widget.
virtual ~CustomPageProducer ()

Detailed Description

template<class CLASS>
class Gui::CustomPageProducer< CLASS >

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

Author:
Werner Mayer

Definition at line 193 of file WidgetFactory.h.


Constructor & Destructor Documentation

template<class CLASS >
Gui::CustomPageProducer< CLASS >::CustomPageProducer (  )  [inline]

Register a special type of customize page to the WidgetFactoryInst.

Definition at line 199 of file WidgetFactory.h.

References Gui::Dialog::DlgCustomizeImp::addPage(), Base::Factory::AddProducer(), and Gui::WidgetFactoryInst::instance().

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

Definition at line 213 of file WidgetFactory.h.


Member Function Documentation

template<class CLASS >
virtual void* Gui::CustomPageProducer< CLASS >::Produce ( void   )  const [inline, virtual]

Creates an instance of the specified widget.

Implements Base::AbstractProducer.

Definition at line 218 of file WidgetFactory.h.


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

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