Hi,
I'am ok with that but sometimes it could be helpful to try different methods. If you didn't try, have it your way
by the way, did you add your item to the scene right? I see addWidget there maybe you should replace it with addItem?
Hi,
I'am ok with that but sometimes it could be helpful to try different methods. If you didn't try, have it your way
by the way, did you add your item to the scene right? I see addWidget there maybe you should replace it with addItem?
been there done that
I've tried all manners to update a scene, and all manners to add a widget into a scene...
Maybe it's not meant to add a QGraphicsView in another?
(I've tried other QGraphicsProxyWidget and then it works just fine, the problem seems to occur only when I try to add another QGraphicsView)
Great than![]()
Sorry if you misunderstood me, but I still haven't find any solution,
I really need to add a QGraphicsView into another QGraphicsView, I still get the error...
Ok,
I think you know one scene can be observed by several views but your style seems really wierd (adding another QGraphicsView inside the QGraphicsScene which inside another QGraphicsView).
Hımm, you may try to add a new scene in to your QGraphicsProxyWidget.
You can also send me your source code if possible. I can check it out.
The reason why I'm adding a view to another scene is because my bord (means puzzle) is a class on its own, accidentally using a scene+view itself.
My interface is a large scene/view, and graphicsitems and buttons are added to that scene. Just like that, I'm adding a Bord (puzzle) class, which is a GraphicsView itself.
Since the puzzle uses drag and drop, I can't see any other way to implement it.
Bookmarks