Thank you for your response
I have change the QtWidgets.WindowStaysOnTopHint
with QtCore.Qt
and now i have this error:
# Error: TypeError: file <maya console> line 43: 'PySide2.QtWidgets.QDialog' called with wrong argument types:
PySide2.QtWidgets.QDialog(PySide2.QtWidgets.QWidget, Shiboken.ObjectType)
Supported signatures:
PySide2.QtWidgets.QDialog(PySide2.QtWidgets.QWidget = NULL, PySide2.QtCore.Qt.WindowFlags = Qt.WindowFlags()) #