TangoConfigLineEdit

Inheritance diagram of TangoConfigLineEdit
class TangoConfigLineEdit(qt_parent=None, designMode=False)[source]

Import from taurus.qt.qtgui.panel as:

from taurus.qt.qtgui.panel import TangoConfigLineEdit
autoApply

whether autoApply mode is enabled or not.

Returns

Return type

bool

forcedApply

whether forcedApply mode is enabled or not.

Returns

Return type

bool

getModelClass()[source]

reimplemented from TaurusBaseWidget

classmethod getQtDesignerPluginInfo()[source]

reimplemented from TaurusBaseWidget

getValue()[source]

This method must be implemented in derived classes to return the value to be written. Note that this may differ from the displayed value (e.g. for a numeric value being edited by a QLineEdit-based widget, the displayed value will be a string while getValue will return a number)

handleEvent(evt_src, evt_type, evt_value)[source]

reimplemented from TaurusBaseWidget

model

Returns the model name for this component.

Returns

the model name.

Return type

str

notifyValueChanged()[source]

Subclasses should connect some particular signal to this method for indicating that something has changed. e.g., a QLineEdit should connect its “textChanged” signal…

postAttach()[source]

reimplemented from TaurusBaseWidget

setModel(model)[source]

Sets/unsets the model name for this component

Parameters

model (str) – the new model name

setValue(v)[source]

This method must be implemented in derived classes to provide a (widget-specific) way of updating the displayed value based on a given attribute value

Parameters

v – The attribute value

updatePendingOperations()[source]

reimplemented from TaurusBaseWidget

writeValue()[source]

Writes the value to the attribute, either by applying pending operations or (if the ForcedApply flag is True), it writes directly when no operations are pending

It emits the applied signal if apply is not aborted.

Parameters

forceApply (bool) – If True, it behaves as in forceApply mode (even if the forceApply mode is disabled by setForceApply())