On Monday 05 July 2010 15:15:32 bluekyu wrote: > Hello, I want to display thousands separator in QDoubleSpinBox. > (For example, I may click upward button at 999 and it dispaly 1,000) > I tried to find this in google and doc. > But I don't know how to do this. Can I do this? > My environment is python3.1, pyqt 4.7.3, kubuntu 10.04 and > QWidget.locale().groupSeparator() is ','
I haven't checked this explicitly but I believe the thousand-separator as well as the decimal-separator depend heavily on the locale. That is on a German system it will use ' ' as thousand separator and ',' as decimal-separator in contrast to English systems where its ',' and '.'... Arnold
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
