Results 1 to 3 of 3

Thread: Closing the Wizard Automatically

  1. #1
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question Closing the Wizard Automatically

    Iam working in Qt4..using the QWizard and QWizardPage classes

    In my assignment , i have a progressbar in one of the pages..

    When the progress reaches 100% the Wizard should close/ terminate automatically..

    What i have to do for terminating the wizard..?

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Closing the Wizard Automatically

    try
    Qt Code:
    1. qApp->quit();
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Mar 2008
    Posts
    141
    Thanks
    10
    Thanked 9 Times in 9 Posts

    Default Re: Closing the Wizard Automatically

    Hi,

    maybe call the accept() slot.

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.