PyQt with non-modal widgets v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mark Fickett
Slightly adapt Nuke's pyQtAppUtils to allow multiple non-modal PyQt widgets simultaneously.
Requirements:
6.0, 6.1 or later
Linux, Mac, Windows
13 Jul 2010
283
Using PyQt widgets in Nuke keeps coming up on the lists, so I thought I'd share what we've come up with. Its advantage over what's currently in Nuke is that you can have multiple non-modal PyQt widgets showing at the same time.

Attached is spqt.py. If you put it in your NUKE_PATH, you can import spqt and then call spqt.CreateNodeLister() (multiple times) to create a demo widget. (The file takes from what are a few separate submodules in our codebase; the sections are commented for clarity.)

As noted, I'm just sharing this because it looks like something Nuke users are hitting, and it's working for us; it's a minimal modification (conceptually) to Nuke's pyQtAppUtils (plugins/nukescripts/pyQtAppUtils.py).

Please login in order to download these files.

You have no rights to post comments

We have 2737 guests and 98 members online