Project

General

Profile

WSuggestionPopup: popup on focus

Added by Rob Van Dyck over 12 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 over 12 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

RE: WSuggestionPopup: popup on focus - Added by Rob Van Dyck over 12 years ago

Hi,

I've created the feature request! [#1040]

Thanx for your feedback and hard work Koen!

    (1-2/2)