View Full Version : How do I move from one window to the other on a click of a button?

19th November 2013, 10:59
Hi everyone, I'm currently developing an app that begins with the login widget and the user obviously has to enter their logins details and then click the login button. After that the login widget is suppose to open up the main window. how can i make this happen?

19th November 2013, 12:02
Several ways to do what you want -
1) Use QStackedWidget and set next widget after login is done
2) Call afterLoginWindow->show() on login button processing

19th November 2013, 12:31
Thank you for replying. since i already have my login widget how do i then apply the QStackWidget on my login widget?