diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-09-17 13:34:38 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-10-30 20:07:45 +0000 |
commit | cdb0ddeffd1bab0afd4c763e44431b11c8e8e0b0 (patch) | |
tree | a131686359acd1f9bdc378fa5523a8d726397e6d /src/qml/debugger | |
parent | b5cd093559d71fb28c9c8e9cffc415e1aa1e7b11 (diff) |
QmlProfiler: Collect useful input events
Just "Key" or "Mouse" as only attributes of input events are not very
useful. This change adds some additional information and also collects
input events from QQuickWindow.
Change-Id: I062bbffeef3fa87776bc8be33f2321edf793faa2
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger')
-rw-r--r-- | src/qml/debugger/qqmlprofilerdefinitions_p.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/qml/debugger/qqmlprofilerdefinitions_p.h b/src/qml/debugger/qqmlprofilerdefinitions_p.h index bdc21cbf25..f87df8cfe5 100644 --- a/src/qml/debugger/qqmlprofilerdefinitions_p.h +++ b/src/qml/debugger/qqmlprofilerdefinitions_p.h @@ -137,6 +137,21 @@ struct QQmlProfilerDefinitions { MaximumProfileFeature }; + + enum InputEventType { + InputKeyPress, + InputKeyRelease, + InputKeyUnknown, + + InputMousePress, + InputMouseRelease, + InputMouseMove, + InputMouseDoubleClick, + InputMouseWheel, + InputMouseUnknown, + + MaximumInputEventType + }; }; QT_END_NAMESPACE |