kexi
KexiCellEditorFactory Class Reference
List of all members.Detailed Description
Definition at line 32 of file kexicelleditorfactory.h.
Public Member Functions | |
KexiCellEditorFactory () | |
virtual | ~KexiCellEditorFactory () |
Static Public Member Functions | |
static void | registerItem (KexiCellEditorFactoryItem &item, uint type, const QString &subType=QString::null) |
static KexiCellEditorFactoryItem * | item (uint type, const QString &subType=QString::null) |
static KexiTableEdit * | createEditor (KexiTableViewColumn &column, QScrollView *parent=0) |
Member Function Documentation
|
Definition at line 139 of file kexicelleditorfactory.cpp. |
|
Registers factory item for type and (optional) subType. subType is usually obtained (e.g. in KexiTableView) from KexiDB::Field::subType(). Passing KexiDB::Field::Invalid as type will set default item, i.e. the one that will be used when no other item is defined for given data type. You can register the same item many times for different types and subtypes. Once registered, item object will be owned by the factory, so you shouldn't care about deleting it. Definition at line 99 of file kexicelleditorfactory.cpp. |
The documentation for this class was generated from the following files: