diff options
author | Jeremy Katz <jeremy@panix.com> | 2016-08-17 12:12:36 -0700 |
---|---|---|
committer | Jeremy Katz <jeremy@panix.com> | 2016-08-22 22:53:39 +0000 |
commit | fd57e1449dc974417f3409a4da7338d7e8a6e7c8 (patch) | |
tree | 11d8086d266f974e7d2908e3e7556ae6c2eafe96 /src/qml/jsruntime/qv4util_p.h | |
parent | 457bb7a465fc51995fc5ffaa4a1d8a341528d0c4 (diff) |
allow quick test events to directly target a Window
QuickTestEvent::eventWindow() is used to determine the window a
QObject-based item cast to a QQuickItem is associated with. The window
is then used to dispatch simulated events and calculate item positions.
This change allows a quick Window or other QWindow-based object to be
used directly.
Change-Id: I85866ca4c79d5b6a48bac554608cad348aeb6e98
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4util_p.h')
0 files changed, 0 insertions, 0 deletions