code: def unregisterView(viewType, location='Central'):
          
          XView._registry.get(location, {}).pop(viewType.viewName(), None)
          XView.dispatch(location).emit('unregisteredView(QVariant)', viewType)
docs: Unregisteres the given view type from the inputed location.
          
          :param      viewType | <subclass of XView>