Hello!
Showld't this lineEdit be accepting values from [0, 20] with one decimal?!
Qt Code:
  1. lineEdit->setValidator(new QDoubleValidator(0.0, 20.0, 1, this));
To copy to clipboard, switch view to plain text mode 

Thanks