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 sequenze.
$removePage(<page_widget:object>)
Remove a page from the wizard 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 click on the Finish button.
$rejectEvent()
This function is called when thie user click on the Reject button.
$nextClickedEvent()
This function is called when the user click on the Next button.
$backClickedEvent()
This function is called when thie user click 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
KVIrc 3.9.99 Documentation
Generated by root at Wed Oct 17 19:34:06 2007