title: QDial set range from 0.00 to 10.00 to widget displays
body: <p>I have a class that connects a Lcd display with a dial and when you rotate the dial you get values on the lcd like this </p>
  
  <pre><code>#ifndef SLIDELCD_H
  #define SLIDELCD_H
  
  #include &lt;QDial&gt;
  #include &lt;QVBoxLayout&gt;
  #include &lt;QLCDNumber&gt;
  #include "CustomDial.h"
  class SlideLcd: public QWidget
  {
  Q_OBJECT
  public:
  SlideLcd(QWidget *parent=nullptr);
  private:
  CustomDial *dial;
  QLCDNumber *lcd;
  QVBoxLayout *layout;
  };
  
  SlideLcd::SlideLcd(QWidget *parent)
                 :QWidget(parent)
  {
  dial = new CustomDial;
  dial-&gt;setNotchesVisible(true);
  lcd = new QLCDNumber;
  connect(dial, SIGNAL(valueChanged(int)), lcd , SLOT(display(int)));
  layout = new QVBoxLayout;
  layout-&gt;addWidget(lcd);
  layout-&gt;addWidget(dial);
  setLayout(layout);
  }
  </code></pre>
  
  <p>I know that with QDial::setRange(0,100) you can set the range from 0-100 but is there any way to set ranges like 0.00 to 100.00</p>