[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] calendarwidget and stylesheet examples
From: "Hans-Peter Jansen" <hpj () urpla ! net>
Date: 2010-11-30 23:52:03
Message-ID: 201012010052.04239.hpj () urpla ! net
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic