PDA

View Full Version : QLineEdit with Completer custom delegate



zishanj
23rd April 2011, 18:32
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?