<div dir="ltr"><div><div><div><div><div><div>Hi Régis<br><br></div>Thanks for your answer. I already done it, this way :<br></div><a href="https://github.com/3liz/QgisLayerBoardPlugin/commit/c212b42af4ee2b73b4a087d7f8fda9b3dfd823e3">https://github.com/3liz/QgisLayerBoardPlugin/commit/c212b42af4ee2b73b4a087d7f8fda9b3dfd823e3</a><br><br></div><div>Basically I am using the <span class="">QgsRendererV2PropertiesDialog, and then use its method "apply"<br></span></div><div><br></div>I will release a new version today.<br><br></div>Now I need to figure out the equivalent of <span class="">QgsRendererV2PropertiesDialog </span>for raster layers<br><br></div>Cheers<br><br></div>Michaël<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-24 10:17 GMT+02:00 Régis Haubourg <span dir="ltr"><<a href="mailto:regis.haubourg@eau-adour-garonne.fr" target="_blank">regis.haubourg@eau-adour-garonne.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Michael , you can have a look to Mask plugin code, we embed a layer<br>
styling window in main GUI.<br>
Cheers<br>
Régis<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Use-the-style-tab-widget-in-a-Python-plugin-tp5212511p5212616.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Use-the-style-tab-widget-in-a-Python-plugin-tp5212511p5212616.html</a><br>
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div></blockquote></div><br></div>