Hi,

I'm using Qt Designer for the layout where i have a graphicsLayoutWidget. I 
add two viewBoxes by:
self.viewBoxL = self.graphicsLayoutWidget.addViewBox(lockAspect=1.0,invertY=
True, name='l')
self.viewBoxR = self.graphicsLayoutWidget.addViewBox(lockAspect=1.0,invertY=
True, name='r')

self.imgItemL = pg.ImageItem(border='w')
self.imgItemR = pg.ImageItem(border='w')

self.viewBoxL.addItem(self.imgItemL)
self.viewBoxR.addItem(self.imgItemR)

self.viewBoxL.setXLink(self.viewBoxR)
self.viewBoxL.setYLink(self.viewBoxR)

self.imgItemL.setImage(imgL)
self.imgItemR.setImage(imgR)
which show two pictures of the same thing, but with different colors (I'm 
loading two different images with the same size). Now I want to add a ROI 
item. It seems that it is not possible to add this ROI item to both views, 
so I made two items and added them to viewBoxL and viewBoxR. Is it possible 
to synchronize these two items, so that every change I make in viewBoxL 
appears in viewBoxR?

Thanks for your help!
Hauke

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyqtgraph+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/c4083631-6f7d-4e36-ab86-560a72ac9074%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to