QPaintDevice

class PyQt.QtGui.QPaintDevice
height()
width()