I have a large pyqt program that is multi-threaded that I am trying to run
as a python panel. On closing this program, all the threads it created need
to be killed. I handle this in the standalone version with:
self.connect(self, SIGNAL('triggered()'), self.closeEvent)
Where closeEvent simply kills all my threads.
This works fine when I run the program standalone or launched from a menu
inside Nuke. The problem is when I make this into a python panel the pyqt
instance no longer gets any signals when the panel is closed.
I have used registerWidgetAsPanel to load the program as a panel:
nukescripts.registerWidgetAsPanel('eep_assetBrowser.MyWindow', 'Asset
Browser', 'com.eep.testWindow',create = True)
So the question is how can I get the python panel to send a signal to the
pyqt instance when it is closed?
--
Dennis A Martin
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python