Been playing around with QT for a little bit now and was wondering which method of window changing is preferred:
- StackedWidget method, when I have to change the current layout to another widget?
- Removing / destroying the current widget and creating a new widget to replace it in the layout?
From past experience I think both have cons and pros, obviously with stackedwidgets they are all created upon creation of the program even if one of the widgets is never actually used by the user. The other method could be problematic with deletion / creation.
If anyone actually has a lot of knowledge using QT, which is the standard way or preferred?