View Full Version : Image Gallery Viewer

19th December 2009, 06:45

How could I implement a image gallery viewer on Qt Windows applications similar to what is shown as below?


The center photo should be the focus image than the left and right photos, which both of left and right photo give a glimpse of the previous and next photo to come.

Would want to scroll forward backward in the collection of photos, either using left / right button shown in the picture above, or some sort of touch events.

Would love to see both left and right photos have some fade in fade out effect.

Thanks in advance.

19th December 2009, 08:24
QGraphicsView, QPropertyAnimation and QGraphicsEffect.

19th December 2009, 09:39
QGraphicsView, QPropertyAnimation and QGraphicsEffect.

Hi Lykurg,

Thanks again for pointing out the relevant Qt classes.

Let me explain these classes in my implementations. Correct me if there's anything wrong.

Use QGraphicsView to make the gallery. Could QGraphicsView show few images at once?
Use QPropertyAnimation for the scroll left right effects on the QGraphicsView. Do I need to include QPropertyAnimation in my QGraphicsView?
Use QGraphicsEffect for the fading effect when the images is located at the left and right of the center image. Should I use this QGraphicsEffect after the scroll and after the images is in place?

Thanks in advance.

19th December 2009, 09:41
...or PictureFlow (http://ariya.blogspot.com/2007/10/pictureflow-clone-of-coverflow-as-qt.html).

19th December 2009, 09:55
...or PictureFlow (http://ariya.blogspot.com/2007/10/pictureflow-clone-of-coverflow-as-qt.html).

Thanks, wysota! PictureFlow (http://ariya.blogspot.com/2007/10/pictureflow-clone-of-coverflow-as-qt.html) is a nice widget.

However, I'm looking forward to implement it myself. :p