[PyQt] Using a QCompleter with a QLineEdit

Greg Smith gsmith at troublemakerstudios.com
Thu Jun 25 14:41:13 BST 2009


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  ====






More information about the PyQt mailing list