[Qgis-developer] Simple sample code for function editor

2015-03-09 Thread Larissa Junek
Hello all, I'm writing a new chapter about the new function editor for the user manual 2.8. I'm not confirmed with PYthon programmming. See http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/field_calculator.html#function-editor-tab Is there somebody who can give a short example

Re: [Qgis-developer] Simple sample code for function editor

2015-03-09 Thread Barry Rowlingson
On Mon, Mar 9, 2015 at 2:19 PM, Larissa Junek ju...@gbd-consult.de wrote: Hello all, I'm writing a new chapter about the new function editor for the user manual 2.8. I'm not confirmed with PYthon programmming. See

Re: [Qgis-developer] Simple sample code for function editor

2015-03-09 Thread Andrew McClure
You may want to include reference to the unregister method when cleaning up. // For all your user defined functions if QgsExpression.isFunctionName($name): QgsExpression.unregisterFunction($name) ___ Qgis-developer mailing list