[Qgis-developer] Displaying help for Python plugins

Alexander Bruy alexander.bruy at gmail.com
Sun May 13 02:03:15 PDT 2012


Hi all,

regarding to PyQGIS CookBook [0] plugin documentation can
be written as HTML files and to open help developer should
use method showPluginHelp() from qgis.utils module.

In same time showPluginHelp() used deprecated method openURL()
from QgsInterface class [1]. And as I can see there are no alternatives
for this method. So what is best solution for displaying Python plugin
help in long-term period? Use showPluginHelp() as suggested in
cookbook or implement own method directly in plugins?

[0] http://www.qgis.org/pyqgis-cookbook/plugins.html#documentation
[1] http://qgis.org/api/classQgisInterface.html#374a28be05fac25b26f271f7ff19cd6d

Thanks
-- 
Alexander Bruy


More information about the Qgis-developer mailing list