paulwinex / hqt

PySide helper for Houdini
40 stars 13 forks source link

1- setInterface error #1

Open mikebourbeauart opened 9 years ago

mikebourbeauart commented 9 years ago

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

Traceback (most recent call last): File "mse_scriptEditor", line 8, in File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.16/houdini/scripts/python\pw_multiScriptEditorinit.py", line 17, in showHoudini size=size, pane=pane, replacePyPanel=replacePyPanel, hideTitleMenu=hideTitleMenu) File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.16/houdini/scripts/python\pw_multiScriptEditor\managers_houdini.py", line 28, in show hqt.show(scriptEditor.scriptEditorClass, _args, *_kwargs) File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.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\SIDEEF~1\HOUDIN~1.16\python27\lib\site-packages\hqt.py", line 257, in showUi14 python_panel.setInterface(pypan) AttributeError: 'PythonPanel' object has no attribute 'setInterface'

paulwinex commented 9 years ago

In Houdini 15 class PythonPanel was changed. Update hqt module! But still no full support. I wait new stabile build

mikebourbeauart commented 9 years ago

I just downloaded the zip today from your repo. Is this not the most updated one? Maybe could it be accessing an older version of hqt from my H14 install somewhere?

paulwinex commented 9 years ago

No. Qt in H15 is changed. this changes not supported yet. You need to wait and use default PyntonPanel for opening PySide widgets. But you still can use function hqt.get_h14_style() to apply correct style.