I've a web browser application on DirectFB and a QWebview is the main widget. I've created a widget that appears only when you press predefined key. This is a information widget and has not a parent, has nofocus set, no decoration and opacity set.

First problem is that this info widget grab the input event when is visible and the qwebview (and other widget under) doesn't receive nothing. I've resolved installing eventFilter and QApplication::sendEvent to send press/release key to webview. Is the correct way?

The connected problem is that, OK I've resended the event to correct qt widget, but the widget under (qwebview for example) doesn't have focus and then I can't see focus selection, etc...

Then, I can create easily a widget really without focus above all other widget?

Thanks :-)