Hi!

I'm developing a class that must contain like "products for sale list" in the form of graphics (QPixmap). So, I've chose QGraphicsView (for a similiar situation, in the past I've used QScrollArea and a QGridLayout to manage widgets buts is slow when you use to many widgets). The problem is that I've never used it.

What I plan to do is: having a way to arrange QPixmaps items inside QGraphicsView, so my question is: Do I need a layout to handle pixmaps in a easy way? Having in mind that items can be added and deleted so I must re-arrange items.

I've reading how QGraphicsViews works, the scene and such, but I don't have clear how to work with a layout and pixmaps items inside this.

Can anyone supply a small example code?

I will be very grateful.

Thanks in advance.