A factory for creating side widget managers. More...
#include <klfsidewidget.h>
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 KLFSideWidgetManagerBase * | createSideWidgetManager (const QString &type, QWidget *parentWidget, QWidget *sideWidget, QObject *parent) |
Static Public Member Functions | |
static QStringList | allSupportedTypes () |
static KLFSideWidgetManagerBase * | findCreateSideWidgetManager (const QString &type, QWidget *parentWidget, QWidget *sideWidget, QObject *parent) |
static KLFSideWidgetManagerFactory * | findFactoryFor (const QString &managertype) |
A factory for creating side widget managers.
Definition at line 313 of file klfsidewidget.h.
Definition at line 676 of file klfsidewidget.cpp.
Definition at line 680 of file klfsidewidget.cpp.
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 698 of file klfsidewidget.cpp.
References createSideWidgetManager(), findFactoryFor(), and KLF_ASSERT_NOT_NULL.
Referenced by KLFSideWidget::setSideWidgetManager().
KLFSideWidgetManagerFactory * KLFSideWidgetManagerFactory::findFactoryFor | ( | const QString & | managertype | ) | [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().
QStringList KLFSideWidgetManagerFactory::supportedTypes | ( | ) | const [virtual] |
Implements KLFFactoryBase.
Definition at line 709 of file klfsidewidget.cpp.