[PyQt] Using a QCompleter with a QLineEdit

projetmbc projetmbc at club-internet.fr
Thu Jun 25 18:21:26 BST 2009


Greg Smith a écrit :
> Awesome! Merci beaucoup. That did the trick!
>
> Greg
>
> -----Original Message-----
> From: projetmbc [mailto:projetmbc at club-internet.fr] 
> Sent: Thursday, June 25, 2009 3:56 AM
> To: projetmbc
> Cc: Greg Smith; PyQt
> Subject: Re: [PyQt] Using a QCompleter with a QLineEdit
>
> projetmbc a écrit :
>   
>> Try to do the following change :
>> ====  OLD  ====
>> lineEditCompleter = QtGui.QCompleter(completerList)
>> ====  NEW  ====
>> lineEditCompleter = QtGui.QCompleter(completerList)
>> ====  END  ====
>>     
>
> Sorry, I've forgot to do the changes. Here there are.
>
> ====  OLD  ====
> lineEditCompleter = QtGui.QCompleter(completerList)
> ====  NEW  ====
> lineEditCompleter = QtGui.QCompleter(completerList, self)
> ====  END  ===
De rien...

Christophe.



More information about the PyQt mailing list