code: def availablePageSizes(self):
  		
  
  		sizes = [x for x in dir(QPagedPaintDevice)
  		         if type(getattr(QPagedPaintDevice, x)) == QPagedPaintDevice.PageSize]
  		return sizes
docs: List available page sizes.