SFViewParamTree
: ScalarFieldView
parameters widget¶
This module provides a tree widget to set/view parameters of a ScalarFieldView.
TreeView
¶
-
class
silx.gui.plot3d.SFViewParamTree.
TreeView
(parent=None)[source]¶ Bases:
PyQt4.QtGui.QTreeView
TreeView displaying the SubjectItems for the ScalarFieldView.
-
setSfView
(sfView)[source]¶ Sets the ScalarFieldView this view is controlling.
Parameters: sfView – A ScalarFieldView
-
setModel
(model)[source]¶ Reimplementation of the QTreeView.setModel method. It connects the rowsRemoved signal and opens the persistent editors.
Parameters: model (qt.QStandardItemModel) – the model
-
rowsAboutToBeRemoved
(parent, start, end)[source]¶ Reimplementation of the QTreeView.rowsAboutToBeRemoved. Closes all persistent editors under parent.
Parameters: - parent (qt.QModelIndex) – Parent index
- start (int) – Start index from parent index (inclusive)
- end (int) – End index from parent index (inclusive)
-
rowsRemoved
(parent, start, end)[source]¶ Called when QTreeView.rowsRemoved is emitted. Opens all persistent editors under parent.
Parameters: - parent (qt.QModelIndex) – Parent index
- start (int) – Start index from parent index (inclusive)
- end (int) – End index from parent index (inclusive)
-