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
- class TaurusBaseComponent(name='', parent=None, designMode=False, **kwargs)[source]
A generic Taurus component.
Note
Any class which inherits from TaurusBaseComponent is expected to also inherit from QObject (or from a QObject derived class).
Note
getSignaller()
is now unused and deprecated. This is because taurusEvent is implemented usingbaseSignal()
, that doesn’t require the class to inherit from QObject.
- class TaurusBaseController(widget, updateAsPalette=True)[source]
Base class for all taurus controllers
- class TaurusBaseWidget(name='', parent=None, designMode=False, **kwargs)[source]
The base class for all Qt Taurus widgets.
Note
Any class which inherits from TaurusBaseWidget is expected to also inherit from QWidget (or from a QWidget derived class)
- class TaurusBaseWritableWidget(name='', taurus_parent=None, designMode=False, **kwargs)[source]
The base class for all taurus input widgets
it emits the applied signal when the value has been applied.
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
- updateLabelBackground(ctrl, widget)[source]
Helper method to setup background of taurus labels and lcds
Variables
- expFormatter
- floatFormatter
- MLIST