Hi, I would like to show a PySide UI which can be dockable or left as-is floating on top of Nuke. I would then use QSettings to store whether the user docked the window or not - and next time the UI gets loaded I would dock it automatically in the pane where it got docked last time - or load it up as floating, if it never was docked. Also, I would want to allow for a docked UI to get “un-docked”, meaning made into a floating window again.
My issue with all of this is I cannot seem to load up the UI in a way so that it can be either #1 Loaded as floating (always on top of Nuke) and later docked via python code #2 Loaded as docked and later un-docked and made floating (always on top of Nuke) via python code I’m showing a custom PySide UI (which inherits QMainWindow) in Nuke like this: gui = MyApp( parent=QtGui.QApplication.activeWindow() ) gui.show() Can this somehow be docked into a pane after it has been shown, using Python code? I am aware of the nukescripts.panels.registerWidgetAsPanel() function, but it doesn’t seem to accept an existing window. Another approach would be to always load the window as a docked window using nukescripts.panels.registerWidgetAsPanel() and with Python code “un-dock” it (make it floating again). But I can’t find anything in the Python docs on how to make a panel floating. Any ideas on docking a widget and making a panel float? // Fredrik
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python