'Inform this item\'s container ViewBox that the bounds of this item have changed.
This is used by ViewBox to react if auto-range is enabled.'

def informViewBoundsChanged(self):

    view = self.getViewBox()
    if ((view is not None) and hasattr(view, 'implements') and view.implements('ViewBox')):
        view.itemBoundsChanged(self)
