[Qgis-developer] Detect raster layers which have been deleted

Etienne Trimaille etienne.trimaille at gmail.com
Sat Dec 14 07:38:15 PST 2013


Hi,

Sorry, I'm a beginner in pyqgis.
I found the signal "layerDeleted ()" in the QgsVectorLayer class,
however, I can't find it in the QgsRasterLayer class :

http://qgis.org/api/2.0/classQgsVectorLayer.html#acc3e594b1dac4815dc031a2236f66a96

Is there a reason ?
How can I detect that a raster layer has been deleted ?

Another question :
I didn't find a way to insert a layer at the bottom, not on the top.
I want to change the drawing order for a new layer.

Thanks
Regards,
Etienne


More information about the Qgis-developer mailing list