func (ptr *QTreeView) SetModel(model core.QAbstractItemModel_ITF) { if ptr.Pointer() != nil { C.QTreeView_SetModel(ptr.Pointer(), core.PointerFromQAbstractItemModel(model)) } }
func (ptr *QDataWidgetMapper) SetModel(model core.QAbstractItemModel_ITF) { if ptr.Pointer() != nil { C.QDataWidgetMapper_SetModel(ptr.Pointer(), core.PointerFromQAbstractItemModel(model)) } }
func (ptr *QItemDelegate) SetModelData(editor QWidget_ITF, model core.QAbstractItemModel_ITF, index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QItemDelegate_SetModelData(ptr.Pointer(), PointerFromQWidget(editor), core.PointerFromQAbstractItemModel(model), core.PointerFromQModelIndex(index)) } }
func (ptr *QAbstractItemDelegate) EditorEvent(event core.QEvent_ITF, model core.QAbstractItemModel_ITF, option QStyleOptionViewItem_ITF, index core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QAbstractItemDelegate_EditorEvent(ptr.Pointer(), core.PointerFromQEvent(event), core.PointerFromQAbstractItemModel(model), PointerFromQStyleOptionViewItem(option), core.PointerFromQModelIndex(index)) != 0 } return false }