taurus taurus

Previous topic

DoorResult

Next topic

MacroButtonAbortDoor

This Page

MacroButton

Inheritance diagram of MacroButton

class MacroButton(parent=None, designMode=False)

Bases: taurus.qt.qtgui.container.tauruswidget.TaurusWidget

This class is intended to be used as a button to execute macros. The model must be a valid door.

..note:: Not implemented but will be needed: set an icon

..note:

It may be useful to have a slot update_macro_param that any qwidget signal may be
connected to. The only condition might be that the sender widget should have an
attribute 'widget.macro_param_index' in order to determine where the value has
to be added.

..note:

It may be useful to have all the streams from qdoor available somehow
(right-click?)
abort()
button_clicked()
doorStateChanged(state)
classmethod getQtDesignerPluginInfo()
resultUpdated(*args)
runMacro(*args, **kwargs)
setButtonText(text)
setMacroName(macro_name)
setModel(model)
setText(text)
statusUpdated(*args)
toggleProgress(visible)
updateMacroArgument(index, value)
updateMacroArgumentFromSignal(index, obj, signal)