Hello all,
First of all I apologize if this subject has been already debated on the forums, but I couldn't find anything to solve my issue.
I am using the Visual 2010 Add-In for Qt(Qt Vs. 5.2.0). I want to have something similar to this(click on the below image so you can have a better view about this).
QT_UI.jpg
So, as you can see I have a label where I display about three pics. These pics are loaded from a given directory.
I want to be able to load multiple image from the directory but only display three and move through the image list with those buttons(Up and Down). When I load these images, a current image can be selected to be displayed as a preview.
This is my desired behavior.
What I don't know.
What to choose to display the related images from the image list. I've used a QWidget where multiple QLabel have been added. Each label is used to display a image. However, I can't trigger an action in order to be able to have a preview of a given image(currently I'm using a click() Preview button to set the preview of the first image from my list). So, this is not seems to be a good approach.
I read multiple articles about QGraphicsView and QGraphicsScene and this seeems what I have to use. Unfortunately I am not able to make this working.
I don't know how to implement that, to display those three images and navigate between the image list with Up and Down button.
I would be gratefully if you can share these knowledge with me and all the QT users.
So, how to load multiple images, display only some of them(about 3 of them) in a label, be able to navigate through the image list and be able to display one image from those three as a preview image. Just sent a signal when I select a picture and set the image in the preview label.
If you need more details from me, please do not hesitate to ask.
Thanks a lot,
Danny
Bookmarks