Results 1 to 2 of 2

Thread: Passing data between QWizard and QWizardpages

  1. #1
    Join Date
    Nov 2014
    Posts
    1
    Platforms
    Unix/X11

    Default Passing data between QWizard and QWizardpages

    Hello people,
    I'm quite new in C++ programming and encountered QWizard class. Could you pls give me a hint, how can I pass values from QWizard to QWizardpages? (Let's assume, that I passed values from my application to my QWizard class.)

  2. #2
    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: Passing data between QWizard and QWizardpages

    You can either use the QWizard::setField() (Qt specific) mechanism after the QWizardPage has registered the field during construction, or provide your QWizardPage subclass with setter functions/constructor arguments (generic C++) to take the values.

Similar Threads

  1. get data from QWizardPages - which signal?
    By dotjan in forum Newbie
    Replies: 2
    Last Post: 14th February 2012, 11:48
  2. Replies: 0
    Last Post: 20th July 2010, 18:31
  3. Passing QTableWidget values to another QWizard page
    By slava in forum Qt Programming
    Replies: 2
    Last Post: 1st July 2010, 13:42
  4. Replies: 28
    Last Post: 7th May 2010, 12:29
  5. QWizard with QWizardPages gives blank pages?
    By Tiansen in forum Qt Programming
    Replies: 4
    Last Post: 4th March 2008, 06:45

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.