Commit graph

6 commits

Author SHA1 Message Date
Tasuku Suzuki
95d29e9b90
dial example: Restrict angle to the defined range and refine angle calculation (#7181)
- Enforce that the angle stays within the specified start and end angles.
- Transition from using the initial touch angle as a reference to using the previous angle.
2024-12-20 19:39:28 +02:00
Olivier Goffart
d0896e6360 Update the README of new demos 2024-09-24 16:51:46 +02:00
Nigel Breslaw
a6ca636d07
SpriteSheet demo
Simple demo showing how to create a SpriteSheet via the Image element.
2024-09-24 15:59:15 +03:00
Olivier Goffart
890e63d352 dial example: move the files one directory down
There is only one directory alled "ui", so there isn't really need to have
this level of directory.
This aligns with other demo that don't have any source files

Also rename appwindow.slint to dial.slint
2024-09-14 18:37:17 +02:00
Olivier Goffart
8d9c041aa4
dial demo: add links to online preview/editor 2024-09-12 15:50:55 +02:00
Nigel Breslaw
d6dd8343e3
Dial example
Shows off how to use some basic math to create an interactive dial and place visual elements around a circle dynamically.
2024-09-12 15:14:30 +02:00