Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
QDefaultItemEditorFactory () | |
QWidget * | createEditor (int userType, QWidget *parent) const override |
Creates an editor widget with the given parent for the specified userType of data, and returns it as a QWidget. | |
QByteArray | valuePropertyName (int) const override |
Returns the property name used to access data for the given userType of data. | |
Public Member Functions inherited from QItemEditorFactory | |
QItemEditorFactory () | |
Constructs a new item editor factory. | |
virtual | ~QItemEditorFactory () |
Destroys the item editor factory. | |
void | registerEditor (int userType, QItemEditorCreatorBase *creator) |
Registers an item editor creator specified by creator for the given userType of data. | |
Additional Inherited Members | |
Static Public Member Functions inherited from QItemEditorFactory | |
static const QItemEditorFactory * | defaultFactory () |
Returns the default item editor factory. | |
static void | setDefaultFactory (QItemEditorFactory *factory) |
[2] | |
Definition at line 196 of file qitemeditorfactory.cpp.
|
inline |
Definition at line 199 of file qitemeditorfactory.cpp.
|
overridevirtual |
Creates an editor widget with the given parent for the specified userType of data, and returns it as a QWidget.
Reimplemented from QItemEditorFactory.
Definition at line 204 of file qitemeditorfactory.cpp.
References cb, QSizePolicy::Ignored, le, QStyle::SH_ItemView_DrawDelegateFrame, and QStyle::SH_ItemView_ShowDecorationSelected.
|
overridevirtual |
Returns the property name used to access data for the given userType of data.
Reimplemented from QItemEditorFactory.
Definition at line 274 of file qitemeditorfactory.cpp.