WSuggestionPopup: popup on focus
Added by Rob Van Dyck almost 14 years ago
Hi,
I'm trying to make the WSuggestionPopup open up before I have typed anything in the WLineEdit to which it is connected. I'm looking at the javascript code but I'm no expert. Does anybody know how I would accomplish this?
Thanx in advance!
Rob.
Replies (2)
RE: WSuggestionPopup: popup on focus - Added by Koen Deforche almost 14 years ago
Hey Rob,
There isn't actually a straight forward way, not even with JavaScript.
As the suggestion popup can potentially be shared between multiple line edits, it needs to be told for which edit to popup.
So we would need to add a method:
void showAt(WFormWidget *edit);
I think it makes a sensible feature request.
Regards,
koen