[Qgis-developer] QgsFillSymbolLayerV2 descendants missing from sip

Massimo massimo.endrighi at geopartner.it
Tue Sep 18 23:39:07 PDT 2012


Tim Sutton-4 wrote
> Hi
> 
> On Tue, Sep 18, 2012 at 6:52 PM, Massimo <

> massimo.endrighi@

> > wrote:
>> Dear QGis developper Team,
>>
>> QgsFillSymbolLayerV2 descendants, but also QgsLineSymbolLayerV2 and
>> QgsMarkerSymbolLayerV2 descendants are missing from sip.
>> Working with styles to a deep level it is impossible without such
>> exportation.
>> Is this by design or can I add all the missing stuff in sip files?
>>
> 
> You can work around it to some extent using approach shown in [1], but
> it would be really awesome to have the sip files updated to properly
> support V2 symbology properly.
> 
> [1]
> http://github.com/AIFDR/inasafe/blob/master/safe_qgis/utilities.py#L110

The [1] is usefull and pretty ready to use in case of style creation but
when you have to inspect or change a style you have to test the presence of
a particular property to identify which style you are handling with.
So, I'll update the sip files and I'll prepare a pull request.

Regards,
Massimo



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/QgsFillSymbolLayerV2-descendants-missing-from-sip-tp5002739p5002852.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list