Qt animation with double values

时光毁灭记忆、已成空白 提交于 2019-12-24 20:48:02

问题


I'm animating the value transition in a gauge

CircularGauge {
    onValueChanged: {
        console.info('val' , value)
    }

    Behavior on value {
        RotationAnimation {
            duration: 20000
        }
    }
}

But the animation only happens in steps of 1. I did not find a way to make them do smaller steps.

Is there a way?

来源:https://stackoverflow.com/questions/52782886/qt-animation-with-double-values

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!