[Qgis-developer] Updating Project Properties
Mohanakarthick
mail2bmkarthi at gmail.com
Wed Jan 7 00:46:40 PST 2015
Hi All,
I have tried to update the Selection color in the project Properties.
prj = QgsProject.instance()
prj.writeEntry( "Gui", "/SelectionColorRedPart", 255 )
prj.writeEntry( "Gui", "/SelectionColorGreenPart", 255 )
prj.writeEntry( "Gui", "/SelectionColorAlphaPart", 255 )
prj.writeEntry( "Gui", "/SelectionColorBluePart", 0 )
By executing the above code in QGIS 2.0 Dufour, it works fine. But in QGIS
2.6 Brighton the same is not working. Kindly help me to resolve the issue.
Thanks and Regards,
Mohanakarthick
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Updating-Project-Properties-tp5180297.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list