Hello!
Showld't this lineEdit be accepting values from [0, 20] with one decimal?!
Qt Code:
To copy to clipboard, switch view to plain text mode
Thanks
Hello!
Showld't this lineEdit be accepting values from [0, 20] with one decimal?!
Qt Code:
To copy to clipboard, switch view to plain text mode
Thanks
Yes, it should.
Then i better take a good look because this lineEdit is accepting me values out of that range.
"I'll be back"
No, it is not. These are intermediate values because you can always write 200000E-5 to get 20. If you want the usual notation only, it is better to use a regexp validator:
Qt Code:
To copy to clipboard, switch view to plain text mode
or QDoubleSpinBox.
gt.beta2 (5th February 2009)
Yeah ... i was reading about this "limitation" a while ago.
Back to where i came from ... the RegExp
Thanks
It's not a limitation, it's an extension (or relaxation)
Bookmarks