To slightly expand on that:

the qgis.utils.plugins dict lists loaded plugins, installed ones can
just be imported (and guarded with a try-except) if the loading part is
not actually a pre-requisite.

Matthias


On 11/08/2017 07:19 PM, Tom Chadwin wrote:
>> from timemanager.layer_settings import LayerSettings 
> Ah, it's as simple as that! Thank you so much.
>
> Tom
>
>
>
> -----
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> _______________________________________________
> 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