[Qgis-developer] attribute map for renderer

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Tue May 29 10:26:13 EDT 2007


Hi Barry,

>Is there any
> mechanism for renderers to supply gui components to the properties
> dialog? Is there a Renderer Registry so that the gui could get a list of
> all renderers?

Currently, every renderer has a corresponding dialog as a GUI. This dialog 
knows the renderer class (because it creates the renderer in the apply() 
method), but the renderer does not need to know its gui. 
The vector layer properties dialog has hardcoded a list of renderer dialogs 
(in QgsVectorLayerProperties::alterLayerDialog). A renderer (or renderer 
dialog) registry would be a good thing, especially for renderers which are 
parts of plugins.  

> Or is this 1.0 stuff and beyond?

As usual this is dependant if/when someone is willing to implement it.

cheers,
Marco

-- 
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
marco.hugentobler at karto.baug.ethz.ch



More information about the Qgis-developer mailing list