I am building a QGIS plugin that can request point features from a WFS, based on criteria defined in the plugins dialog.
Once the results are in, I want to display them with different symbols, based on a field called 'appropriate_symbol'. If a result point-feature has the field value 'fox', it gets a custom made icon of a fox, if the result has a field value 'elephant', it gets a custom made elephant-icon. And so on.
I know that QGIS comes with many svg symbols pre-installed. But I want to use customized symbols and ideally they should be shipped and installed together with the plugin. Is that possible? Can I execute a python command within the plugins __init__ that checks the QGIS installation for the location of svg symbols and adds my own symbols if they are not present already (how would that be implemented)? Or is there are more elegant way?
It is fine if the symbols are available to the user when the plugin is not activated. And it is a rather small user base that would install the plugin from a private repository. But it is important that their custom symbols are implemented, which I why I am looking for an elegant way to deliver them together with the plugin.