Results 1 to 5 of 5

Thread: Overriding methods for QWizardPage(s) created in Qt Designer and accessing widgets.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Overriding methods for QWizardPage(s) created in Qt Designer and accessing widge

    In Qt Designer promote one QWizardPage to IntroPage

  2. #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: Overriding methods for QWizardPage(s) created in Qt Designer and accessing widge

    That sounds like you're suggesting adding a page and promoting it to IntroPage? Is that correct?


    Dzięki


    Added after 5 minutes:


    Quote Originally Posted by Lesiok View Post
    In Qt Designer promote one QWizardPage to IntroPage

    I get errors:

    d:\flashwizard\ui_flashwizard.h:38: error: C2327: 'Ui_FlashWizard::IntroPage' : is not a type name, static, or enumerator
    d:\flashwizard\ui_flashwizard.h:82: error: C2061: syntax error : identifier 'IntroPage'
    Last edited by astodolski; 24th October 2012 at 19:50.

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Overriding methods for QWizardPage(s) created in Qt Designer and accessing widge

    Yes, we use this method on a daily basis. Errors can result from improperly specified header file with the definition of the class IntroPage.

  4. #4
    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: Overriding methods for QWizardPage(s) created in Qt Designer and accessing widge

    Please explain in a little more detail. There are no real methods detailing promoting a QWizardPage to an existing class.

Similar Threads

  1. Replies: 9
    Last Post: 5th July 2012, 22:48
  2. Replies: 6
    Last Post: 20th June 2012, 13:21
  3. Dynamic plugin: accessing parent's methods
    By codeslicer in forum Qt Programming
    Replies: 1
    Last Post: 4th January 2011, 09:16
  4. Replies: 1
    Last Post: 15th September 2010, 22:26
  5. Accessing QMainWindow methods
    By vieraci in forum Qt Programming
    Replies: 2
    Last Post: 21st April 2009, 08:38

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.