Qt6 QML Book/动画元素类型/动画元素类型

Fluid Elements

动画元素类型

Until now, we have mostly looked at some simple graphical elements and how to arrange and manipulate them.

到目前为止,我们主要关注一些简单的图形元素以及如何排列和操作它们。

This chapter is about how to make these changes more interesting by animating them.

本章介绍如何通过设置动画,使这些属性变化更有趣。

Animations are one of the key foundations for modern, slick user interfaces, and can be employed in your user interface via states, transitions and animations. Each state defines a set of property changes and can be combined with animations on state changes. These changes are described as a transition from one state to another state.

动画是现代流畅用户界面的关键基础之一,可以通过状态、过渡和动画在用户界面中使用。每个状态定义一组属性变化,并且可以与状态更改时的动画组合。这些属性的变化被描述为从一个状态到另一个状态的过渡。

Besides animations being used during transitions, they can also be used as standalone elements triggered by some scripted events.

除了过渡时使用的动画外,它们还可以通过某些独立元素的脚本事件触发。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值