Reputation: 327
I'm newbie in QT. I'm following some videos and decided to do something by myself.
The idea is that the first screen asks for the user to put the password, if it matches I would like to change the content of the same window to something different.
I know how to create a new window but I can't change the current one. How can I do that?
Upvotes: 2
Views: 1325
Reputation: 43662
A QWizard is probably one of the most suited classes if you intend to change your window contents as a sequence of pages (QWizardPage
s)
A second famous alternative: QStackedWidget which displays only one widget at a time in a stack fashion.
Upvotes: 3