taurus.qt.qtgui.base

This package provides the set of base classes from which the Qt taurus widgets should inherit to be considered valid taurus widgets.

Classes

Functions

defaultFormatter(dtype=None, basecomponent=None, **kwargs)[source]

Default formatter callable. Returns a format string based on dtype and the mapping provided by TaurusBaseComponent.defaultFormatDict

Parameters:
  • dtype (object) – data type
  • basecomponent – widget whose display is to be formatted
  • kwargs – other keyworld arguments
Return type:

str

Returns:

The format string corresponding to the given dtype.

updateLabelBackground(ctrl, widget)[source]

Helper method to setup background of taurus labels and lcds