'Restore the state of this ViewBox.
(see also getState)'

def setState(self, state):

    state = state.copy()
    self.setXLink(state['linkedViews'][0])
    self.setYLink(state['linkedViews'][1])
    del state['linkedViews']
    self.state.update(state)
    self.updateViewRange()
    self.sigStateChanged.emit(self)
