Solved Updating a config file for a plugin
-
Hello,
I am creating a plugin on QGIS. I have 2 interfaces : in the first one, the user must select three entries to launch the second interface. As I want to save the three entries in a config file that would be loaded when launching the plugin, so that the user doesn't select the entries. I tried to create this file and to write in it but I have problems when updating one entry for example. My config file is very simple : one line for each entry, I have three lines.
I want to have some ideas, a sample of how developing a config file for a plugin on QGIS.
Thanks for your help.
-
@EJWA What about http://doc.qt.io/qt-5/qsettings.html ?
-
Thanks, this is a very good solution. It works for me .