I have placed a QGraphicsView widget on a main window and promoted it to
a custom widget.
I have created a scene attached to the view and added a pixmap to the scene.
I then loaded a jpeg image into the scene.
I copied the drawBackdrop method from the Qt Elastic Nodes sample.
I get the backdrop drawn but can not see the loaded image.
I've just started using designer - I can make this work coding by hand,
but I seem to be missing something when trying to get the image to
display when I do a show() on the top level main window generated by designer.
anyone one have a bit of sample code that works that they could share - would be greatly appreciated.
Bookmarks