Is it possible to define for a pyqgis plugin, that the plugin dialog is always shown on top, after starting it from the toolbar?
Answer
As mentioned in comments by Nathan W, use Qt.WindowStaysOnTopHint in your init function:
class MyCustomDialog(QtGui.QDialog):
def __init__(self, iface):
QtGui.QDialog.__init__(self, None, Qt.WindowStaysOnTopHint)
...
But it will stay on top of not only this and every other application you have.
No comments:
Post a Comment