InaSAFE Disaster risk assessment tool by AusAid GUI InaSAFE Wizard Dialog.
Contact : ole.moller.nielsen@gmail.com
Note
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Bases: PyQt4.QtCore.QObject
Analysis handler for the dock and the wizard.
A helper to spawn an error and halt processing.
An exception will be logged, busy status removed and a message displayed.
Note
Copied from the dock
Parameters: |
|
---|
Remove dispatcher for all available signal from Analysis.
Note
Adapted from the dock
Setup dispatcher for all available signal from Analysis.
Note
Adapted from the dock
Setup analysis to make it ready to work.
Note
Copied or adapted from the dock
Open map in composer given MapReport instance.
Parameters: | impact_report (ImpactReport) – Impact Report to be opened in composer. |
---|
Open impact report dialog that used define report options.
Parameters: | mode – Mode for report - defaults to PDF. |
---|
Print map to PDF given MapReport instance.
Parameters: | impact_report (ImpactReport) – Impact Report instance that is ready to print |
---|
Restore settings from QSettings.
Do this on init and after changing options in the options dialog.
Send a dynamic message to the message viewer.
Dynamic messages are appended to any existing content in the MessageViewer.
Note
Modified from the dock
Parameters: |
|
---|
Send an error message to the message viewer.
Error messages cause any previous content in the MessageViewer to be replaced with new content.
Note
Copied from the dock
Parameters: | error_message (ErrorMessage) – An instance of our rich error message class. |
---|
Helper function for slot activated when the process is done.
Note
Adapted from the dock
Parameters: |
|
---|---|
Returns: | Provides a report for writing to the dock. |
Return type: | str |