Created
April 13, 2015 10:03
-
-
Save timlinux/a57797a6650b10e1dd12 to your computer and use it in GitHub Desktop.
How to know the ide of the current impact function in InaSAFE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt4.QtGui import QDockWidget | |
app = iface.mainWindow() | |
dock = app.findChild(QDockWidget, 'DockBase') | |
dock.get_function_id() | |
'VolcanoPolygonPopulationFunction' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment