kexicelleditorfactory.cpp
71 void registerItem( KexiCellEditorFactoryItem& item, uint type, const TQString& subType = TQString() )
114 KexiCellEditorFactory_deleter.setObject(KexiCellEditorFactory_static, new KexiCellEditorFactoryPrivate());
116 KexiCellEditorFactory_static->registerItem( *new KexiBlobEditorFactoryItem(), KexiDB::Field::BLOB );
117 KexiCellEditorFactory_static->registerItem( *new KexiDateEditorFactoryItem(), KexiDB::Field::Date );
118 KexiCellEditorFactory_static->registerItem( *new KexiTimeEditorFactoryItem(), KexiDB::Field::Time );
119 KexiCellEditorFactory_static->registerItem( *new KexiDateTimeEditorFactoryItem(), KexiDB::Field::DateTime );
120 KexiCellEditorFactory_static->registerItem( *new KexiComboBoxEditorFactoryItem(), KexiDB::Field::Enum );
121 KexiCellEditorFactory_static->registerItem( *new KexiBoolEditorFactoryItem(), KexiDB::Field::Boolean );
122 KexiCellEditorFactory_static->registerItem( *new KexiTDEIconTableEditorFactoryItem(), KexiDB::Field::Text, "TDEIcon" );
124 KexiCellEditorFactory_static->registerItem( *new KexiInputEditorFactoryItem(), KexiDB::Field::InvalidType );
127void KexiCellEditorFactory::registerItem( KexiCellEditorFactoryItem& item, uint type, const TQString& subType )
141 KexiDB::LookupFieldSchema *lookupFieldSchema = column.field()->table()->lookupFieldSchema( *column.field() );
149KexiTableEdit* KexiCellEditorFactory::createEditor(KexiTableViewColumn &column, TQWidget* parent)
A base class for implementing cell editor factories.
Definition kexicelleditorfactory.h:65
static KexiTableEdit * createEditor(KexiTableViewColumn &column, TQWidget *parent=0)
Definition kexicelleditorfactory.cpp:149
static KexiCellEditorFactoryItem * item(uint type, const TQString &subType=TQString())
Definition kexicelleditorfactory.cpp:193
static void registerItem(KexiCellEditorFactoryItem &item, uint type, const TQString &subType=TQString())
Definition kexicelleditorfactory.cpp:127
Provides information about database index that can be created for a database table.
Definition indexschema.h:44
Relationship::List * detailsRelationships()
Definition indexschema.h:94
Provides information about lookup field's setup.
Definition lookupfieldschema.h:56
Definition tableschema.h:43
LookupFieldSchema * lookupFieldSchema(const Field &field) const
Definition tableschema.cpp:405
Abstract class for a cell editor. Handles cell painting and displaying the editor widget.
Definition kexitableedit.h:40
Definition kexitableviewdata.h:52
KexiDB::QueryColumnInfo * visibleLookupColumnInfo
Definition kexitableviewdata.h:170
KexiTableViewData * relatedData() const
Definition kexitableviewdata.h:145
