Table of Contents

Class: WizardIFace ./Wizards/WizardIFace.py

Base class defining the wizards interface to be implemented by individual wizards.

Any child class has to implement these class methods:

handle
the function to be executed getAction -- returns the action associated
Base Classes   
QObject
Methods   
__init__
getAction
handle
  __init__ 
__init__ ( self,  parent=None )

Constructor

Arguments

parent
parent widget (QWidget)
  getAction 
getAction ( self )

Public method to get the action associated with this class wizard.

Returns

the associated action

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

Exceptions   
RuntimeError, 'Not implemented'
  handle 
handle ( self )

Worker method associated with the wizard action

Exceptions   
RuntimeError, 'Not implemented'

Table of Contents

This document was automatically generated on Fri Mar 14 19:55:01 2003 by HappyDoc version 2.1