Re: [QGIS-Developer] QgsSettings

2022-12-09 Thread Alessandro Pasotti via QGIS-Developer
Hi Denis, it's been a while but IIRC the goal was to have a drop-in replacement of QSettings, that's probably why I recreated the same ctors. On Fri, Dec 9, 2022 at 2:48 PM Denis Rouzaud wrote: > > Hi all, > > While working on the refactoring of settings (see >

Re: [QGIS-Developer] QgsSettings

2022-12-09 Thread C Hamilton via QGIS-Developer
Just to let you know I use QgsSettings in most of my plugins. If you change it, that would cause all kinds of problems with compatibility to the 10 plugins that I support. Be very careful in changing class names. It can be done, but it could have major impacts. Best wishes, Calvin On Fri, Dec

[QGIS-Developer] QgsSettings

2022-12-09 Thread Denis Rouzaud via QGIS-Developer
Hi all, While working on the refactoring of settings (see https://github.com/qgis/QGIS-Enhancement-Proposals/issues/245), I am thinking about deprecating the QgsSettings class and directly integrate its functionality within QgsSettingsRegistry. I would need a bit of help to understand the

Re: [QGIS-Developer] QgsSettings + ows key cleanup?

2017-05-18 Thread Alessandro Pasotti
On Thu, May 18, 2017 at 1:27 PM, Richard Duivenvoorde wrote: > On 18-05-17 12:11, Alessandro Pasotti wrote: > > Hi Richard, > > > > Cleaning is always very welcome! > > > > I think that to bring some more order to the root level settings, we > > should eventually make more

Re: [QGIS-Developer] QgsSettings + ows key cleanup?

2017-05-18 Thread Nathan Woodrow
ps Nathan: any news on your profile work? Yeah getting there, just doing clean up etc. Busy at work at the moment but hopefully this weekend. We also need something to deal with these key changes to help people migrate from 2 to 3. We need a transform settings function. On Thu, May 18, 2017 at

Re: [QGIS-Developer] QgsSettings + ows key cleanup?

2017-05-18 Thread Richard Duivenvoorde
On 18-05-17 12:11, Alessandro Pasotti wrote: > Hi Richard, > > Cleaning is always very welcome! > > I think that to bring some more order to the root level settings, we > should eventually make more use of the optional section argument: > >

Re: [QGIS-Developer] QgsSettings + ows key cleanup?

2017-05-18 Thread Alessandro Pasotti
Hi Richard, Cleaning is always very welcome! I think that to bring some more order to the root level settings, we should eventually make more use of the optional section argument: https://qgis.org/api/classQgsSettings.html#aba2f174ee000905cac8aff26665ed7c7 This is not implemented for groups

[QGIS-Developer] QgsSettings + ows key cleanup?

2017-05-18 Thread Richard Duivenvoorde
Hi, hitting https://issues.qgis.org/issues/16528 and fixing: https://github.com/qgis/QGIS/pull/4586 with a very clean config, I see that the settings are rather messy: [Qgis] and [qgis] are/were used (in the PR I propose a further cleanup) But in the settings I see now different parents for