camitk.PythonHotPlugAction¶
- class camitk.PythonHotPlugAction¶
An Action that is implemented using a Python CamiTK script.
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)addParameter(self, arg0)Add a new parameter to the action, using the CamiTK property class.
getName(self)get the name of the action
getOutputComponent(self)Returns the top-level output Component of this Action, or None if there is no output.
getParameterValue(self, arg0)get the parameter QVariant (same as property(const char*)) but check if it exists first.
getProperty(self, arg0)Get a Property given its name
getTargets(self)the currently selected and valid (regarding the component property) components, for which this action is called
refreshApplication(self)convenient method to call from the user code to refresh all the application This is equivalent to call Application::refresh()
saveState(self)Saves the current state of this Action, including its parameters.
setApplyButtonText(self, arg0)modify the "Apply" button text
setInputComponent(self, arg0)Assigns the given Component as input to this Action.
setParameterValue(self, arg0, arg1)set the parameter QVariant value (same as setProperty(const char*, newValue)) but check if it exists first.
updateWidget(self)Updates the Action's default widget, if any.
Attributes
ABORTEDERRORSUCCESSTRIGGEREDWARNING