code: def registerView(viewType, location='Central'):
          
          # update the dispatch signals
          sigs = getattr(viewType, '__xview_signals__', [])
          XView.dispatch(location).registerSignals(sigs)
          
          location = nativestring(location)
          XView._registry.setdefault(location, {})
          XView._registry[location][viewType.viewName()] = viewType
          XView.dispatch(location).emit('registeredView(QVariant)', viewType)
docs: Registers the inputed view type to the given location.  The location \
          is just a way to group and organize potential view plugins for a \
          particular widget, and is determined per application.  This eases \
          use when building a plugin based system.  It has no relevance to the \
          XView class itself where you register a view.
          
          :param      viewType | <subclass of XView>