def show_definitions(self): """Show InaSAFE Definitions (a report showing all key metadata).""" from safe.gui.tools.help_dialog import HelpDialog from safe.gui.tools.help import definitions_help dialog = HelpDialog(self.iface.mainWindow(), definitions_help.definitions_help()) dialog.show() # non modal
def show_definitions(self): """Show InaSAFE Definitions (a report showing all key metadata).""" from safe.gui.tools.help_dialog import HelpDialog from safe.gui.tools.help import definitions_help dialog = HelpDialog( self.iface.mainWindow(), definitions_help.definitions_help()) dialog.show() # non modal
# coding=utf-8 """Interactive test for definitions help.""" from safe.definitions.constants import INASAFE_TEST from safe.test.utilities import get_qgis_app QGIS_APP, CANVAS, IFACE, PARENT = get_qgis_app(qsetting=INASAFE_TEST) from safe.gui.tools.help_dialog import HelpDialog # NOQA from safe.gui.tools.help import definitions_help # NOQA __copyright__ = "Copyright 2016, The InaSAFE Project" __license__ = "GPL version 3" __email__ = "*****@*****.**" __revision__ = 'fdf1afffab4271e5fbb873566278d5b4a7ff5722' dialog = HelpDialog(None, definitions_help.definitions_help())
#!/usr/bin/python """A helper to open the help documentation as a standalone dialog. Tim Sutton, 2016 """ from safe.test.qgis_app import qgis_app from safe.gui.tools.help_dialog import HelpDialog from safe.gui.tools.help import definitions_help APP, IFACE = qgis_app() dialog = HelpDialog(IFACE.mainWindow(), definitions_help.definitions_help()) dialog.show() # non modal APP.exec_()
#!/usr/bin/python """A helper to open the help documentation as a standalone dialog. Tim Sutton, 2016 """ from safe.test.utilities import get_qgis_app, get_dock QGIS_APP, CANVAS, IFACE, PARENT = get_qgis_app() # from PyQt4.QtGui import QApplication from safe.gui.tools.help_dialog import HelpDialog from safe.gui.tools.help import definitions_help dialog = HelpDialog(None, definitions_help.definitions_help()) dialog.show() # non modal QGIS_APP.exec_()
#!/usr/bin/python """A helper to open the help documentation as a standalone dialog. Tim Sutton, 2016 """ from safe.test.utilities import get_qgis_app, get_dock QGIS_APP, CANVAS, IFACE, PARENT = get_qgis_app() # from PyQt4.QtGui import QApplication from safe.gui.tools.help_dialog import HelpDialog from safe.gui.tools.help import definitions_help dialog = HelpDialog( None, definitions_help.definitions_help()) dialog.show() # non modal QGIS_APP.exec_()