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
|