Original Post can be find in the link below, I paste here in case it can not be access in the future.
https://discourse.techart.online/t/how-to-make-a-pyside-ui-stay-on-top-of-maya-only/12473/10
Quote from JoDaRober
If you have issues with the dialog not appearing at the center of the screen, you can center it when showing the UI. I prefer to override QDialog’s show method for this, since it will have to happen after any widget creation that can change the dimensions of the dialog, and that include’s QtDialog’s show() method. Here’s an example:
|