TaurusValueLineEdit

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

Bases: PyQt4.QtGui.QLineEdit, taurus.qt.qtgui.base.taurusbase.TaurusBaseWritableWidget

autoApply

whether autoApply mode is enabled or not.

Return type:bool
Returns:
enableWheelEvent
forcedApply

whether forcedApply mode is enabled or not.

Return type:bool
Returns:
getEnableWheelEvent()[source]
classmethod getQtDesignerPluginInfo()[source]
getSingleStep()[source]
getValue()[source]
handleEvent(evt_src, evt_type, evt_value)[source]
isTextValid()[source]

Validates current text

Return type:bool
Returns:Returns False if there is a validator and the current text is not Acceptable. Returns True otherwise.
keyPressEvent(evt)[source]

Key press event handler

model

Returns the model name for this component.

Return type:str
Returns:the model name.
notifyValueChanged(*args)[source]

reimplement to avoid autoapply on every partial edition

resetEnableWheelEvent()[source]
resetSingleStep()[source]
setEnableWheelEvent(b)[source]
setSingleStep(step)[source]
setValue(v)[source]

Set the displayed text from a given value object

updateStyle()[source]

Reimplemented from TaurusBaseWritableWidget

useParentModel

Returns whether this component is using the parent model

Return type:bool
Returns:True if using parent model or False otherwise
wheelEvent(evt)[source]

Wheel event handler