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>

def registerEditor(self,
                       name,
                       op,
                       cls=None,
                       defaultValue=None,
                       flags=0):
        """
        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>
        """
        registry = XEditorRegistry(op=op,
                                   cls=cls,
                                   defaultValue=defaultValue,
                                   flags=flags)
        
        self._operatorMap[nativestring(name)] = registry