slint/examples/speedometer
David Faure 29e289fbdf Move the workspace to rust edition 2024
Motivation: the git pre-commit hook is confused by the mix of 2021 and
2024 in the same workspace...

The only problem this raises is the std::env::set_var("LANGUAGE", lang) in
demos/printerdemo/rust/lib.rs, pre-existing but now explicitly marked as unsafe
because it actually is. Added a TODO there.
2025-12-09 12:11:04 +01:00
..
rust Move the workspace to rust edition 2024 2025-12-09 12:11:04 +01:00
01 Digitall.ttf Examples: Speedometer demo (#9752) 2025-10-16 15:10:11 +03:00
01 Digitall.ttf.license Examples: Speedometer demo (#9752) 2025-10-16 15:10:11 +03:00
demo.slint Enhance speedometer (#9801) 2025-10-21 10:19:02 +03:00
needle.png Examples: Speedometer demo (#9752) 2025-10-16 15:10:11 +03:00
README.md Remove license header from .md/.mdx files 2025-12-04 21:58:09 +01:00

Speedometer Screenshot

Speedometer demo

Demonstrate how to create a speedometer with Slint using conic gradients, scale and rotation.

| Online simulation | Online code editor