trigger.actions.driver ====================== .. py:module:: trigger.actions.driver .. autoapi-nested-parse:: creates driven connections between given attributes. It uses remap or direct connect according to the values Attributes ---------- .. autoapisummary:: trigger.actions.driver.ACTION_DATA trigger.actions.driver.FILELOG Classes ------- .. autoapisummary:: trigger.actions.driver.Driver Module Contents --------------- .. py:class:: Driver(**kwargs) Bases: :py:obj:`trigger.core.action.ActionCore` .. py:method:: action() Mandatory Method - Execute Action .. py:method:: feed(action_data, *args, **kwargs) Mandatory Method - Feeds the instance with the action data stored in actions session. .. py:method:: save_action() Mandatory Method - Save Action .. py:method:: ui(ctrl, layout, handler, *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 Example Mapping Data: [ ["mouthArea_cont.L_upperlipRaiser", "0", "100", "morph_hook.LupperlipRaiser", "0", "1", ""], ["mouthArea_cont.R_upperlipRaiser", "0", "100", "morph_hook.RupperlipRaiser", "0", "1", ""], ["L_cheekArea_cont.cheekRaiser", "0", "100", "morph_hook.LcheekRaiser", "0", "1", "proxyCheekRaiser"], ] .. py:data:: FILELOG