Logo Alexandre Neto
  • Home
  • About
  • Services
  • Recent Posts
  • Posts
  • Plugins
  • English
    Português English
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • ArcGIS
  • Atlas
  • Cartography
  • Composer
  • Conda
  • Conda-Forge
  • Gdal
  • Hint
  • Mamba
  • Map Composer
  • Open Source
  • Opinion
  • Postgis
  • Pyqgis
  • Python
  • QGIS
  • Recart
  • SQL
  • Tutorial
  • Vscode
Hero Image
Configure editing form widgets using PyQGIS

As I was preparing a QGIS Project to read a database structured according to the new rules and technical specifications for the Portuguese Cartography, I started to configure the editing forms for several layers, so that: Make some fields read-only, like for example an identifier field. Configure widgets better suited for each field, to help the user and avoid errors. For example, date-time files with a pop-up calendar, and value lists with dropdown selectors. Basically, I wanted something like this:

  • pyqgis
  • QGIS
  • Recart
Monday, September 30, 2019 | 4 minutes Read
Navigation
  • About
  • Services
  • Recent Posts
  • Plugins
Contact me:
  • srnetochan
  • Alexandre Neto
  • @alexnetogeo
  • @alexnetogeo

Toha Theme Logo Toha
© 2022 Copyright. Globe icon created by Freepik - Flaticon
Powered by Hugo Logo