Frapper  1.0a
Static Public Member Functions | Static Private Attributes | List of all members
Frapper::WidgetFactory Class Reference

Static class managing node types and Node object creation. More...

#include <WidgetFactory.h>

Static Public Member Functions

static bool registerType (const QString &filename)
 Loads the XML description of a widget type from the file with the given name.
 
static WidgetPlugincreateWidget (QString call, ParameterPlugin *parameter, QWidget *parent)
 Returns a widget.
 

Static Private Attributes

static QStringList m_WidgetNames
 List of Parameter names.
 
static QStringList m_WidgetCall
 List of Widget Call names.
 
static QMap< QString,
WidgetTypeInterface * > 
m_widgetTypeMap
 Map of existing widget types.
 

Detailed Description

Static class managing node types and Node object creation.

Member Function Documentation

bool Frapper::WidgetFactory::registerType ( const QString &  filename)
static

Loads the XML description of a widget type from the file with the given name.

Parameters
filenameThe name of an XML file describing a widget type.
WidgetPlugin * Frapper::WidgetFactory::createWidget ( QString  call,
ParameterPlugin parameter,
QWidget *  parent 
)
static

Returns a widget.

Parameters
callIdentification of the widget
parameterAssociated parameter
parentParent widget
Returns
The created widget

Member Data Documentation

QStringList Frapper::WidgetFactory::m_WidgetNames
staticprivate

List of Parameter names.

Public Static Data.

QStringList Frapper::WidgetFactory::m_WidgetCall
staticprivate

List of Widget Call names.

QMap< QString, WidgetTypeInterface * > Frapper::WidgetFactory::m_widgetTypeMap
staticprivate

Map of existing widget types.


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