Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::anonymous_namespace{inputtools.cpp}::PointerState Struct Reference

Pointer state shared by all input tools: the buttons currently held and a synthetic, monotonic event clock (like QTest's lastMouseTimestamp). More...

Public Attributes

Qt::MouseButtons buttons
 Buttons currently pressed by the tools.
qint64 timestamp = 0
 Last synthetic event time (ms); 64-bit so it never overflows.
QElapsedTimer clock
 Keeps synthetic timestamps at or after real time.

Detailed Description

Pointer state shared by all input tools: the buttons currently held and a synthetic, monotonic event clock (like QTest's lastMouseTimestamp).


The documentation for this struct was generated from the following file: