'Set limits on the acceptable values for this parameter.
The format of limits depends on the type of the parameter and
some parameters do not make use of limits at all.'

def setLimits(self, limits):

    if (('limits' in self.opts) and (self.opts['limits'] == limits)):
        return
    self.opts['limits'] = limits
    self.sigLimitsChanged.emit(self, limits)
    return limits
