Hi Zac,

Generally, QGIS data are stored in layers. I think it is enough for us to
transfer data in layers. Could you give a detailed example?

Best regards,

Han

Zac Wang <[email protected]> 于2021年4月22日周四 下午7:07写道:

> Hi all,
>
> Are there some ways to transfer data between different pyqgis plugins? I
> hope plugins share state.
>
> The only way I found is to make pluginA to be a child component of
> QgisApp(iface.mainWindow()).
>
> Then in another pluginB, call findChild() to get the object(pluginA) and
> connect its signal.
>
> This is a possible solution, but it's not easy to maintain because plugins
> are not initiated in the same file.
>
> Is there a better solution?
>
> Regards,
>
> Zac
> _______________________________________________
> QGIS-Developer mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to