Skip to content Skip to sidebar Skip to footer

Qgraphicspixmapitem Won't Show Over The Other Qgraphicspixmapitem

What am I doing wrong here? I expect that 'image1.jpg' is shown over 'image.jpg' ,at position where I've clicked, but it does not. Here is my code (image1.jpg is 10 times smaller t

Solution 1:

Your code looks correct and works as expected for me ie. the second smaller image displays over the first.

Have you tried displaying just the second image? Perhaps you have an incorrect path which is causing your second image not to show.

Post a Comment for "Qgraphicspixmapitem Won't Show Over The Other Qgraphicspixmapitem"