~/talk

Input Handling Update

Talkat Akademy 2020 · 2020-09-04..09-11
links:none on file
slides:none on file

Qt 6 adds a stable device object to every QInputEvent so code can tell which hardware produced an event, and introduces QPointerEvent as a common API for mouse, touch and tablet input to enable unified delivery and less mouse-emulation. Delivery moves persistent point state (grabbers, passive/exclusive) into the pointing device, events are held by value so they’re copyable/replayable, platform plugins must register devices (with macOS limitations), and Qt Quick can finally make Flickable touch-aware and get proximity and pressure support for tablets. every QInputEvent carries a device pointer QPointerEvent unifies mouse touch tablet

AI-written summary · about

  1. 0:00Start
  2. 1:35Goals
  3. 2:00Device Hierarchy
  4. 15:09Subclasses
  5. 15:50Delivery to Handlers
  6. 17:53Initial Conditions
  7. 18:51Design Decisions
  8. 19:26Where Should We Put the Storage Single Point Event
  9. 22:45Qml Gadgets
  10. 25:07Agnostic Delivery
  11. 27:23Point Handler
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.