3

18th of April 2022 to 24th of April 2022

 2 years ago
source link: https://slint-ui.com/thisweek/2022-04-25.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

18th of April 2022 to 24th of April 2022

Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++, and JavaScript.

Find more information at https://slint-ui.com/ or go straight to github at https://github.com/slint-ui/slint

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK