def assignPlugin(self):
        """
        Assigns an editor based on the current column for this schema.
        """
        self.uiOperatorDDL.blockSignals(True)
        self.uiOperatorDDL.clear()
        
        plugin = self.currentPlugin()
        if plugin:
            flags = 0
            if not self.queryWidget().showReferencePlugins():
                flags |= plugin.Flags.ReferenceRequired
            
            self.uiOperatorDDL.addItems(plugin.operators(ignore=flags))
        
        self.uiOperatorDDL.blockSignals(False)
        self.assignEditor()
def assignPlugin ( self ) : self . uiOperatorDDL . blockSignals ( True ) self . uiOperatorDDL . clear ( ) plugin = self . currentPlugin ( ) if plugin : flags = 0 if not self . queryWidget ( ) . showReferencePlugins ( ) : flags |= plugin . Flags . ReferenceRequired self . uiOperatorDDL . addItems ( plugin . operators ( ignore = flags ) ) self . uiOperatorDDL . blockSignals ( False ) self . assignEditor ( )
Assigns an editor based on the current column for this schema.