[Qgis-developer] Python plugin reloader
Borys Jurgiel
borysiasty at aster.pl
Tue Jan 26 06:57:44 EST 2010
> May I suggest you a small change - to allow devs change the default
> shortcuts: Instead of
> self.action1.setShortcut(QKeySequence("F5"))
> do
> iface.registerMainWindowAction(action, "F5")
> And in unload() method of plugin additionally call
> iface.unregisterMainWindowAction(action)
Thanks a lot! Done in v0.2
I was briefly looking for it and haven't found.
> This functionality exists from v1.2 so you might need to check whether
> these methods exist.
The reloading requires v1.5 ;)
> ... so now we just need an integrated debugger ;-) Being able to
> inspect variables, set breakpoints, step through python code and look
> at context of exception in a nice GUI would make dreams of many
> developers true. In meanwhile we can use pdb.
Great plans :) Personally, Let me finish the plugin cleaning first ;)
More information about the Qgis-developer
mailing list