Re: [QGIS-Developer] How to read content from the metadata.txt file

2021-03-08 Thread Bo Victor Thomsen
Works like a charm. Thanks Etienne :-) Med venlig hilsen / Kind regards Bo Victor Thomsen Den 08-03-2021 kl. 10:55 skrev Etienne Trimaille: Hi, configparser is designed to read INI file : https://docs.python.org/3/library/configparser.html

Re: [QGIS-Developer] SVG icons in QGIS

2021-03-08 Thread jrmorreale_ml
Hi, I'm digging this up as it doesn't seems that QGIS shows to the user the possibility to have user-defined tags and how to create them. It means that most users are missing it. To give more exposure to this feature, it would be great to ask the user if the SVG should be edited to add all th

Re: [QGIS-Developer] How to read content from the metadata.txt file

2021-03-08 Thread Etienne Trimaille
Hi, configparser is designed to read INI file : https://docs.python.org/3/library/configparser.html There are some helpers if needed in QGIS : https://github.com/qgis/QGIS/blob/master/python/utils.py#L291 to have the configparser from a plugin name if needed. Le lun. 8 mars 2021 à 16:46, Bo Victo

[QGIS-Developer] How to read content from the metadata.txt file

2021-03-08 Thread Bo Victor Thomsen
Hi list - Is there a smart method - using Python - to read the entries ("Homepage", "Bug Tracker", "Code repository"...) in the "metadata.txt" in the plugin directory ? -- Med venlig hilsen / Kind regards Bo Victor Thomsen ___ QGIS-Developer maili