Hi. I’ve found the solution...
I create widget with next flags:
Qt::ToolTip | Qt::FramelessWindowHint |Qt::WindowDoesNotAcceptFocus
|Qt::WindowTransparentForInput |Qt::NoDropShadowWindowHint
And install event filter to the qApp...
It works.
From: igor.mironc...@gmail.com
Sent: Wednesday, March 12, 2014 1:01 PM
To: interest@qt-project.org
Subject: Leave focus after popup
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.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest