A factory to build the string property widget object. More...
#include <GeometryPropertyWidgetFactory.h>
Public Types | |
typedef FactoryDictionary< AbstractFactory< te::qt::widgets::SimplePropertyWidget, int, std::less< int > >, int, std::less< int > > | dictionary_type |
typedef AbstractFactory | factory_type |
Public Member Functions | |
const int & | getKey () const |
It returns the factory key associated to the concreate factory. More... | |
int | getType () const |
It returns the type of component widget that the factory knows how to create. More... | |
~GeometryPropertyWidgetFactory () | |
Static Public Member Functions | |
static void | finalize () |
static const factory_type * | find (const int &factoryKey) |
static dictionary_type & | getDictionary () |
It returns a reference to the internal dictionary of concrete factories. More... | |
static void | initialize () |
static te::qt::widgets::SimplePropertyWidget * | make (const int &type) |
static te::qt::widgets::SimplePropertyWidget * | make (const int &type, QWidget *parent=0) |
Protected Member Functions | |
te::qt::widgets::SimplePropertyWidget * | build () |
Concrete factories (derived from this one) must implement this method in order to create objects. More... | |
virtual te::qt::widgets::SimplePropertyWidget * | create (QWidget *parent=0) |
GeometryPropertyWidgetFactory () | |
Protected Attributes | |
int | m_factoryKey |
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. More... | |
Static Private Attributes | |
static GeometryPropertyWidgetFactory * | sm_factory |
A factory to build the string property widget object.
Definition at line 50 of file GeometryPropertyWidgetFactory.h.
|
inherited |
Definition at line 73 of file AbstractFactory.h.
|
inherited |
Definition at line 77 of file AbstractFactory.h.
te::qt::widgets::GeometryPropertyWidgetFactory::~GeometryPropertyWidgetFactory | ( | ) |
|
protected |
|
protectedvirtual |
Concrete factories (derived from this one) must implement this method in order to create objects.
Implements te::common::AbstractFactory< te::qt::widgets::SimplePropertyWidget, int >.
|
protectedvirtual |
Implements te::qt::widgets::SimplePropertyWidgetFactory.
|
static |
|
staticinherited |
|
staticinherited |
It returns a reference to the internal dictionary of concrete factories.
The dictionary is a singleton.
|
inherited |
It returns the factory key associated to the concreate factory.
|
virtual |
It returns the type of component widget that the factory knows how to create.
Implements te::qt::widgets::SimplePropertyWidgetFactory.
|
static |
|
staticinherited |
|
staticinherited |
|
protectedinherited |
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.
Definition at line 136 of file AbstractFactory.h.
|
staticprivate |
Definition at line 72 of file GeometryPropertyWidgetFactory.h.