Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have noticed "Edit Widgets" under the Quantum GIS and would like to know in detail the use case and usage of this widget.

For any opened vector file, under the Properties -> Fields Tab, for every attribute feature there is a Edit Widget shown. Can someone explain in detail, the the use of these widgets?

If the answer is in form of Tutorial, I'm sure it will help a lot of users like me.

share|improve this question
Please accept once of the answers so that we can get it off the unanswered list. – Nathan W Aug 2 '12 at 1:20
is there a way of configure the editing type for a POSTGIS layer through Edit Widget and do not lose the changes after remove the layer or exit the program?? – gtapko Dec 7 '12 at 18:12

Users can choose from one of the following editing widgets:

  • Line edit – a simple edit box
  • Classification – displays a combo box with the values used for “unique value” classification (symbology tab)
  • Range – allows numeric values within a given range, the widget can be either slider or spin box
  • Unique values
    • editable – displays a line edit widget with auto-completion suggesting values already used in the attribute table
    • not editable – displays a combo box with already used values
  • File name – adds a file chooser dialog
  • Value map – shows a combo box with predefined description/value items
  • Enumeration – a combo box with values that can be used within the columns type
  • Immutable – read-only
  • Hidden – makes the attribute invisible for the user
  • Checkbox – a checkbox with customizable representation for both checked and unchecked state
  • Text edit – an edit box that allow multiple input lines
  • Calendar – a calendar widget to input dates


share|improve this answer

The edit widgets are used to control which UI control is used when the edit form (feature form) is shown to the user. These can be used to better control the input from the use, or aid in data collection, e.g Selecting Checkbox will show a tick box to the user for the field in the form.

These two posts cover a simple use case:

How to create a drop down list?

How to have a drop down list for feature editing (attributes) in Quantum GIS?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.