'Set the size of the ROI. May be specified as a QPoint, Point, or list of two values.
See setPos() for an explanation of the update and finish arguments.'

def setSize(self, size, update=True, finish=True):

    size = Point(size)
    self.prepareGeometryChange()
    self.state['size'] = size
    if update:
        self.stateChanged(finish=finish)
