GraphAnimation QML Type
GraphAnimation 类型是所有 2DQt Graphs 系列动画的基础类型。更多内容...
| Import Statement: | import QtGraphs |
| Inherited By: | GraphPointAnimation, SplineControlAnimation, and XYSeriesAnimation |
- 所有成员列表(包括继承的成员)
- GraphAnimation 属于“Qt Graphs 2D QML 类型”的一部分。
属性
- AnimationState : enumeration
- GraphAnimationType : enumeration
- animating : GraphAnimation::AnimationState
详细说明
GraphAnimation 基于 VariantAnimation,并为子动画提供了插值接口。该类型为抽象类型,本身不包含任何默认的插值实现。应使用其派生类型来实现相应的动画,例如GraphPointAnimation 、SplineControlAnimation 。
属性文档
AnimationState : enumeration
动画状态。
| 常量 | 描述 |
|---|---|
Playing | 动画正在播放。 |
Stopped | 动画已停止。 |
GraphAnimationType : enumeration
动画类型。
| 常量 | 描述 |
|---|---|
GraphPoint | GraphPointAnimation 动画。 |
ControlPoint | 一个 ControlPointAnimation 动画。 |
animating : GraphAnimation::AnimationState
保存动画状态。取值为GraphAnimation::AnimationState 中的一个。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.