I've succesfully implemented RemoteGraphicsViews into my GUI, and it works like a charm.
Follow-up question. In my original code (with non-remote plotItems), I had subclassed ViewBox to change some of the mouse interaction - when the user double-clicked on the graph, I emitted a QtSignal with the position of the click.
Could I implement such a feature using the RemoteGraphicsView? I tried to pass an instance of my subclass when creating the plotItem (e.g. view.pg.PlotItem(viewBox = myViewBox()), but that threw the error shown below.
===== 2014.03.17 16:03:49 =====
Traceback (most recent call last):
(snip)
File "MyPath\myFile.py", line 41, in __init__
self.graph = self.view.pg.PlotItem(viewBox = MyViewBox())
File "C:\Python27\lib\site-packages\pyqtgraph\multiprocess\remoteproxy.py", line 864, in __call__
return self._handler.callObj(obj=self, args=args, kwds=kwds, **opts)
File "C:\Python27\lib\site-packages\pyqtgraph\multiprocess\remoteproxy.py", line 520, in callObj
return self.send(request='callObj', opts=dict(obj=obj, args=args, kwds=kwds), byteData=byteMsgs, **opts)
File "C:\Python27\lib\site-packages\pyqtgraph\multiprocess\remoteproxy.py", line 403, in send
optStr = pickle.dumps(opts)
File "C:\Python27\lib\copy_reg.py", line 71, in _reduce_ex
state = base(self)
TypeError: the sip.wrapper type cannot be instantiated or sub-classed