On Wednesday 01 December 2010, 00:14:14 Albert Cervera i Areny wrote: > A Dimarts, 30 de novembre de 2010, Hans-Peter Jansen va escriure: > > Hi Phil, > > > > attached are two missing widget examples. I noticed, that you > > reorganized the other examples, and will try to follow these > > "guides". > > Changing the locale gives the following error: > > File "calendarwidget.py", line 71, in localeChanged > > self.calendar.setLocale(self.localeCombo.itemData(index).toLocale()) > AttributeError: 'QLocale' object has no attribute 'toLocale'
Upps, sorry. You can just remove 'toLocale', thanks to the QVariant V.2 API. Pete _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt