[QGIS-Developer] R: refactor fields doesn't accept expressions

2017-09-22 Thread Niccolò Marchi
Hi Andreas, unfortunately I never used it in this way (with formulae) before: all the previous times I was simply adding empty fields or deleting useless ones. A further minor issue related to the alg: when selecting the field type, “double” and “data” are repeated twice. An improvement could b

[QGIS-Developer] Generic use of QgsLocator and friends?

2017-09-22 Thread Richard Duivenvoorde
Hi Devs, I've been playing a little with the QgsLocatorWidget and friends (in Python). Hoping to be able to use this for a geocoder I have to reimplement. And also hoping it could be used as a generic geocoder interface, see an earlier QEP: https://github.com/qgis/QGIS-Enhancement-Proposals/issu

Re: [QGIS-Developer] Label Text Type case option 'Capitatlize first letter' ONLY capitalizes first letter

2017-09-22 Thread Tom Chadwin
If the drop-down is to stay, (and I think there is an argument that it should, as it's a lower barrier than delving into expressions), then probably the only case options need to be: - lower case - upper case - title case - sentence case However, I'm aware that I'm saying this as an English speak

Re: [QGIS-Developer] Label Text Type case option 'Capitatlize first letter' ONLY capitalizes first letter

2017-09-22 Thread Richard Duivenvoorde
On 22-09-17 11:29, Tom Chadwin wrote: > Hi Richard > > If you are raising this for yourself, I'm sure you know this, but you can > achieve what you need with the expressions function "title()". I can also > see occasions when first-letter could be of use. > > If your point is for other users, the

Re: [QGIS-Developer] Label Text Type case option 'Capitatlize first letter' ONLY capitalizes first letter

2017-09-22 Thread Tom Chadwin
Hi Richard If you are raising this for yourself, I'm sure you know this, but you can achieve what you need with the expressions function "title()". I can also see occasions when first-letter could be of use. If your point is for other users, then there is certainly an argument for including title