Hi, Did you find something related to plugin settings ?
I'm fine to update the docs if there are some hints. https://docs.qgis.org/3.40/en/docs/pyqgis_developer_cookbook/settings.html Or maybe better in the PyQGIS doc straight ? Le sam. 28 déc. 2024 à 10:06, Richard Duivenvoorde via QGIS-Developer < qgis-developer@lists.osgeo.org> a écrit : > Hi Dev's, > > What is the proper way to write plugins/QgsSettings in a plugin, AND let > them (also) show up in the "new settings tree widget" ? > > I've tried (using the a predefined Plugins setting like in the api docs: > > https://qgis.org/pyqgis/master/core/QgsSettings.html#qgis.core.QgsSettings.Plugins > : > > s=QgsSettings() > s.beginGroup("settingstest",QgsSettings.Plugins) > s.setValue("foo", 1) > s.endGroup() > s.sync() > > Then that value shows up in the old settings widget (in > 'plugins/settingstest', but not yet in the new tree. > While that shows other settings. > Apparently I'm missing something? > Or isn't the python part not yet done? > > Thanks for any pointers. > > Regards, > > Richard Duivenvoorde > > > _______________________________________________ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer