Results 1 to 8 of 8

Thread: Can you create a custom multi-page QWizard with QtDesigner

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Can you create a custom multi-page QWizard with QtDesigner

    Here is an example. Notice that each page has a header and implementation file. Look at the wizard form in Designer and note that the two pages have a class that is not QWizardPage but a subclass of QWizardPage. This is the "promotion" feature. Right-click one of the pages in the object inspector and select "Promoted Widgets..." This is where you define the "promoted" classes that are available. You can also demote the page from the content menu.

    wiz.zip

  2. The following user says thank you to ChrisW67 for this useful post:

    astodolski (15th November 2012)

  3. #2
    Join Date
    Oct 2012
    Location
    The land of pain (NY)
    Posts
    99
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Default Re: Can you create a custom multi-page QWizard with QtDesigner

    Quote Originally Posted by ChrisW67 View Post
    Here is an example. Notice that each page has a header and implementation file. Look at the wizard form in Designer and note that the two pages have a class that is not QWizardPage but a subclass of QWizardPage. This is the "promotion" feature. Right-click one of the pages in the object inspector and select "Promoted Widgets..." This is where you define the "promoted" classes that are available. You can also demote the page from the content menu.

    wiz.zip
    Thanks VERY much!

Tags for this Thread

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.