Sets the view widget linked with this toolbar.
        
        :param      viewWidget | <XViewWidget>

def setViewWidget(self, viewWidget):
        """
        Sets the view widget linked with this toolbar.
        
        :param      viewWidget | <XViewWidget>
        """
        self._viewWidget = viewWidget
        if viewWidget:
            viewWidget.resetFinished.connect(self.clearActive)