-1
I created a Label to make a slideshow and want to create a transition effect fading between one image and another.
To do this effect, I want to define an opacity of 1.0 à 0.0 in my Label. So far, I am using the code below to change the opacity:
opacity_effect = QtWidgets.QGraphicsOpacityEffect()
opacity_effect.setOpacity(0.3)
label.setGraphicsEffect(opacity_effect)
Searching the internet about animations in Pyqt5, I discovered only the class QtCore.QPropertyAnimation, but that does not seem to suit this case. My question is: how can I create an animation for the properties of GraphicsEffect?