Results 1 to 10 of 10

Thread: Create multi UI screen application using C++ and navigate through it using PushButton

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 453 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Create multi UI screen application using C++ and navigate through it using PushBu

    I have gone through net and found that using QStackWidget this is possible and easy, like:
    Did you consider using QWizard, it might be better for your need, it already has forward and backward navigation between multiple pages (widgets)
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  2. #2
    Join Date
    Aug 2013
    Location
    India
    Posts
    9
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Create multi UI screen application using C++ and navigate through it using PushBu

    Quote Originally Posted by Santosh Reddy View Post
    Did you consider using QWizard, it might be better for your need, it already has forward and backward navigation between multiple pages (widgets)
    Thanks, but basically i mean Goto specific screen on pushbutton press. Sorry i should have mentioned that.
    I am still not able to link it, how to add MainWindow.UI and MainWindow1.UI to QStackWidget and access them by index.

    Thanks in Advance
    Sahil Kulkarni

  3. #3
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 453 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Create multi UI screen application using C++ and navigate through it using PushBu

    Thanks, but basically i mean Goto specific screen on pushbutton press. Sorry i should have mentioned that.
    That can be done using QWizard, the push button can be linked to any wizard page.

    I am still not able to link it, how to add MainWindow.UI and MainWindow1.UI to QStackWidget and access them by index.
    Load mainwindow.ui into widget, load mainwindow1.ui into widget1 and then put widget and widget1 into QStackedWidget
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  4. The following user says thank you to Santosh Reddy for this useful post:

    sask1236 (30th August 2013)

Similar Threads

  1. Replies: 3
    Last Post: 25th January 2011, 13:36
  2. Replies: 0
    Last Post: 19th January 2011, 03:29
  3. How to detect multi screen in QT?
    By Kevin Hoang in forum Qt Programming
    Replies: 9
    Last Post: 26th March 2010, 23:02
  4. Display a QWidget using multi-screen
    By tarod in forum Qt Programming
    Replies: 3
    Last Post: 30th June 2008, 14:02
  5. multi screen
    By Thomas Feldman in forum Qt Programming
    Replies: 5
    Last Post: 9th May 2007, 16:41

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
  •  
Qt is a trademark of The Qt Company.