[PyQt] Localizing QDateEdit popup calendar

Joe Moudrik j.moudrik at gmail.com
Tue Nov 1 12:33:29 GMT 2011


Hello,

I have a slight problem with QDateEdit. I want to use the popup calendar
dateEdit.setCalendarPopup(True)
to set the date. The popup hovewer ignores my locale (Czech) settings
(set in both the QDateEdit and top widget as well) and shows
everything in Englsh.

Is it possible to set the locale of the popup to respect that of my QDateEdit?

(I know I can workarkound about htis by creating my own Calendar
widget with proper localization, but I wonder if it is possible to do
more nicely)


Thanks,
JM


More information about the PyQt mailing list