PDA

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



ayanda83
19th November 2013, 09: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?

aamer4yu
19th November 2013, 11: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

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