阅读背景:

qt:如何使用QPropertyAnimation激活儿童QPushButton的透明度?

来源:互联网 

I want to progressively decrease the opacity of a QPushButton over a time of 2 seconds to complete transparency. For that I used the QPropertyAnimation class and used the property "windowOpacity" of the button to achieve the effect. But that worked only for a standalone QPushButton. When I assigned a parent to the button, the effect disappeared. Is there any way of achieving the same effect for child buttons ?I want to progressively decrease the opacity of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: