QPaintDevice

class PyQt5.QtGui.QPaintDevice

C++ documentation