factory.h
65 virtual ConfigurationWidget* create(ConfigurationParameters& params, QString prefix, QWidget* parent, Qt::WindowFlags f) const = 0;
96 virtual ConfigurationWidget* create(ConfigurationParameters& params, QString prefix, QWidget* parent, Qt::WindowFlags f) const;
181 QStringList getAllSubclasses(QString className, int levelToStop = -1, bool noAbstractClasses = false);
222 ConfigurationWidget* getEditorForType(ConfigurationParameters& params, QString prefix, QWidget* parent = NULL, Qt::WindowFlags f = 0);
326 ConfigurationWidget* ConfigurationWidgetCreatorT<T>::create(ConfigurationParameters& params, QString prefix, QWidget* parent, Qt::WindowFlags f) const
337 // This namespace contains helper code. We put it in an inner namespace to avoid polluting the farsa namespace
364 factory->m_classMap[className] = new ParameterSettableCreatorT<H, Conversion<H *, ParameterSettableInConstructor *>::exists>();
384 RegisterClassHelper<__Factory_internal::checkClass<NewClass>::canBeCreated, NewClass> registerHelper(this, className, parentClassName );
This file contains the common type defitions used on the whole framework.
The base class for configuration widgets creators. The implementation is in the template class below...
Definition: factory.h:45
The base class for widgets for editing configuration parameters.
Definition: configurationwidget.h:51
static void setGraphicalEditor(QString type)
Sets the graphical editor for this ParameterSettable This method sets the editor (a subclass of Confi...
Definition: factory.h:407
Definition: configurationhelper.cpp:24
The class containing configuration parameters.
Definition: configurationparameters.h:259
void registerEditorForType(QString type)
Registers a class to be the editor for the give type.
Definition: factory.h:388
The class implementing the create function of the class above.
Definition: factory.h:76
The class implementing the create function of the class above.
Definition: realfactory.h:93
static QString GroupSeparator()
The character used to split path in groups.
Definition: configurationparameters.h:268
virtual ConfigurationWidget * create(ConfigurationParameters ¶ms, QString prefix, QWidget *parent, Qt::WindowFlags f) const
Creates an instance.
Definition: factory.h:326
void registerClass(QString className, QString parentClassName)
Registers a new instatiable class.
Definition: factory.h:382