A factory to build widget objects.  
 More...
#include <SimplePropertyWidgetFactory.h>
 | 
| int  | m_factoryKey | 
|   | The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.  More...
  | 
|   | 
A factory to build widget objects. 
Definition at line 49 of file SimplePropertyWidgetFactory.h.
 
◆ dictionary_type
◆ factory_type
◆ ~SimplePropertyWidgetFactory()
  
  
      
        
          | virtual te::qt::widgets::SimplePropertyWidgetFactory::~SimplePropertyWidgetFactory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual destructor. 
- Note
 - It will automatically unregister the factory from the dictionary. 
 
 
 
◆ SimplePropertyWidgetFactory()
  
  
      
        
          | te::qt::widgets::SimplePropertyWidgetFactory::SimplePropertyWidgetFactory  | 
          ( | 
          const int &  | 
          factoryKey | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
It creates the factory. 
The key of a ComponentWidgetFactory is a string.
- Parameters
 - 
  
    | factoryKey | The key that identifies the factory.  | 
  
   
 
 
◆ build()
  
  | 
      
   | 
  
protectedpure virtualinherited   | 
  
 
 
◆ create()
◆ find()
◆ getDictionary()
It returns a reference to the internal dictionary of concrete factories. 
The dictionary is a singleton.
- Returns
 - A reference to the internal dictionary. 
 
Definition at line 106 of file AbstractFactory.h.
 
 
◆ getKey()
It returns the factory key associated to the concreate factory. 
- Returns
 - The factory key associated to the concreate factory. 
 
Definition at line 84 of file AbstractFactory.h.
 
 
◆ getType()
  
  
      
        
          | virtual int te::qt::widgets::SimplePropertyWidgetFactory::getType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ make() [1/3]
It creates an object with the appropriated factory. 
- Parameters
 - 
  
    | factoryKey | A key that identifies the factory used to build the object. | 
  
   
- Returns
 - It returns a new object created by the given factory.
 
- Exceptions
 - 
  
    | Exception | If the concrete factory is not specified or the object can not be built for any reason this methiod may throws an exception. | 
  
   
- Note
 - The caller of this method will take the ownership of the returned object. 
 
Definition at line 97 of file AbstractFactory.h.
 
 
◆ make() [2/3]
◆ make() [3/3]
◆ m_factoryKey
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.
 
 
The documentation for this class was generated from the following file: