Hi Martin,
Thank you for your reply,

You're right, GLWidget is not completely compatible with other widgets in 
Qt. But I could reslove the problem by replacing GraphicsLayoutWidget 
instead of using Qwidget. Also, for using OpenGL functionality in 
pyqtgraph, I downgraded my pyqtgraph version to 0.11rc0 which is bug-fixed 
and has performance improvements. Now I can use pyopengl in pyqtgraph as 
well. 
Anyway, thanks for the help!

Hassan  
On Thursday, January 20, 2022 at 8:32:09 AM UTC+11 [email protected] 
wrote:

> In my experience, the GL widgets don't easily allow non-GL widgets to be 
> embedded. I'm not sure if this is something that can be worked around, but 
> I know e.g. 
> https://github.com/pyqtgraph/pyqtgraph/blob/master/pyqtgraph/examples/VideoSpeedTest.py
>  
> puts the GL underneath the non-GL without trouble, so that may be your best 
> bet.
>
> Good luck!
>  - Martin
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/0ef26890-8794-4318-b6bc-85ad50ea31cbn%40googlegroups.com.

Reply via email to