Results 1 to 3 of 3

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

  1. #1
    Join Date
    Jul 2012
    Posts
    201
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default How do I move from one window to the other on a click of a button?

    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?

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How do I move from one window to the other on a click of a button?

    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

  3. #3
    Join Date
    Jul 2012
    Posts
    201
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How do I move from one window to the other on a click of a button?

    Thank you for replying. since i already have my login widget how do i then apply the QStackWidget on my login widget?

Similar Threads

  1. Replies: 1
    Last Post: 20th March 2013, 19:38
  2. Replies: 3
    Last Post: 15th March 2012, 15:30
  3. Replies: 6
    Last Post: 9th November 2011, 04:31
  4. Show new window on button click
    By jojanpm in forum Newbie
    Replies: 1
    Last Post: 29th November 2010, 12:51
  5. Replies: 0
    Last Post: 10th September 2010, 13:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.