slint/examples/dial
Tasuku Suzuki 187a2e91d9
Simplify dial example by using inline property bindings (#10205)
Compute relativeX/relativeY as inline bindings instead of updating them
in the event handler. Also use grabbing cursor for better UX.
2025-12-05 10:34:45 +02:00
..
images dial example: move the files one directory down 2024-09-14 18:37:17 +02:00
dial.slint Simplify dial example by using inline property bindings (#10205) 2025-12-05 10:34:45 +02:00
README.md Remove license header from .md/.mdx files 2025-12-04 21:58:09 +01:00

Dial Demo Video

Slint dial example

Dial example. Uses Math.atan2 to calculate the angle and let the user rotate a dial.

Online Preview Online code editor

Planned changes

  • Update the graphics slightly. They are 10 years old and would benefit from a small polish.