TaurusValuesTable

Inheritance diagram of TaurusValuesTable
class TaurusValuesTable(parent=None, designMode=False, defaultWriteMode=None)[source]

Bases: taurus.qt.qtgui.container.tauruswidget.TaurusWidget

A table for displaying and/or editing 1D/2D Taurus attributes

applyChanges()[source]

Writes table modifications to the device server.

askCancel()[source]

Shows a QMessageBox, asking if user wants to cancel all changes. Triggered when user clicks Cancel button.

cancelClicked()[source]

This is a SLOT that is being triggered when CANCEL button is clicked.

Note

This SLOT is called, when user does not want to apply table modifications. When no cell was modified it will not be called.

chooseModel()[source]

shows a model chooser

contextMenuEvent(event)[source]

Reimplemented from QWidget.contextMenuEvent()

getModelClass()[source]

see TaurusWidget.getModelClass()

classmethod getQtDesignerPluginInfo()[source]

Reimplemented from TaurusWidget.getQtDesignerPluginInfo()

getWriteMode()[source]

whether the widget is showing the read or write values

Return type:bool
Returns:
handleEvent(evt_src, evt_type, evt_value)[source]

see TaurusWidget.handleEvent()

isReadOnly()[source]

Reimplemented from TaurusWidget.isReadOnly()

model

Returns the model name for this component.

Return type:str
Returns:the model name.
okClicked()[source]

This is a SLOT that is being triggered when ACCEPT button is clicked.

Note

This SLOT is called, when user wants to apply table modifications. When no cell was modified it will not be called. When modifications have been done, they will be writen to w_value of an attribute.

resetWriteMode()[source]

equivalent to self.setWriteMode(self.defaultWriteMode)

setModel(model)[source]

Reimplemented from TaurusWidget.setModel()

setModifiableByUser(modifiable)[source]

Reimplemented from TaurusWidget.setModifiableByUser()

setWriteMode(isWrite)[source]

Triggered when the read mode is changed to write mode.

Parameters:isWrite (bool) –
writeMode

whether the widget is showing the read or write values

Return type:bool
Returns: