I'm in the same boat as, Matthieu.  I don't want the dialog to lock up
Nuke.  I need it to just appear and be available if needed.

I was doing things slightly different than Matthieu

class TestWindow(QtGui.QWidget):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.setLayout(QtGui.QVBoxLayout())
        self.line = QtGui.QLabel("some text")
        self.layout()

tw = TestWindow()
tw.show()


However, if I switch it over to QDialog and use activeWindow() as a Johan
said, everything works fine, no crashing.  With one exception.  The window
stays on top of Nuke and I want it to be able to be in the background.

Sorry, I'm very new to PyQt/PySide.


Thanks
_______________________________________________
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