Re: [PyQt] QVariant and Python list

2008-06-01 Thread Phil Thompson
On Wednesday 28 May 2008 6:35:32 pm Laurent Léonard wrote: Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and dictionaries. But how can I use QVariant to encapsulate Python lists and dictionaries ? When I try to do it I get the following error

Re: [PyQt] QVariant and Python list

2008-05-30 Thread Phil Thompson
On Wednesday 28 May 2008 6:35:32 pm Laurent Léonard wrote: Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and dictionaries. But how can I use QVariant to encapsulate Python lists and dictionaries ? When I try to do it I get the following error

Re: [PyQt] QVariant and Python list

2008-05-30 Thread Mark Summerfield
On 2008-05-30, Phil Thompson wrote: On Wednesday 28 May 2008 6:35:32 pm Laurent Léonard wrote: Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and dictionaries. But how can I use QVariant to encapsulate Python lists and dictionaries ?

Re: [PyQt] QVariant and Python list

2008-05-30 Thread Laurent Léonard
Le vendredi 30 mai 2008 à 13:38, Phil Thompson a écrit : On Wednesday 28 May 2008 6:35:32 pm Laurent Léonard wrote: Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and dictionaries. But how can I use QVariant to encapsulate Python lists

Re: [PyQt] QVariant and Python list

2008-05-30 Thread Phil Thompson
On Friday 30 May 2008 3:11:01 pm Mark Summerfield wrote: On 2008-05-30, Phil Thompson wrote: On Wednesday 28 May 2008 6:35:32 pm Laurent Léonard wrote: Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and dictionaries. But how can

Re: [PyQt] QVariant and Python list

2008-05-30 Thread Phil Thompson
On Friday 30 May 2008 3:14:43 pm Laurent Léonard wrote: Le vendredi 30 mai 2008 à 13:38, Phil Thompson a écrit : On Wednesday 28 May 2008 6:35:32 pm Laurent Léonard wrote: Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and

Re: [PyQt] QVariant and Python list

2008-05-30 Thread Giovanni Bajo
On 5/30/2008 4:11 PM, Mark Summerfield wrote: On 2008-05-30, Phil Thompson wrote: On Wednesday 28 May 2008 6:35:32 pm Laurent Léonard wrote: Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and dictionaries. But how can I use QVariant to

[PyQt] QVariant and Python list

2008-05-28 Thread Laurent Léonard
Hi, I read QList and QMap are not implemented in PyQt, because of the presence of Python lists and dictionaries. But how can I use QVariant to encapsulate Python lists and dictionaries ? When I try to do it I get the following error message : TypeError: argument 1 of QVariant() has an