It definitely won't work this way because of several reasons, one of them being the fact that you create the scene as a local object that gets destroyed when the function ends. I take it that you still don't understand the whole concept of Graphics View and embedding widgets inside it. You should read about it first before doing something practical. A hint - if you want to embed your main window into GV, it should be embedded in it all the time, not only when you want to rotate it.





Reply With Quote
Bookmarks