QStylePainter

class PyQt5.QtWidgets.QStylePainter

C++ documentation