pgext module

PyQtGraph extensions.

class opeth.pgext.ChannelParameter(*args, **kargs)

Bases: pyqtgraph.parametertree.Parameter.Parameter

The parameter setup entries for channels are created using this class and the underlying ChannelParameterItem.

itemClass

alias of ChannelParameterItem

class opeth.pgext.ChannelParameterItem(param, depth)

Bases: pyqtgraph.parametertree.parameterTypes.WidgetParameterItem

Channel parameters are extended float values displaying plot color as well.

colorChange()
makeWidget()

Extended SimpleParameter widget - float values only, additionally displaying corresponding channel’s color.

Returns:widget with a color button and a spinbox for setting threshold value
class opeth.pgext.DisabledMouseViewBox(*args, **kwds)

Bases: pyqtgraph.graphicsItems.ViewBox.ViewBox.ViewBox

Mouse is disabled in histogram plots using this pg viewbox.