mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
![]() Under these windowing systems, we receive a QString text from Qt that contains a terminal control character (like \u{3} for ctrl+c). We decided to supply the character for the key (for example 'c' for Ctrl+C) to the application, so activate the conversion from the key code when control characters are present. With winit, we receive first a key down input event with the virtual key code (for example C for Ctrl+C), followed by a ReceivedCharacter event with a terminal control character. We choose to ignore that and instead take the previously received key code and try to use that instead. Fixes #441 |
||
---|---|---|
.. | ||
build.rs | ||
Cargo.toml | ||
key_generated.rs | ||
lib.rs | ||
qt_widgets.rs | ||
qt_window.rs |