title: Use float for QSlider
body: <p>I have a QLineEdit and a QSlider in which it interacts with each other.</p>
  
  <p>Eg. If I set a value in the QLineEdit, the slider will be updated, or if I slide the slider across, it will updates the value in QLineEdit</p>
  
  <pre><code># If user change value on the slider
  self.timer_slider.valueChanged.connect(self.set_value)
  # If user sets a value in the text box instead
  self.timer_value.textChanged.connect(self.set_slider)
  
  def set_slider(self, value):
      self.timer_slider.setValue(int(value))
  
  def set_value(self, value):
      self.timer_value.setText(str(value))
  </code></pre>
  
  <p>Is there anyway that I can use <code>float</code> instead of <code>int</code> values?</p>