Please post a complete exemple so I can see how all your code is
called. The old style should be working too.

On Fri, Mar 30, 2012, at 17:16, adamchryDTS wrote:

Thanks Hugo for your example, I'll try your style. I see
differrences that could explain the odd behaviour i experience.
I'm using QtUiTools.QUiLoader() to read in a .ui file rather than
import a python file which was created from pyside-uiuc.
Example:
self.uiObj=loader.load( os.path.expandvars('$ui_dirPath') +
'/mainWindow.ui')
Also I'm using the old signal/slot syntax and you are using the
newer style.
Example of old style:
self.connect(self.franch_listWidget,QtCore.SIGNAL("currentItemCha
nged(QListWidgetItem*,QListWidgetItem*)"),self.set_franchUpdateSh
owsWid )
So I'll change things around and see if it helps and post my
results.
It's is odd that everything works if executed from Nuke's script
editor..but not from the top menu..must be a threading event loop
sync issue.
  ____________________________________________________________

-A

_______________________________________________

Nuke-python mailing list

[1][email protected],
[2]http://forums.thefoundry.co.uk/

[3]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-
python

References

1. mailto:[email protected]
2. http://forums.thefoundry.co.uk/
3. http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


-- 
  Hugo Léveillé
  TD Compositing, Vision Globale
  [email protected]

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to