[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions | Static Public Member Functions
KLFSideWidgetManagerFactory Class Reference

A factory for creating side widget managers. More...

#include <klfsidewidget.h>

Inheritance diagram for KLFSideWidgetManagerFactory:
Inheritance graph
[legend]
Collaboration diagram for KLFSideWidgetManagerFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 KLFSideWidgetManagerFactory ()
virtual ~KLFSideWidgetManagerFactory ()
virtual QStringList supportedTypes () const
virtual QString getTitleFor (const QString &type) const
 A human-readable title to display as label of given type, e.g. in combo box.
virtual KLFSideWidgetManagerBasecreateSideWidgetManager (const QString &type, QWidget *parentWidget, QWidget *sideWidget, QObject *parent)

Static Public Member Functions

static QStringList allSupportedTypes ()
static KLFSideWidgetManagerBasefindCreateSideWidgetManager (const QString &type, QWidget *parentWidget, QWidget *sideWidget, QObject *parent)
static
KLFSideWidgetManagerFactory
findFactoryFor (const QString &managertype)

Detailed Description

A factory for creating side widget managers.

Note:
This class acts as base class for any factory of side-widget-managers, as well as a functional instantiable factory for the built-in types.
When reimplementing this class, it is automatically registered upon instanciation by the KLFFactoryBase base class.

Definition at line 313 of file klfsidewidget.h.


Constructor & Destructor Documentation

Definition at line 676 of file klfsidewidget.cpp.

Definition at line 680 of file klfsidewidget.cpp.


Member Function Documentation

Definition at line 685 of file klfsidewidget.cpp.

References KLFFactoryManager::allSupportedTypes().

KLFSideWidgetManagerBase * KLFSideWidgetManagerFactory::createSideWidgetManager ( const QString type,
QWidget *  parentWidget,
QWidget *  sideWidget,
QObject parent 
) [virtual]

Definition at line 733 of file klfsidewidget.cpp.

References KLF_FUNC_NAME, and type.

Referenced by findCreateSideWidgetManager().

KLFSideWidgetManagerBase * KLFSideWidgetManagerFactory::findCreateSideWidgetManager ( const QString type,
QWidget *  parentWidget,
QWidget *  sideWidget,
QObject parent 
) [static]

Definition at line 691 of file klfsidewidget.cpp.

References KLFFactoryManager::findFactoryFor().

Referenced by findCreateSideWidgetManager().

QString KLFSideWidgetManagerFactory::getTitleFor ( const QString type) const [virtual]

A human-readable title to display as label of given type, e.g. in combo box.

Definition at line 720 of file klfsidewidget.cpp.

References QObject::tr().

Implements KLFFactoryBase.

Definition at line 709 of file klfsidewidget.cpp.


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

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net