ParameterItem¶
-
class
pyqtgraph.parametertree.
ParameterItem
(param, depth=0)[source]¶ Abstract ParameterTree item. Used to represent the state of a Parameter from within a ParameterTree.
Sets first column of item to name
generates context menu if item is renamable or removable
handles child added / removed events
provides virtual functions for handling changes from parameter
For more ParameterItem types, see ParameterTree.parameterTypes module.
-
columnChangedEvent
(col)[source]¶ Called when the text in a column has been edited (or otherwise changed). By default, we only use changes to column 0 to rename the parameter.
-
focusNext
(forward=True)[source]¶ Give focus to the next (or previous) focusable item in the parameter tree
-
optsChanged
(param, opts)[source]¶ Called when any options are changed that are not name, value, default, or limits