<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 3:28 AM, Radim Blazek <span dir="ltr"><<a href="mailto:radim.blazek@gmail.com" target="_blank">radim.blazek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":335" class="" style="overflow:hidden">- modules GUI - my idea is to throw away the qgm and qgc definitions<br>
and auto generate GUI for modules with all options based on<br>
--interface-description only, also the list of modules would be auto<br>
generated for all modules.</div></blockquote></div><br></div><div class="gmail_extra">Hi Radim,<br><br></div><div class="gmail_extra">it would be good if you can include GRASS Addons, too. There is a lot of requests for installing/running GRASS Addons from QGIS, e.g. at <a href="http://gis.stackexchange.com">gis.stackexchange.com</a>.<br><br></div><div class="gmail_extra">Also, there are some files in GRASS GIS which might be quite useful [1]. toolboxes.xml [2] contains GRASS GIS modules sorted into different tooboxes. They are currently not part of the official API but it is just a matter of declaring them as part of API I guess [3]. GRASS wxGUI is using these files to create a menu and module tree in Search module tab. It is also a way to customize wxGUI [4] but that's not related to QGIS use case.<br><br>Loading Addons dynamically to menu or module tree including their descriptions seems to be a bit challenging but if nothing else wxGUI can always run a module installed using g.extension (or custom user script) if it can run and give --interface-description.<br><br></div><div class="gmail_extra">Best,<br></div><div class="gmail_extra">Vaclav<br></div><div class="gmail_extra"><br>[1] <a href="http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/xml">http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/xml</a><br>[2] <a href="http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/xml/toolboxes.xml">http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/xml/toolboxes.xml</a><br>[3] <a href="http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/docs/wxgui_sphinx/src/wxgui_toolboxes.rst">http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/docs/wxgui_sphinx/src/wxgui_toolboxes.rst</a><br>[4] <a href="http://grass.osgeo.org/grass70/manuals/wxGUI.toolboxes.html">http://grass.osgeo.org/grass70/manuals/wxGUI.toolboxes.html</a><br></div></div>