#include <keximacroproperty.h>
Inherits KoProperty::CustomPropertyFactory.
Public Member Functions | |
| KexiMacroPropertyFactory (TQObject *parent) | |
| virtual | ~KexiMacroPropertyFactory () |
| virtual KoProperty::CustomProperty * | createCustomProperty (KoProperty::Property *parent) |
| virtual KoProperty::Widget * | createCustomWidget (KoProperty::Property *property) |
Static Public Member Functions | |
| static void | initFactory () |
Detailed Description
Implementation of a KoProperty::CustomPropertyFactory to handle creation of KexiMacroProperty and KexiMacroPropertyWidget instances for our macro-properties.
Definition at line 110 of file keximacroproperty.h.
Constructor & Destructor Documentation
◆ KexiMacroPropertyFactory()
|
explicit |
Constructor.
Definition at line 167 of file keximacroproperty.cpp.
◆ ~KexiMacroPropertyFactory()
|
virtual |
Destructor.
Definition at line 172 of file keximacroproperty.cpp.
Member Function Documentation
◆ createCustomProperty()
|
virtual |
- Returns
- a new instance of custom property for
parent. Implement this for property types you want to support. Use parent->type() to get type of the property.
Definition at line 176 of file keximacroproperty.cpp.
◆ createCustomWidget()
|
virtual |
- Returns
- a new instance of custom property for
property. Implement this for property editor types you want to support. Use parent->type() to get type of the property.
Definition at line 201 of file keximacroproperty.cpp.
◆ initFactory()
|
static |
Initializes this factory.
The factory may register itself at the KoProperty::FactoryManager if not alreadydone before. This function should be called from within the KexiMacroDesignView before the functionality provided with KexiMacroProperty and KexiMacroPropertyWidget got used.
Definition at line 207 of file keximacroproperty.cpp.
The documentation for this class was generated from the following files:
