本页内容

Qt Quick Timeline QML Types

QtQuick.Timeline 导入

要将 QML 类型导入到您的应用程序中,请在 .qml 文件中使用以下导入语句:

import QtQuick.Timeline

Keyframe

关键帧

KeyframeGroup

关键帧组

Timeline

时间线

TimelineAnimation

附加到时间轴上的数值动画

QtQuick.Timeline.BlendTrees import

BlendTrees 子模块提供了用于将多个TimelineAnimation融合在一起以创建新的动态动画的 QML 类型。

要将这些 QML 类型导入到您的应用程序中,请在 .qml 文件中使用以下导入语句:

import QtQuick.Timeline.BlendTrees

BlendAnimationNode

一个在两个动画源之间进行混合的混合树节点

BlendTreeNode

所有混合树节点的基类

TimelineAnimationNode

用于播放时间轴动画的混合树源节点

© 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.