TaurusLockButton¶

Bases:
PyQt4.QtGui.QPushButton,taurus.qt.qtgui.base.taurusbase.TaurusBaseWidgetReturn the class object for the widget. Default behavior is to do a ‘best effort’ to determine which model type corresponds to the current model name. Overwrite as necessary.
Return type: class TaurusModelorNoneReturns: The class object corresponding to the type of Taurus model this widget handles or None if no valid class is found.
Returns pertinent information in order to be able to build a valid QtDesigner widget plugin.
The dictionary returned by this method should contain at least the following keys and values: - ‘module’ : a string representing the full python module name (ex.: ‘taurus.qt.qtgui.base’) - ‘icon’ : a string representing valid resource icon (ex.: ‘designer:combobox.png’) - ‘container’ : a bool telling if this widget is a container widget or not.
This default implementation returns the following dictionary:
{ 'group' : 'Taurus [Unclassified]', 'icon' : 'logos:taurus.png', 'container' : False }
Return type: dictReturns: a map with pertinent designer information
Returns the model name for this component.
Return type: strReturns: the model name.
Sets/unsets the model name for this component
Parameters: model ( str) – the new model name