Читаем документацию:
C++ (Qt)
void QAbstractItemView::setItemDelegate ( QAbstractItemDelegate * delegate )
void QAbstractItemView::setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate )
void QAbstractItemView::setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate )