[general]
name=EDEA_LayerFieldTools
qgisMinimumVersion=3.16
qgisMaximumVersion=3.99
description=Inspect a vector layer's fields, add new fields, and manage label display and color, in a single lightweight dialog.
version=0.5.2
author=Dr EDEA O. Emile
email=edeaemile72@gmail.com

about=EDEA LayerFieldTools is a lightweight QGIS utility plugin with no external dependencies beyond PyQGIS/PyQt5. It lets you, from one dialog: (1) load a vector layer from a file and preview its fields, feature count and geometry type before adding it to the map view, (2) inspect the field list (name and type) of any vector layer already loaded in the project, (3) copy selected (or all) fields to the clipboard for pasting into Excel/Notepad, (4) delete one or more selected fields, with a confirmation prompt, (5) add a new field (Text, Integer, LongLong, Double, Boolean, Date) with basic validation, (6) enable/disable labels on the layer, choose the field to display, the font size, and a single label color, with a white halo applied automatically for readability, and (7) optionally assign a different color to each distinct value of the labeling field (rule-based labeling), with an auto-generated color palette that can be adjusted per value.
about[fr]=EDEA LayerFieldTools est un plugin utilitaire QGIS léger, sans dépendance externe hormis PyQGIS/PyQt5. Il permet, depuis une seule boîte de dialogue : (1) de charger une couche depuis un fichier et d'en prévisualiser les champs, le nombre d'entités et le type de géométrie avant de l'ajouter à la vue, (2) d'inspecter la liste des champs (nom et type) de toute couche vecteur déjà chargée dans le projet, (3) de copier les champs sélectionnés (ou tous) dans le presse-papiers pour les coller dans Excel/Bloc-notes, (4) de supprimer un ou plusieurs champs sélectionnés, avec confirmation préalable, (5) d'ajouter un nouveau champ (Texte, Entier, Entier long, Décimal, Booléen, Date) avec validation de base, (6) d'activer/désactiver les étiquettes sur la couche, de choisir le champ à afficher, la taille de police et une couleur unique, avec un contour blanc appliqué automatiquement pour la lisibilité, et (7) d'attribuer, si souhaité, une couleur différente à chaque valeur distincte du champ d'étiquetage (étiquetage basé sur des règles), avec une palette générée automatiquement et ajustable valeur par valeur.

changelog=0.5.2 (2026-08-08)
    - Fix: replaced the GitHub noreply contact email (which may not reliably relay incoming confirmation mail without the numeric ID prefix) with a real, monitored address for plugins.qgis.org confirmation
    0.5.1 (2026-08-08)
    - Fix: browsing a file cleared the path field right after setting it (default keep_path=False on _clear_preview), so the preview always read an empty path and silently did nothing (empty fields table, disabled Add/Discard buttons) even though the sublayer list populated correctly
    0.5.0 (2026-08-07)
    - New: load a vector layer from a file (browse dialog) and preview its fields, feature count and geometry type before deciding whether to add it to the map view; supports multi-layer containers (e.g. GeoPackage) via sublayer selection when available (QGIS >= 3.22), with a single-layer fallback on older QGIS versions
    0.4.0 (2026-08-07)
    - New: delete selected field(s) from the fields table, with confirmation dialog and editable-layer check
    - UI: copy and delete buttons grouped together above the fields table
    0.3.0 (2026-08-07)
    - New: color labels differently per field value (rule-based labeling), auto-generated color palette, per-value color picker, fallback color for unlisted values, capped at 30 distinct values with a warning
    0.2.0 (2026-08-07)
    - New: copy fields to clipboard (selected rows, or all fields if none selected), Ctrl+C shortcut and dedicated button, tab-separated "name / type" format
    - Cleanup: removed unused QUrl/QDesktopServices imports
    0.1.1 (2026-08-07)
    - Fix: use fully-qualified QgsPalLayerSettings.Placement.OverPoint (ambiguous enum on recent QGIS/PyQGIS builds)
    - Fix: help dialog rebuilt with QLabel (QMessageBox has no setOpenExternalLinks) so the repository link is clickable
    0.1.0 (2026-08-07)
    - Initial release
    - Field list inspection for loaded vector layers
    - Add field (Text/Integer/LongLong/Double/Boolean/Date)
    - Enable/disable labels, choose field, font size and color
    - Help entry with link to repository

tracker=https://github.com/edeaemile72-bit/EDEA_LayerFieldTools/issues
repository=https://github.com/edeaemile72-bit/EDEA_LayerFieldTools
homepage=https://github.com/edeaemile72-bit/EDEA_LayerFieldTools

tags=vector,fields,attributes,attribute table,labels,labeling,étiquettes,champs

category=Vector
icon=icons/icon.png
experimental=False
deprecated=False

hasProcessingProvider=no
server=False

license=GPL-2.0-or-later
