Pyqgis plugin window behavior

المشرف العام

Administrator
طاقم الإدارة
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. Any help would be much appreciated. Thanks.



أكثر...
 
أعلى