Pyqt and Vizard 4? Is it compatible?
Can Vizard be embbeded in Pyqt? It is much more powerful than wxpython. But I have no clue as to where to start.
Has anyone ever tried doing it? |
I haven't personally tried, but I would guess that it should be possible. The concept should be the same as wxPython.
You will need to create a blank PyQT window and pass its window handle to viz.go, along with the viz.EMBEDDED flag. After that, you will just need to make sure you update the Vizard graphics loop periodically using the viz.frame() command. |
Good news! I was able to test out PyQt and get it working with Vizard. I've created a knowledge base article describing how to get it working. Let me know if you have any issues.
|
THANK YOU VERY MUCH!!!
This is impressive!!!! We are going to port our code to QT. Thanks! |
Hi,
I'm using the same code provided and i'm trying to accomplish something similar to this but for PySide. However, i'm having a small problem. The following line: Code:
viz.go(viz.EMBEDDED,window=int(self.widget.winId())) Code:
Traceback (most recent call last): Best regards, Alex. |
Solved.
For the record: Code:
# Additional imports |
All times are GMT -7. The time now is 11:57 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC