Qt 6.11 is out! See what's new in the release
blog
Animate appearance and disappearance of widgets? [SOLVED]
General and Desktop
3
Posts
2
Posters
776
Views
1
Watching
-
Hello,
I can make widgets appear and disappear by hide() and show().
However the transition happens instantaneously.
I want that the transition should happen smoothly and slowly, which is sort of an animation for me.
Is it possible to achieve this in Qt? -
Hi,
Yes. Animate the opacity of widget using QPropertyAnimation.
-
Thank you very much!
Does the job for me.