QDoubleSpinBox bug
-
Is anyone aware of a bug in QDoubleSpinBox where it will not accept negative numbers? I was working on an application that has to get temperature from the user, and used a QDoubleSpinBox for the input. Setting the minimum in Qt Creator to -40.0 did not allow negative temperatures to be entered, so I tried setting the range from -40.0 to 50.0 in the MainWindow constructor after the ui setup was complete. This did not allow the desired results, so I tried setting the minimum and maximum in the MainWindow constructor after the ui setup was complete. Once again, you could not enter negative numbers in the QDoubleSpinBox.
I am using Qt Creator 3.2.1 which uses Qt 5.3.2 (GCC 4.9.2, 64 bit) Built on November 18 at 21:47:25.
Has anyone else run into this problem, and have you found a work around?
TIA
Wynn, Rostek -
Hi,
What keyboard layout are you using ? I remember a small input bug when the minus was not the ASCII minus sign but it's been fixed in between.
Also what version of Qt are you developing with ? The version used to build Qt Creator has not influence on that.