Managed to get help from Autodesk on this. Apparantly, the following code
makes Maya cast some black magic on the window and bless it with being
properly float on top of the main Maya window without the Qt.Tool flag:
self.setProperty("saveWindowPref", True)
Figured I’d just share my findings on this:
https://gist.github.com/fredrikaverpil/b76bd91b9924435465ecb1b2270c1a9d
In the gist there are various ways of making a cross-platform floating
window. The code is for PySide2 but can easily be ported to PySide.
Cheers!
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWMNKUF-xSr1FVWjkpDjDk%3DTv1ES1g4KEhkmb1yBg1MnGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.