[Qgis-developer] Creating custom renderer with PyQGIS

Alexander Bruy alexander.bruy at gmail.com
Tue Dec 8 02:05:57 PST 2015


Hi all,

anyone tried to run custom renderer examples from the PyQGIS CookBook [0]?
It seems that this examples does not work, Renderer name is registered, but
widget and renderer itself does not initialized,  looks like
createRenderer() and
createRendererWidget() methods does not called.
Also QgsRendererV2Registry().renderersList() does not list custom renderer.

Any ideas what can be wrong?

[0] http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/vector.html#creating-custom-renderers

-- 
Alexander Bruy


More information about the Qgis-developer mailing list