trigger.actions.script
This module is for saving / loading custom scripts
Attributes
Classes
Module Contents
- class Script(**kwargs)
Bases:
trigger.core.action.ActionCore- action()
Mandatory Method - Execute Action
- feed(action_data)
Mandatory Method - Feeds the instance with the action data stored in actions session.
- save_action()
Mandatory method for all action modules
- ui(ctrl, layout, *args, **kwargs)
Mandatory Method - UI setting definitions
- Args:
- ctrl: (model_ctrl) ctrl object instance of /ui/model_ctrl.
Updates UI and Model
- layout: (QLayout) The layout object from the main ui.
All setting widgets should be added to this layout
- handler: (actions_session) An instance of the actions_session.
TRY NOT TO USE HANDLER UNLESS ABSOLUTELY NECESSARY
Returns: None
- action_data
- ACTION_DATA
- log