Results 1 to 7 of 7

Thread: Disabling the buttons in QWizard

Hybrid View

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

    Default Re: Disabling the buttons in QWizard

    Ie to disable CustomButton1 :
    Qt Code:
    1. wizard()->setOption(QWizard::HaveCustomButton1, false);
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jun 2008
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Disabling the buttons in QWizard

    hey,

    in Qt4 there are some methods to handle the standard buttons of QWizard.

    setCommitPage( true) - disables Back button
    setFinalPage(true) - shows Finish Button, not Next, if isComplete returns true

    implement isComplete() - to disable/enable Next or Finish Button
    reimplement isFinalPage() - to show Finish Button

    Read docs to do more fine things

    Bye

Similar Threads

  1. Disabling the buttons in QWizard
    By divya balachandran in forum Qt Programming
    Replies: 1
    Last Post: 17th September 2008, 18:52
  2. Disabling Wizard Buttons in a QWizard
    By JimDaniel in forum Qt Programming
    Replies: 1
    Last Post: 30th October 2007, 17:53

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.