slint/internal/backends/qt/qt_widgets
Tobias Hunger 749abeabe0 core: Add capture_key_event function into items
... and call that during key event delivery.

Add `capture_key_pressed` and `capture_key_released` callbacks
to `FocusScope` to expose this functionality.

Add a simple test to make sure Interception of key events works as
expected.

Related to: #102, #6390
2025-08-01 20:24:24 +02:00
..
button.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
checkbox.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
combobox.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
groupbox.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
lineedit.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
listviewitem.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
palette.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
progress_indicator.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
scrollview.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
slider.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
spinbox.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
stylemetrics.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
tableheadersection.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00
tabwidget.rs core: Add capture_key_event function into items 2025-08-01 20:24:24 +02:00