widgets.tool_configuration_assistant_widget
¶
Widget for assisting the user in configuring tools, such as SpineModel.
author: |
|
---|---|
date: | 9.1.2019 |
Module Contents¶
-
class
widgets.tool_configuration_assistant_widget.
ToolConfigurationAssistantWidget
(toolbox, autorun=True)[source]¶ Bases:
PySide2.QtWidgets.QWidget
A widget to assist the user in configuring external tools such as SpineModel.
-
autorun
¶ whether or not to start configuration process at form load
Type: bool
-
add_spine_model_msg
(self, msg)[source]¶ Append message to SpineModel log.
Parameters: msg (str) – String written to QTextBrowser
-
add_spine_model_error_msg
(self, msg)[source]¶ Append error message to SpineModel log.
Parameters: msg (str) – String written to QTextBrowser
-
add_spine_model_success_msg
(self, msg)[source]¶ Append success message to SpineModel log.
Parameters: msg (str) – String written to QTextBrowser
-
_handle_spine_model_version_check_finished
(self, ret)[source]¶ Run when the Spine Model configuration assistant has finished checking SpineModel version. Install SpineModel if not found, otherwise check the python program used by PyCall.
-
_handle_spine_model_installation_finished
(self, ret)[source]¶ Run when the Spine Model configuration assistant has finished installing SpineModel. Check the python program used by PyCall.
-
_handle_py_call_program_check_finished
(self, ret)[source]¶ Run when the Spine Model configuration assistant has finished checking the python program used by PyCall. Install PyCall if not found, otherwise reconfigure PyCall to use same python as Spine Toolbox if it’s not the case.
-
_handle_py_call_installation_finished
(self, ret)[source]¶ Run when the Spine Model configuration assistant has finished installing PyCall. Check the python program used by PyCall.
-
_handle_py_call_reconfiguration_finished
(self, ret)[source]¶ Run when the Spine Model configuration assistant has finished reconfiguring PyCall. End Spine Model configuration.
-