How get a focus element in QWebView/QWebPage?

Posted by serge on Stack Overflow See other posts from Stack Overflow or by serge
Published on 2010-05-16T13:52:15Z Indexed on 2010/05/16 14:00 UTC
Read the original article Hit count: 435

Filed under:
|
|

Hi everyone,

i need to be able to react on focus changes in QWebPage. I used microFocusChanged() signal and it gives me almost desirable behavior, but anyway i don't know how to know which element is selected. I want to do some actions when any editable element on page gets or loses focus.

Thank you in advance

© Stack Overflow or respective owner

Related posts about qt

Related posts about qwebview