HOM PyQt Example: Writing Custom GUIs inside Houdini

Overview

This example illustrates how to use the PyQt user interface widget toolkit to create a custom user interface window inside Houdini. Houdini does not distribute PyQt4, so if it is not installed you need to install it to your Python distribution. On Windows, install to $HFS/python.

Note that if you use PyQt for commercial purposes, you must buy a commercial license. See http://www.riverbankcomputing.co.uk/software/pyqt/license for more information.

This example is split into two parts. Part 1 illustrates how to integrate PyQt into Houdini’s event loop, and shows the recommended approach for how to use PyQt. Part 2 shows how you can run PyQt in its own dedicated thread. The apprach in Part 1 is recommended over that in Part 2 because of additional complexity, and Part 2 is provided for reference purposes.

  • Part 1: Running PyQt inside Houdini’s event loop (recommended)

  • Part 2: Running PyQt inside a separate thread (provided for reference purposes)

Subtopics

Clear