CItemDelegate
Default item delegate choosing an editor from the model value type.
Module widgets/CItemDelegate.js. This class is available through the browser modules in the download.
Declared members
constructor(parent?: CObject | null);destroy(): void;paint(painter: CPainter, rect: CRect, index: CModelIndex, widget: CWidget): boolean;editorEvent(event: CEvent, model: CAbstractItemModel, index: CModelIndex, rect: CRect): boolean;createEditor(parent: CWidget, index: CModelIndex): CWidget | null;setEditorData(editor: CWidget, index: CModelIndex): void;setModelData(editor: CWidget, model: CAbstractItemModel, index: CModelIndex): void;