Bases: taurus.qt.qtgui.container.tauruswidget.TaurusWidget
A table for displaying and/or editing 1D/2D Taurus attributes
Writes table modifications to the device server.
Shows a QMessageBox, asking if user wants to cancel all changes. Triggered when user clicks Cancel button.
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.
shows a model chooser
Reimplemented from QWidget.contextMenuEvent()
see TaurusWidget.getModelClass()
Reimplemented from TaurusWidget.getQtDesignerPluginInfo()
whether the widget is showing the read or write values
Return type: | :class:~`bool` |
---|---|
Returns: |
see TaurusWidget.handleEvent()
Reimplemented from TaurusWidget.isReadOnly()
Returns the model name for this component.
Return type: | :class:~`str` |
---|---|
Returns: | the model name. |
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.
equivalent to self.setWriteMode(self.defaultWriteMode)
Reimplemented from TaurusWidget.setModel()
Reimplemented from TaurusWidget.setModifiableByUser()
Triggered when the read mode is changed to write mode.
Parameters: | isWrite (:class:~`bool`) – |
---|
whether the widget is showing the read or write values
Return type: | :class:~`bool` |
---|---|
Returns: |