Hello,

I'm able to enter a number larger or less than '+' or '-' 360, the 3 decimal places and no alpha chars works.
What am I doing wrong?

Regards
Qt Code:
  1. QDoubleValidator *doubleVal = new QDoubleValidator ( -359.999, 359.999, 3, this );
  2. doubleVal->setNotation( QDoubleValidator::StandardNotation );
  3. Le1->setValidator( doubleVal ); //Le1 is QLineEdit
To copy to clipboard, switch view to plain text mode