def _create_metadata_converter_action(self):
        """Create action for showing metadata converter dialog."""
        icon = resources_path('img', 'icons', 'show-metadata-converter.svg')
        self.action_metadata_converter = QAction(
            QIcon(icon),
            self.tr('InaSAFE Metadata Converter'),
            self.iface.mainWindow())
        self.action_metadata_converter.setStatusTip(self.tr(
            'Convert metadata from version 4.3 to version 3.5.'))
        self.action_metadata_converter.setWhatsThis(self.tr(
            'Use this tool to convert metadata 4.3 to version 3.5'))
        self.action_metadata_converter.triggered.connect(
            self.show_metadata_converter)
        self.add_action(
            self.action_metadata_converter, add_to_toolbar=self.full_toolbar)
def _create_metadata_converter_action ( self ) : icon = resources_path ( 'img' , 'icons' , 'show-metadata-converter.svg' ) self . action_metadata_converter = QAction ( QIcon ( icon ) , self . tr ( 'InaSAFE Metadata Converter' ) , self . iface . mainWindow ( ) ) self . action_metadata_converter . setStatusTip ( self . tr ( 'Convert metadata from version 4.3 to version 3.5.' ) ) self . action_metadata_converter . setWhatsThis ( self . tr ( 'Use this tool to convert metadata 4.3 to version 3.5' ) ) self . action_metadata_converter . triggered . connect ( self . show_metadata_converter ) self . add_action ( self . action_metadata_converter , add_to_toolbar = self . full_toolbar )
Create action for showing metadata converter dialog.