QGraphicsView && QGraphicsPixmapItem && effect while changing image
-
Hi all,
I have an application that show in a QGraphicsView an image using a QGraphicsPixmapItem.
@
QPixmap pixmap;
QGraphicsPixmapItem *m_pixmapItem;
...
...
m_pixmapItem->setPixmap(pixmap);
@If I want to show another pixmap I only call:
@
QPixmap pixmap2;
...
m_pixmapItem->setPixmap(pixmap2);
@This works fine and I see the correct image in the QGraphicsView.
Now I'd like to have a fade-in and fade-out between images when changing image.
Is it possible?