Commit 6f9edfab authored by Alexandru Croitor's avatar Alexandru Croitor
Browse files

Clarify how key / mouse QEvents are propagated to a popup RWHVQD object


Change-Id: I74f6a607d96733fa379526be40c6a13c31203d4e
Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
Reviewed-by: default avatarQt CI Bot <qt_ci_bot@qt-project.org>
parent 195db907
Branches
Tags
No related merge requests found
Showing with 6 additions and 0 deletions
......@@ -48,6 +48,12 @@
namespace QtWebEngineCore {
// Useful information keyboard and mouse QEvent propagation.
// A RenderWidgetHostViewQtDelegateWidget instance initialized as a popup will receive
// no keyboard focus (so all keyboard QEvents will be sent to the parent RWHVQD instance),
// but will still receive mouse input (all mouse QEvent moves and clicks will be given to the popup
// RWHVQD instance, and the mouse interaction area covers the surface of the whole parent
// QWebEngineView, and not only the smaller surface that an HTML select popup would occupy).
class RenderWidgetHostViewQtDelegateWidget : public QQuickWidget, public RenderWidgetHostViewQtDelegate {
Q_OBJECT
public:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment