QItemDelegate

class PyQt5.QtWidgets.QItemDelegate

C++ documentation