Feature request #7319

Create class for each Edit type

Added by Denis Rouzaud about 4 years ago. Updated almost 3 years ago.

Status:Closed Start Date:03/11/2013
Priority:Normal Due date:
Assigned to:Nathan Woodrow % Done:


Target version:Future Release - High Priority
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


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.

Associated revisions

Revision ea91b6fe4a21ff741de918a11d0f2a26a291c1e2
Added by Matthias Kuhn almost 3 years ago

[FEATURE] Port editor widgets to new API

Create a new widget for for attribute form

fix #10281
fix #7319
fix #7013
fix #9335
fix #4417


Updated by Matthias Kuhn almost 3 years ago

  • Status changed from Open to Closed

Also available in: Atom