[Qt-interest] QLineEdit with Completer custom delegate

Zishan J jashsoftpk at aim.com
Wed Apr 20 16:58:14 CEST 2011


Hi,

I am using QLineEdit with QCompleter in my application. I have filled 
the completer with some random text data along with images on left side. 
Images and text are displaying well in the QCompleter, but to further 
manage the text data in completer I am using custom delegate that uses 
paint function to manage text data inside it. It's managing data well 
but I lost the image in completer after using drawDisplay inside paint. 
Is there any workaround to this issue?



More information about the Qt-interest-old mailing list