Results 1 to 4 of 4

Thread: QT4 how to get the special effect of switching pictures

  1. #1
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Unhappy 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.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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 .

  3. #3
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: QT4 how to get the special effect of switching pictures

    Quote Originally Posted by aamer4yu View Post
    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.

  4. #4
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: QT4 how to get the special effect of switching pictures

    Is there anyone to tell me the specific solution?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.