trigger.actions.script ====================== .. py:module:: trigger.actions.script .. autoapi-nested-parse:: This module is for saving / loading custom scripts Attributes ---------- .. autoapisummary:: trigger.actions.script.ACTION_DATA trigger.actions.script.log Classes ------- .. autoapisummary:: trigger.actions.script.Script Module Contents --------------- .. py:class:: Script(**kwargs) Bases: :py:obj:`trigger.core.action.ActionCore` .. py:method:: action() Mandatory Method - Execute Action .. py:method:: feed(action_data) Mandatory Method - Feeds the instance with the action data stored in actions session. .. py:method:: save_action() Mandatory method for all action modules .. py:method:: 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 *args: **kwargs: Returns: None .. py:attribute:: action_data .. py:data:: ACTION_DATA .. py:data:: log