[Qgis_fr] Adaptation d'un plugin QGIS2 pour QGIS3