|Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions|
The QEditorFactory class is used to create editor widgets for QVariant data types. More...
Inherited by QSqlEditorFactory.
List of all member functions.
Each editor factory provides the createEditor() function which given a QVariant will create and return a QWidget that can edit that QVariant. For example if you have a QVariant::String type, a QLineEdit would be the default editor returned, whereas a QVariant::Int's default editor would be a QSpinBox.
If you want to create different editors for fields with the same data type, subclass QEditorFactory and reimplement the createEditor() function.
See also Database Classes.
Reimplemented in QSqlEditorFactory.
This file is part of the Qt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
|Copyright © 2007 Trolltech||Trademarks|