How to get the main window of the editor, to parent Qt or PySide application to it?

This was great, thank you for the insight.

I do have a follow up question:
How do you send commands from the connected Qt window to Unreal?
The UI still evaluates using the external python exe you used to create it with.

Thank you for the help!