m... I'm not sure that I understand what you mean.![]()
m... I'm not sure that I understand what you mean.![]()
a bit of a hack:
Set QCompleter::setPopup with a QTreeView and have the model provide your "text"
in its headerData() function as caption of the first column.
(Haven't tried it. Please post if it works.)
caduel thats a good idea.
I will try it now.
But even if that works it doesnt give you the flexibility that i would like.
What about if i would like to provide more than one custom message apart from the completion options. For example, I want my cutom message in the first line then have some completion options and then another custom message in the fifth line. This is not possible with the header technique that you suggesting I think.
I will try it and let you know.
Regards
Last edited by cbarmpar; 26th September 2008 at 14:21. Reason: reformatted to look better
Bookmarks