hi everybody,
I'm having trouble getting anything other then exec_ working to open
my PyQt dialogs under nuke 6.3. I want to make a dialog non-modal but
whenever i use show() to display the dialog none of my connections are
setup. Has anyone else experienced this or found a workaround?
a brief excerpt of my code is:
class pyQt_myDialog(object):
def __init__(self):
self.ui = uic.loadUi('myDialog.ui')
self.ui.connect(self.ui, SIGNAL("finished(int)"), self.finished)
def finished(self, code):
sys.stderr.write('we are finished %s\n' % str(code))
if i use exec_() to run it i get the printed statement, with open() or
show() nothing gets printed on closing the window. the ui gets loaded
correctly with the loadUi command.
any help or ideas on making a non-modal pyqt window in nuke6.3 would
be oh so helpful.
thanks!
Josh
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python