Dear all,
I'm using parameters and if, let's say, p is a float (therefore a spinbox widget), whenever I run:
p.setWritable(True)
or
p.setWritable(False)
I get this error:
Traceback (most recent call last):
File "C:\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\site-packages\pyqtgraph\parametertree\parameterTypes.py", line 284, in optsChanged
self.widget.setOpts(**opts)
File "C:\WinPython-64bit-3.4.4.1\python-3.4.4.amd64\lib\site-packages\pyqtgraph\widgets\SpinBox.py", line 160, in setOpts
raise TypeError("Invalid keyword argument '%s'." % k)
TypeError: Invalid keyword argument 'readonly'.
But the spinbox responds to the setWritable method correctly nevertheless.
Am I doing something wrong?
Best,
Federico