I have made the UI of a qgis plugin using qt creator. What I want is that the plugin window should stay on top of the qgis main window only but not other other applications. I have got this code:
QtGui.QDialog.__init__(self, None, Qt.WindowStaysOnTopHint)
But the problem is that after implementing this code the plugin window stays on top of every other application as well.