QT4 how to get the special effect of switching pictures
Hello guys, I am using qt4 to do a program that shows a set of images. It uses the classes that include QImage、QLabel and QPixmap.
Now it has a problem, when shows the next image, the next image appears on the screen at once, the effect is not fluent.
Anyone can support a way to let the previous image fadeout gradually and then the next image appears.
Re: QT4 how to get the special effect of switching pictures
You can create your own effects, Just use QTimeLine or QTimer, and slowly fade out the image you want to close, and fade in the next image .
You can also search for animation alogos like dissolve, fade, move, etc.. and use it .
Re: QT4 how to get the special effect of switching pictures
Quote:
Originally Posted by
aamer4yu
You can create your own effects, Just use QTimeLine or QTimer, and slowly fade out the image you want to close, and fade in the next image .
You can also search for animation alogos like dissolve, fade, move, etc.. and use it .
Thanks for your help , but I have used QTimer to show images in turn and I want to know exactly how to slowly fade out the image I want to close.
Re: QT4 how to get the special effect of switching pictures
Is there anyone to tell me the specific solution?