Gui::PrefPagePyProducer Class Reference

The PrefPagePyProducer class provides the ability to create preference pages dynamically from a Python class. More...

#include <WidgetFactory.h>

Public Member Functions

 PrefPagePyProducer (const Py::Object &, 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 ~PrefPagePyProducer ()
 
- Public Member Functions inherited from Base::AbstractProducer
 AbstractProducer ()
 
virtual void * Produce () const =0
 overwritten by a concrete producer to produce the needed object More...
 
virtual ~AbstractProducer ()
 

Detailed Description

The PrefPagePyProducer class provides the ability to create preference pages dynamically from a Python class.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ PrefPagePyProducer()

PrefPagePyProducer::PrefPagePyProducer ( const Py::Object &  p,
const char *  group 
)

◆ ~PrefPagePyProducer()

PrefPagePyProducer::~PrefPagePyProducer ( )
virtual

Member Function Documentation

◆ Produce()

void * PrefPagePyProducer::Produce ( ) const
virtual

Creates an instance of the specified widget.

Implements Base::AbstractProducer.


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