摘要:
在开始界面构造函数中添加 1 QPropertyAnimation *animation = new QPropertyAnimation(this, "windowOpacity"); 2 animation->setDuration(1000); 3 animation->setStartVal 阅读全文
posted @ 2024-05-29 14:09
一杯清酒邀明月
阅读(254)
评论(0)
推荐(0)
摘要:
前言 QPropertyAnimation是QT中的一个动画类,用于对目标对象的属性进行动画效果展示。该类继承自QAbstractAnimation类,使用起来非常方便和灵活。 一、QPropertyAnimation类介绍 QPropertyAnimation可以对任何QObject的子类的属性进 阅读全文
posted @ 2024-05-29 13:44
一杯清酒邀明月
阅读(2208)
评论(1)
推荐(1)
浙公网安备 33010602011771号