Feature request #7319
Create class for each Edit type
|Assigned to:||Nathan Woodrow||% Done:||
|Target version:||Future Release - High Priority|
|Platform version:||Pull Request or Patch supplied:||No|
With addition of editable option for all edit types (http://hub.qgis.org/issues/6562), the "immutable" edit type is useless.
Right now, edit types are saved as numbers in the the project. Just removing the immutable edit type, will lead to a switch of one in the list, and will bring a compatibility issue with older project.
Nathan's idea is to create a class for each edit type, with its id (the old enum value) and the 3 methods: createEditor, setValue, getValue.
Also available in: Atom