Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 2.15 KB

README.md

File metadata and controls

64 lines (38 loc) · 2.15 KB

PyQt\PySide helper for Houdini

alt tag

paulwinex.ru

Houdini 13

This script enables you to use PySide or PyQt4 with Houdini. Main differences from default pyqt_houdini.py are:

  • opportunity to have several widgets open at the same time

  • automaticly apply Houdini-style ui design

  • implemented 3 different modes. It is not required other functions , rather your widget inherits from one of following classes :

    • widget: a simple window opening . Works if the widget is created from QWidget or QMainWindow. Main function showUi returns a pointer to widget object.
    • dialog: opens the window blocks Houdinis window. To do this you need to create a widget that inherits from QDialog. showUi returns result of the dialogue (bool) and a pointer to the dialogue object.
    • menu: If the widget is inherited from QMenu, the menu will open at the current cursor position . showUi returns a pointer to the selected QAction

Houdini 14 and 15

This script help you to open PySide Widgets in Houdini 14 and 15 as PythonPanel

Install:

  • Install PySide or PyQt4 to default Python library or to Houdini python library (for Houdini 13 only)

  • Copy hqt.py to PYTHONPATH or PATH. For example:

$HFS/python27/lib/site-packages/hqt.py or $HFS/houdini/python2.7libs/hqt.py

  • Execute code:
import hqt
help(hqt)

See hqt_example.py for details.


New in 1.3

  • Support Houdini 15

  • Some stylesheet fix

  • Update help in show function

Compare Houdini default stylesheet and hqt stylesheet

alt tag alt tag alt tag