[Interest] Leave focus after popup

igor.mironchik at gmail.com igor.mironchik at gmail.com
Wed Mar 12 12:01:53 CET 2014


Hi.

Is it possible to leave the focus on the parent widget when he pops up another widget?

And is it possible to leave focus on the parent widget and receive mouse events in pop upped widget?

If to say more concrete, then I want to popup cursor shifter in QLineEdit on mouse click, and when user moves this shifter cursor in QLineEdit changes it’s position respectively. I almost did it, but when shifter pops up then QLineEdit loses focus and cursor doesn’t flashes...

Any ideas? May be there is some widget’s flags for this task, or so on?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140312/bcbb17e3/attachment.html>


More information about the Interest mailing list