#include <kexicelleditorfactory.h>
A singleton class providing access to cell editor factories.
Definition at line 33 of file kexicelleditorfactory.h.
◆ KexiCellEditorFactory()
| KexiCellEditorFactory::KexiCellEditorFactory |
( |
| ) |
|
◆ ~KexiCellEditorFactory()
| KexiCellEditorFactory::~KexiCellEditorFactory |
( |
| ) |
|
|
virtual |
◆ createEditor()
Creates a new editor for column. If parent is of TQScrollView, the new editor will be created inside parent->viewport() instead.
Definition at line 149 of file kexicelleditorfactory.cpp.
◆ init()
| void KexiCellEditorFactory::init |
( |
| ) |
|
|
staticprotected |
◆ item()
- Returns
- item for type and (optional) subType. If no item found, the one with empty subtype is tried. If still no item found, the default is tried. Eventually, may return NULL.
Definition at line 193 of file kexicelleditorfactory.cpp.
◆ registerItem()
| void KexiCellEditorFactory::registerItem |
( |
KexiCellEditorFactoryItem & | item, |
|
|
uint | type, |
|
|
const TQString & | subType = TQString() ) |
|
static |
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 127 of file kexicelleditorfactory.cpp.
The documentation for this class was generated from the following files: