18th of April 2022 to 24th of April 2022

The keyboard focus handling we had implemented last week saw some polish.

Tab-focus in action

Tab-focus should now work with more widgets -- both use the Qt as well as the fluent style. The nightly web demos were also fixed to properly forward the Tab key from the browser to Slint applications. Note that the demos linked from the web site use the latest released version of Slint and do not support this yet!

Slint UI Library

New Features

  • Implement keyboard focus support in the native Tab widget (#1173)

    Focus the tabs straight away when pressing cursor left/right keys.

Fixes

  • Focus: Do not send keyboard event to invisible widgets (#1186)

    Do not send keyboard events to invisible widgets, reset the keyboard focus instead.

    This fixes #798 again with a bit less of a work-around. To properly fix this we will need to make the tab widget (and probably others) more intelligent though.

  • Add a Model::row_data_tracked function (#1182)

    Closes #1177

  • Fix Tab and BackTab in WASM (#1188)

    This has the added complication of needing to work with on screen keyboards on mobile devices.

Documentation

  • Documentation: add a edit link to .slint snippet that open the code editor (#1140)
  • Recipes: Slider and Tabs (#1185)

    Add a recipe for using sliders and tabs.

  • Recipes: add custom widgets (#1181)

Statistics

25 patches were committed in 11 pull requests by 3 authors.

← Next : 25th of April 2022 to 2nd of May 2022 | Previous : 11th of April 2022 to 17th of April 2022


Slint is a declarative GUI toolkit to build native user interfaces for desktop and embedded applications written in Rust, C++, or JavaScript. Find more information at https://slint.dev/ or check out the source code at https://github.com/slint-ui/slint