wizard class

wizard class The wizard class provides a framework for wizard dialogs.
Inherits
object widget
Description
A wizard is an input dialog that consists of a sequence of dialog pages. It walks the user through a process step by step.
Functions

`$addPage(<page_widget:object>,<title:string>)`
Add a page with title.<page_widget> must be a widget's object.
`$insertPage(<page_widget>,<title:string>,<index:integer>)`
Inserts a page at the position <index>. If index is -1, page will appended to the end of the wizard's page sequence.
`$setTitle(<page>,<title:string>)`
Sets the title for page page to title text.
`$setBackEnabled(<page_widget>,<bEnabled:boolean>)`
If enable is set to 1, page page has a back button; otherwise page has no back button. By default all pages have this button.
`$setNextEnabled(<page_widget>,<bEnabled:boolean>)`
If enable is set to 1, page page has a next button; otherwise the next button on page is disabled. By default all pages have this button.
`$setFinishEnabled(<page_widget>,<bEnabled:boolean>)`
If enable is set to 1, page page has a finish button; otherwise the finish button on page is disabled. By default NO pages have this button.
`$setHelpEnabled(<page_widget>,<bEnabled:boolean>)`
If enable is set to 1, page page has a Help button; otherwise the help button on page is disabled. By default all pages have this button.
`$setNextBtnText(<text:string>)`
Set the text for button next.
`$setBackBtnText(<text:string>)`
Set the text for button back.
`$setFinishBtnText(<text:string>)`
Set the text for button finish.
`$setHelpBtnText(<text:string>)`
Set the text for button Help.
`$acceptEvent()`
This function is called when the user clicks on the finish button.
`$rejectEvent()`
This function is called when the user clicks on the reject button.
`$nextClickedEvent()`
This function is called when the user clicks on the next button.
`$backClickedEvent()`
This function is called when the user clicks on the back button.

Signals

`$nextClicked()`
This signal is emitted by the default implementation of $nextClickedEvent().
`$backClicked()`
This signal is emitted by the default implementation of $backClickedEvent().

Index, Object Classes