code: def setValue(self, value):
          
          if value >= self.minimum() and value <= self.maximum():
              self._lineEdit.setText(str(value))
          elif value < self.minimum():
              self._lineEdit.setText(str(self.minimum()))
          elif value > self.maximum():
              self._lineEdit.setText(str(self.maximum()))
          return True
docs: setter function to _lineEdit.text.  Sets minimum/maximum as new value if value is out of bounds.
  
          Args:
              value (int/long): new value to set.
  
          Returns
              True if all went fine.