Qt Reference Documentation

# UI Components: Dial Control Example

Files:

- declarative/ui-components/dialcontrol/dialcontrol.svg
- declarative/ui-components/dialcontrol/qml/dialcontrol/dialcontrol.qml
- declarative/ui-components/dialcontrol/qml/dialcontrol/content/Dial.qml
- declarative/ui-components/dialcontrol/qml/dialcontrol/content/QuitButton.qml
- declarative/ui-components/dialcontrol/main.cpp
- declarative/ui-components/dialcontrol/dialcontrol.pro
- declarative/ui-components/dialcontrol/dialcontrol.qmlproject

This example shows how to create a dial-type control. It combines Image elements with Rotation transforms and SpringAnimation behaviors to produce an interactive speedometer-type dial.