InaSAFE Disaster risk assessment tool developed by AusAid - Impact Functions 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.QtGui.QDialog, Ui_FunctionOptionsDialogBase
ConfigurableImpactFunctions Dialog for InaSAFE.
Override the default accept function
Note
see http://tinyurl.com/pyqt-differences # Broken url
Return the widget.property converting the value using the function.
Parameters: |
|
---|---|
Returns: | The property value of widget |
Build a form from impact functions parameter.
Note
Parameters: | parameters – Parameters to be edited |
---|
Build minimum needs tab.
Parameters: | parameters (list) – A list containing element of form |
---|
Build Post Processor Tab.
Parameters: | form_elements (dict) – A Dictionary containing element of form. |
---|
Create a new form element dynamically based from key_value type.
The Parameter Container will be inserted to form_layout.
Parameters: |
|
---|
by the key. :type parameter_value: object, list
Returns: | a function that return the value of widget |
---|---|
Raises: | None |
Show or hide the help tab in the stacked widget.
Parameters: | flag (bool) – Flag indicating whether help should be shown or hidden. |
---|
Parse the input value of widget.
Parameters: | input_dict (dict) – Dictionary that holds all values of element. |
---|---|
Returns: | Dictionary that can be consumed for impact functions. |
Return type: | dict |
Raises: |
|