[Qgis-developer] pointers in PyQt

Denis Rouzaud denis.rouzaud at gmail.com
Wed Mar 7 04:33:40 EST 2012


..............

no comment, but thanks a lot!!!!!!!

On 03/07/2012 10:30 AM, Alexandre Badez wrote:
> Hi,
>
> Try None.
>
> On Wed, Mar 7, 2012 at 10:28, Denis Rouzaud<denis.rouzaud at gmail.com>  wrote:
>> Hi,
>>
>> In the QgsRubberBand.addGeometry , we can specify a 0 pointer for the layer
>> if we don't need its the coord transformation.
>>
>> How can I do this in python?
>>
>> I tried
>> self.rubber.addGeometry( geom , 0 )
>>
>> but, of course I got an "unexpected type" error... How can I express a 0
>> pointer in python?
>>
>> Thanks,
>>
>> Denis
>>
>> http://qgis.org/api/classQgsRubberBand.html#a8dac7b95e31640a8808c6620930aba7
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>


More information about the Qgis-developer mailing list