就业培训     下载中心     Wiki     联络 登录   注册

Log
  1. 首页
  2. Qt 5.12.12
  3. Qt Quick
  4. UI 组件:表盘控件范例

UI 组件:表盘控件范例

The Dial Control Example shows how to create a speedometer-type dial.

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.

文件:

  • customitems/dialcontrol/content/Dial.qml
  • customitems/dialcontrol/content/QuitButton.qml
  • customitems/dialcontrol/dialcontrol.pro
  • customitems/dialcontrol/dialcontrol.qml
  • customitems/dialcontrol/dialcontrol.qmlproject
  • customitems/dialcontrol/dialcontrol.qrc
  • customitems/dialcontrol/main.cpp

图像:

  • customitems/dialcontrol/content/background.png
  • customitems/dialcontrol/content/needle.png
  • customitems/dialcontrol/content/needle_shadow.png
  • customitems/dialcontrol/content/overlay.png
  • customitems/dialcontrol/content/quit.png

版权所有  © 2014-2025 乐数软件    

工业和信息化部: 粤ICP备14079481号-1