Hum... After digging a little deeper, I found something interesting in the Python Cookbook [1] It seems I need to use the class QgsRendererV2Widget
[1] http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/vector.html#creating-custom-renderers 2015-06-23 16:29 GMT+02:00 kimaidou <kimai...@gmail.com>: > Hi all, > > The LayerBoard plugin I made during the HF in "Nooooooooodebo" shows a > table of all vector (and raster) layers and allows to edit some properties > directly by editing the table cells, such as max and min scale, layer name, > title and abstract, assign SRS, etc. > > I would like to display the content of the Style tab of the layer > properties dialog in a panel right to the table. This tab will show the > style interface refreshed whenever the user clicks on a layer in the tab, > and let her/him change the style for this layer the same way we do via the > layer properties dialog. > > I have searched a bit in the api and in the source code, but cannot find > the right way to do so. I have not found a custom Widget which I can > instantiate with the layer and wich will provide me all the logic > underneath. > > Is this even possible ? Has anyone an idea of how to to this without > rewriting all the code ( connection between ui elements and slots) > > Thanks in advance > > Michaël >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer