Scene handover from one view to another
-
So I am making a game, and I am trying to make the main menu transition to the game without the window closing and opening a new one, which is what is happening now. I want it so when a user hits play, in the same window, the game loads. I tried using extern to reuse the view and scene, which did not work. Any help is greatly appreciated.
-
Hi
Try with other sample ?
like this
http://www.bogotobogo.com/Qt/Qt5_QGraphicsView_QGraphicsScene.php
Where the view and scene are pointers.
And you can easy add a button that clears scene and Insert new stuff.
hope it helps -
Hi,
Externing ? What do you mean by that ?