[Qgis-developer] Re: [PyQGIS] - Change VertexMarkerType

Salvatore Larosa s_larosa at libero.it
Tue Feb 22 05:53:41 EST 2011



Martin Dobias wrote:
> 
> You probably need to wrap the second parameter into QVariant class (I
> think newer PyQt versions have this conversion automatically):
> 
> settings.setValue("/qgis/digitizing/marker_style",
> QVariant("SemiTransparentCircle"))
> 
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 

Thanks a lot, Martin

It works!

I'll have to spend a little time to read the PyQt API Documentation!!

Salvatore
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/PyQGIS-Change-VertexMarkerType-tp6050479p6051890.html
Sent from the qgis-developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list