DefaultUnitsWidget

Inheritance diagram of DefaultUnitsWidget
class DefaultUnitsWidget(*args)[source]

Bases: taurus.qt.qtgui.display.tauruslabel.TaurusLabel

FORMAT = '{}'
classmethod getQtDesignerPluginInfo()[source]

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:dict
Returns:a map with pertinent designer information
setModel(model)[source]

Sets/unsets the model name for this component

Parameters:model (str) – the new model name
sizeHint(self) → QSize[source]