Parent pyqt window/widget to blender's window

I didn’t get the answer. I didn’t use QEventLoop() in my tool and all worked fine.