Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Paolo Cavallini
Il 20/12/2011 18:55, Alexander Bruy ha scritto: Hi all, finally I push all changes to master. This include: - new methods to add/remove plugins from Raster menu addPluginToRasterMenu(QString, QAction) removePluginRasterMenu(QString, QAction) Hi Alex. Thanks for this. How about

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Paolo Cavallini
Il 21/12/2011 08:56, Alessandro Pasotti ha scritto: 1 - are there any plan for making any use of the plugin tags metadata as was planned in Lisbon ? In fact, category==main tag, in a way. All the best. -- Paolo Cavallini See: http://www.faunalia.it/pc

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Alessandro Pasotti
2011/12/21 Paolo Cavallini cavall...@faunalia.it: Il 21/12/2011 08:56, Alessandro Pasotti ha scritto: 1 - are there any plan for making any use of the plugin tags metadata as was planned in Lisbon ? In fact, category==main tag, in a way. Not really: tags have absolutely no hierarchy (and

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Alexander Bruy
Hi Paolo, 2011/12/21 Paolo Cavallini cavall...@faunalia.it: Thanks for this. How about adding a Web category? A number of plugins would fit nicely in there. Ok I'll add Web menu (hidden by default, as Database) and toolbar and move OpenStreetMap and Mapserver Export plugins to it. --

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Alessandro Pasotti
2011/12/21 Alexander Bruy alexander.b...@gmail.com: Hi Alessandro 2011/12/21 Alessandro Pasotti apaso...@gmail.com: I'm not sure I got it right, does this metadata also apply to python plugins ? Yes, this metadata applied to all plugins: Python and C++ A few questions arise in this case:

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Alexander Bruy
2011/12/21 Alessandro Pasotti apaso...@gmail.com: Can you please provide a list of the permitted values ? Here is it: Vector, Raster, Database, Web, Plugins, Layers. Maybe in future we will have other values of drop them all in favor of searchable tree. What do you think we should do when a

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Alessandro Pasotti
2011/12/21 Alexander Bruy alexander.b...@gmail.com: 2011/12/21 Alessandro Pasotti apaso...@gmail.com: Can you please provide a list of the permitted values ? Here is it: Vector, Raster, Database, Web, Plugins, Layers. Maybe in future we will have other values of drop them all in favor of

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Richard Duivenvoorde
On 2011-12-21 11:11, Alessandro Pasotti wrote: Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Alexander Bruy
2011/12/21 Alessandro Pasotti apaso...@gmail.com: Ok, so we need a list of valid category values. 2011/12/21 Alexander Bruy alexander.b...@gmail.com: 2011/12/21 Alessandro Pasotti apaso...@gmail.com: Can you please provide a list of the permitted values ? Here is it: Vector, Raster,

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Albin Blaschka
Am 21.12.2011 11:11, schrieb Alessandro Pasotti: [snip] Ok, so we need a list of valid category values. Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Alessandro Pasotti
2011/12/21 Richard Duivenvoorde rdmaili...@duif.net: On 2011-12-21 11:11, Alessandro Pasotti wrote: Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-21 Thread Richard Duivenvoorde
On 2011-12-21 11:32, Alessandro Pasotti wrote: Additionally, there must be a place where the specifications for the plugin metadata structure is maintained. AFAIK the most up-to-date source of information is the page on github

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-20 Thread Alexander Bruy
Hi all, finally I push all changes to master. This include: - new methods to add/remove plugins from Raster menu addPluginToRasterMenu(QString, QAction) removePluginRasterMenu(QString, QAction) - new methods to add/remove plugin buttons from Raster toolbar addRasterToolBarIcon(QAction)

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-20 Thread Marco Bernasocchi
Super!, Just a minor thing, all the remove methods are called removeXXX but the add methods are AddToXXX wouldn't it be more consistent to have either AddXXX or RemoveFromXXX? Ciao and thanks a lot On Dec 20, 2011 6:55 PM, Alexander Bruy alexander.b...@gmail.com wrote: Hi all, finally I push

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-20 Thread Alessandro Pasotti
2011/12/20 Alexander Bruy alexander.b...@gmail.com: Hi all, finally I push all changes to master. This include:  - new methods to add/remove plugins from Raster menu   addPluginToRasterMenu(QString, QAction) [...] I'm not sure I got it right, does this metadata also apply to python plugins

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-19 Thread Richard Duivenvoorde
On 2011-12-18 14:38, Alexander Bruy wrote: I tried to fix pitfall mentioned by Gary and implement Paolo's suggestion about adding categories to plugin metadata. Comments, suggestions are welcome Hi Alexander, I like both the idea and your implementation! I was thinking about another

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-19 Thread Alexander Bruy
Hi Richard, 2011/12/19 Richard Duivenvoorde rdmaili...@duif.net: At this moment, when I disable ftools, the whole vector menu disappears. So will my little plugin (which I placed in the vector menu by using the metadata-trick) then by itself create a vector-menu item in the main menu? OR are

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-19 Thread Richard Duivenvoorde
On 2011-12-19 16:14, Alexander Bruy wrote: Also to place plugins in the proper menu you need to use methods of the QgisInterface class, metadata now only used to display information about where to find installed plugin in Plugin Manager. But ideally it will work on metadata isn't it? This

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-19 Thread Alexander Bruy
Ideally... But this will require more deep changes in plugin subsystem (plugin installer and other parts). Not sure I can do it myself. Seems there are no objections. So I'll wait to Tuesday and then push this to master 2011/12/19 Richard Duivenvoorde rich...@duif.net: On 2011-12-19 16:14,

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-19 Thread Richard Duivenvoorde
On 2011-12-19 17:38, Alexander Bruy wrote: Seems there are no objections. So I'll wait to Tuesday and then push this to master Tuesday-patchday :-) http://en.wikipedia.org/wiki/Patch_Tuesday ___ Qgis-developer mailing list

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-18 Thread Alexander Bruy
Hi again, I tried to fix pitfall mentioned by Gary and implement Paolo's suggestion about adding categories to plugin metadata. Added new plugin metadata category which contain name of the menu/toolbar from where plugin will be available. For example, Interpolation plugin will have Raster

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-15 Thread Alexander Bruy
2011/12/15 Paolo Cavallini cavall...@faunalia.it: Why not adding a compulsory tag section: raster, vector, database, web, miscellaneous? +1 from me for using tags -- Alexander Bruy ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-15 Thread Richard Duivenvoorde
On 2011-12-15 09:55, Alexander Bruy wrote: 2011/12/15 Paolo Cavallini cavall...@faunalia.it: Why not adding a compulsory tag section: raster, vector, database, web, miscellaneous? Great idea! +1 from me for using (from a set of mandatory) tags too Richard

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-15 Thread Marco Hugentobler
Hi Alexander Comments and opinions are welcome. If there are no objections, I can commit this to master. Looks good to me, +1 for merging. One small thing: The zonal statistics plugin is a mix of vector and raster. However I think it should go the vector menu, because the vector layer is

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-15 Thread Alister Hood
Date: Thu, 15 Dec 2011 08:31:56 +0100 From: Paolo Cavallini cavall...@faunalia.it Subject: Re: [Qgis-developer] Plugin reorganization (again) To: qgis-developer@lists.osgeo.org Message-ID: 4ee9a26c.4090...@faunalia.it Content-Type: text/plain; charset=ISO-8859-1; format=flowed Il 15/12

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-15 Thread Paolo Cavallini
Il 15/12/2011 21:41, Marco Hugentobler ha scritto: One small thing: The zonal statistics plugin is a mix of vector and raster. However I think it should go the vector menu, because the vector layer is modified (raster is only an input component). I think this is a general problem: how to

[Qgis-developer] Plugin reorganization (again)

2011-12-14 Thread Alexander Bruy
Hi all, there are lot of core plugins and much more contributed. Keep all them in single toolbar/menu decrease usability. I remember we have several discussions about that, and one of the results - Raster and Database menus. But most plugins don't used appropriate menus, see [0]. So after some

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-14 Thread Gary Sherman
On Dec 14, 2011, at 9:39 AM, Alexander Bruy wrote: Hi all, there are lot of core plugins and much more contributed. Keep all them in single toolbar/menu decrease usability. I remember we have several discussions about that, and one of the results - Raster and Database menus. But most

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-14 Thread Alister Hood
Hi guys, It's good to see some work in this area. Date: Wed, 14 Dec 2011 11:15:46 -0900 From: Gary Sherman gsher...@geoapt.com Subject: Re: [Qgis-developer] Plugin reorganization (again) To: Alexander Bruy alexander.b...@gmail.com Cc: Qgis Developer List qgis-developer@lists.osgeo.org

Re: [Qgis-developer] Plugin reorganization (again)

2011-12-14 Thread Paolo Cavallini
Il 14/12/2011 19:39, Alexander Bruy ha scritto: Unchanged plugins are (they still located under Plugins menu): - eVis database? - MapServer export - OpenStreetMap I suggest a new tag: web - RoadGraph vector Many thanks. -- Paolo Cavallini See: http://www.faunalia.it/pc