QStyledItemDelegate

class PyQt5.QtWidgets.QStyledItemDelegate

C++ documentation