Module defining the wizards interface to be implemented by individual wizards.
| WizardIFace | Base class defining the wizards interface to be implemented by individual wizards. |
| None |
Base class defining the wizards interface to be implemented by individual wizards.
Any child class has to implement these class methods:
| WizardIFace | Constructor |
| getAction | Public method to get the action associated with this class wizard. |
| handle | Worker method associated with the wizard action |
Constructor
Public method to get the action associated with this class wizard.
The following is an example.
self.action = QAction(self.trUtf8("Sample Wizard"),
self.trUtf8("&Sample Wizard..."), 0, self)
self.action.setStatusTip(self.trUtf8("Sample wizard"))
self.action.setWhatsThis(self.trUtf8(
"""<b>Wizard</b>"""
"""<p>Sample wizard</p>"""
))
self.connect(self.action, SIGNAL("activated()"), self.handle)
return self.action
Worker method associated with the wizard action