code: def registerEditor(self,
                         name,
                         op,
                         cls=None,
                         defaultValue=None,
                         flags=0):
          
          registry = XEditorRegistry(op=op,
                                     cls=cls,
                                     defaultValue=defaultValue,
                                     flags=flags)
          
          self._operatorMap[nativestring(name)] = registry
docs: Registers an editor for the given operator as the given name.  If no
          editor class is supplied, no editor widget will be created for the
          operator unless you overload the createEditor method and create your own
          
          :param      name         | <str>
                      op           | <Query.Op>
                      cls          | <subclass of QWidget> || None
                      defaultValue | <variant>