possible to interactive update pyqt4 gui?

   7332   3   0
User Avatar
Member
49 posts
Joined:
Offline
Hi all! I want to make interactive update pyqt4 gui, so that the gui (in my exemple - checkbox button) will interactive update when i changed node parameter in houdini (node null - display parameter) or drag time slider. It is this possible?

put pyqt_houdini.py from $HFS/houdini/help/hom/cookbook/pyqt/part1 to $HOME/houdini10.0/scripts/python

Attachments:
gui.tar.gz (28.6 KB)

User Avatar
Member
49 posts
Joined:
Offline
hi again. how to do interactive update pyqt4 gui?
be or not to be “real time” gui?
User Avatar
Member
89 posts
Joined: April 2008
Offline
In your code you check the value of the slider when MainWindow is initialized, but there has to be some kind of refresh during the event loop. You could go about that in different ways. Here's an example using a timer that will refresh the checkbox once per event loop cycle.

best,

Michael

Attachments:
gui_refresh.tar.gz (28.8 KB)

User Avatar
Member
49 posts
Joined:
Offline
you're the best. excellent response
  • Quick Links