def _create_keywords_wizard_action(self):
        """Create action for keywords creation wizard."""
        icon = resources_path('img', 'icons', 'show-keyword-wizard.svg')
        self.action_keywords_wizard = QAction(
            QIcon(icon),
            self.tr('Keywords Creation Wizard'),
            self.iface.mainWindow())
        self.action_keywords_wizard.setStatusTip(self.tr(
            'Open InaSAFE keywords creation wizard'))
        self.action_keywords_wizard.setWhatsThis(self.tr(
            'Open InaSAFE keywords creation wizard'))
        self.action_keywords_wizard.setEnabled(False)
        self.action_keywords_wizard.triggered.connect(
            self.show_keywords_wizard)
        self.add_action(self.action_keywords_wizard, add_to_legend=True)
def _create_keywords_wizard_action ( self ) : icon = resources_path ( 'img' , 'icons' , 'show-keyword-wizard.svg' ) self . action_keywords_wizard = QAction ( QIcon ( icon ) , self . tr ( 'Keywords Creation Wizard' ) , self . iface . mainWindow ( ) ) self . action_keywords_wizard . setStatusTip ( self . tr ( 'Open InaSAFE keywords creation wizard' ) ) self . action_keywords_wizard . setWhatsThis ( self . tr ( 'Open InaSAFE keywords creation wizard' ) ) self . action_keywords_wizard . setEnabled ( False ) self . action_keywords_wizard . triggered . connect ( self . show_keywords_wizard ) self . add_action ( self . action_keywords_wizard , add_to_legend = True )
Create action for keywords creation wizard.