taurus taurus

Previous topic

TaurusBaseWidget

Next topic

TaurusConfigurationControllerHelper

This Page

TaurusBaseWritableWidget

Inheritance diagram of TaurusBaseWritableWidget

class TaurusBaseWritableWidget(name, taurus_parent=None, designMode=False)

Bases: taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget

The base class for all taurus input widgets

forceApply()

It (re)applies the value regardless of pending operations. WARNING: USE WITH CARE. In most cases what you need is to make sure that pending operations are properly created, not calling this method

getAutoApply()
getForcedApply()
getModelClass()
getOperationCallbacks()
classmethod getQtDesignerPluginInfo()
getValue()
handleEvent(src, evt_type, evt_value)
isReadOnly()
postAttach()
resetAutoApply()
resetForcedApply()
resetPendingOperations()
setAutoApply(auto)
setForcedApply(forced)
setValue(v)
updatePendingOperations()
updateStyle()
valueChanged(*args)

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

writeValue(forceApply=False)

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