コード例 #1
0
ファイル: plugin.py プロジェクト: Samweli/inasafe
    def show_shakemap_importer(self):
        """Show the converter dialog."""
        # import here only so that it is AFTER i18n set up
        from safe.gui.tools.shake_grid.shakemap_importer_dialog import ShakemapImporterDialog

        dialog = ShakemapImporterDialog(self.iface.mainWindow())
        dialog.exec_()  # modal
コード例 #2
0
    def show_shakemap_importer(self):
        """Show the converter dialog."""
        # import here only so that it is AFTER i18n set up
        from safe.gui.tools.shake_grid.shakemap_importer_dialog import (
            ShakemapImporterDialog)

        dialog = ShakemapImporterDialog(self.iface.mainWindow())
        dialog.exec_()  # modal