Dear developers, Along with other major changes in fracture software that we design with using the QGIS API, we decided to switch to the master API 1.8/1.9.
Using the python interface, given that self.DigiSurfaceDataLayer.isUsingRendererV2() is True and with self.DigiSurfaceDataLayer.rendererV2().symbol() of type QgsSingleSymbolRendererV2: how do I set FillStyle and LineWidth? Previously with the old renderer I could do: DigiSurfDataLayerSymbol = self.DigiSurfaceDataLayer.renderer().symbol() DigiSurfDataLayerSymbol.setFillStyle( QtCore.Qt.NoBrush ) DigiSurfDataLayerSymbol.setLineWidth( 1.0 ) With the new SymbolV2: * Should I use createSimple() function? * It asks for a QgsStringMap<http://qgis.org/api/qgsrendererv2_8h.html#ab13d4e9821da606b92748097c691b9dd>/QMap? How do I fill this? With what keys? Kind regards, Nico ---------------------------------------------------- TU Delft Civil Engineering and Geosciences Dept. Applied Geology Room 3.17 2628 CN Delft, NL Tel +31 15 27 82707 Fax +31 15 27 81189 [email protected]
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
