[Qt-interest] Locale input/output of custom doubleSpinbox Delegate
Matthias Pospiech
matthias.pospiech at gmx.de
Thu Aug 27 15:27:56 CEST 2009
I created a class DoubleSpinBoxDelegate which is simply a delegate using
a QDoubleSpinBox.
Now if I insert data into a tableview table, it is in english format
"10.123",
If I edit it the result is returned in locale (german): "10,123".
So I thought to insert the values in the table directly in german format.
If I then edit the value is returns 0 as a value in case there was a dot
and a comma as in "40.000,123".
How can I solve this problem?
Matthias
More information about the Qt-interest-old
mailing list