My application requires the user to switch between multiple screens. I do this by creating different QFrames for each screen, and then setting Qframes as central widgets in MainWindow. The problem is that every time I call setCentralWidget (frame), the old frame is deleted, and I can not access it later. How to save this old frame so that I can access it later?
Please let me know if I am unclear in my question.
source share