Giter VIP home page Giter VIP logo

hqt's Introduction

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

hqt's People

Contributors

paulwinex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hqt's Issues

1- setInterface error

H15- error: 'PythonPanel' object has no attribute 'setInterface'

Traceback (most recent call last):
File "mse_scriptEditor", line 8, in
File "C:/PROGRA1/SIDEEF1/HOUDIN1.16/houdini/scripts/python\pw_multiScriptEditor__init__.py", line 17, in showHoudini
size=size, pane=pane, replacePyPanel=replacePyPanel, hideTitleMenu=hideTitleMenu)
File "C:/PROGRA
1/SIDEEF1/HOUDIN1.16/houdini/scripts/python\pw_multiScriptEditor\managers_houdini.py", line 28, in show
hqt.show(scriptEditor.scriptEditorClass, _args, *_kwargs)
File "C:\PROGRA1\SIDEEF1\HOUDIN1.16\python27\lib\site-packages\hqt.py", line 80, in show
return showUi14( cls, name=name, floating=floating, position=position, size=size, pane=pane, replacePyPanel=replacePyPanel, hideTitleMenu=hideTitleMenu, dialog=dialog,useThisPanel=useThisPanel)
File "C:\PROGRA
1\SIDEEF1\HOUDIN1.16\python27\lib\site-packages\hqt.py", line 257, in showUi14
python_panel.setInterface(pypan)
AttributeError: 'PythonPanel' object has no attribute 'setInterface'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.