[general]
name=Layers Panel Tools
qgisMinimumVersion=3.28
qgisMaximumVersion=4.99
description=Buttons on the existing Layers panel toolbar: multi-point draw line, line direction check, quick classify, layer visibility schemes, batch select, layer manager, batch export, export by class, layer actions, line marks, polygon select, feature counts, basemap presets, solo, flash locate, and more, with per-button shortcuts and a layer right-click menu that can include third-party tools
version=1.0.12
author=youyu
email=jd_sys_xx@163.com
about=Layers Panel Tools adds buttons to the toolbar of the existing Layers panel. After installation there is no main-window toolbar icon: every button, and the Layers Panel Tools settings button on the same toolbar, sits on the Layers panel itself. Buttons show an icon only; the name appears on hover and can be renamed.
    On by default: labels (all or selected layers), batch select (zoom to fit, by type or state, never touching basemaps), layer manager (show/labels switches, opacity, style copy/paste, jump to symbology, fields, properties), edit log (roll back operations one by one or by layer, in memory), batch export (point/line/polygon layers to a folder, or several layers into one file when the format allows it; a dialog names the result. For CSV, merge writes a same-named Excel workbook with one sheet per layer unless “one table” is checked, which keeps every field and lists a shared field name only once), polygon select (select, copy, move, or delete features of many layers inside a drawn polygon), feature counts beside layer names, layer visibility schemes (remember which layers and categories are on, per project, with several schemes), basemap presets, solo (show only the selected layers, click again to restore), flash locate (blink layer switches or flash features, adjustable interval), layer actions (clear every feature, start or finish editing, copy a layer with or without features), line marks (start, end, and length in meters on the map, nothing written back), and export by class (one file per legend class or per field value, ESRI Shapefile by default).
    Off by default, one click away in Layers Panel Tools settings: multi-point draw line (pick points by rectangle, polygon, or a drawn line with numbered snap preview, write one straight segment between each adjacent pair, optional deduplication against a required reference line layer, output to a temporary layer or a chosen line layer), line direction check (pick a start point and several line layers; join only when endpoints meet within the tolerance; reverse wrong segments from the results), quick classify (assign selected features from symbology classes; pin a layer to copy geometry from another layer then classify; optional skip-confirm and timed auto-save), organize (sort, group, layer CSV, snapshots), repair data sources, find layer (name, field, or value search with wildcards), show/hide all layers (basemaps untouched), move layers, opacity slider, copy/paste style, batch rename, copy layer files with sidecars, layer color tags, scale check, and render check.
    Shortcuts: every button — and every function inside a multi-function button — can get its own keyboard shortcut and a custom title. Shortcuts respond only while the QGIS main window has focus, never system-wide. Conflicts are checked while you type: a shortcut already used by another function or by QGIS itself is refused, and its holder is named.
    The layer right-click menu can be reordered, renamed, hidden, and grouped. Plugin tools that act on the current layer can be added there, including layer manager, polygon select, visibility schemes, basemap presets, and export by class. Third-party plugin actions and Processing toolbox algorithms can also be added. Tools QGIS already provides are not offered. A custom name is listed as Original(custom) and the menu itself shows only the custom name. A toolbar title for the same button stays in step. Reset on that page restores only the right-click menu.
    The settings gear is always shown on the Layers toolbar (checkbox required on) and is reattached if the panel layout changes. The interface is available in 中文, English, Español, Français, and العربية. The first launch follows the QGIS locale, then the system locale, and the choice is remembered. Arabic lays out plugin windows from right to left. Settings, button order, rows, custom titles, basemap presets, and visibility schemes are stored on this machine and apply to every project; visibility snapshots and layer color tags are stored in the project file. Bulk visibility actions never touch basemap layers.
    Requirements: QGIS 3.28 through 4.99 (Qt 5 and Qt 6). No extra Python packages. Local files only; no binaries, no external services.
icon=icon.png
category=General
tags=layers, panel, toolbar, visibility, organize, rename, opacity, style, labels, basemap, shortcut, multiline, line direction, classify
homepage=https://yuyouhui.online/tools/qgis/layers-panel-tools/
tracker=https://github.com/AutoFYQ323/layers-panel-tools/issues
repository=https://github.com/AutoFYQ323/layers-panel-tools
changelog=1.0.12
    New: line direction check and quick classify on the Layers toolbar between multi-point draw line and organize; both off by default. Multi-point draw line is also off by default; its toolbar slot is unchanged. Settings for these tools use this plugin’s own ini only.
    Fix: settings gear stays on the current Layers toolbar layout and is forced visible like other buttons (checkbox required on); unmatched native tip:/slot: ids no longer wipe the whole saved toolbar order.
    Fix: opening System Properties with an empty layer-menu list silently captures default right-click items; OK on a still-blank page no longer overwrites a previously saved order.
    New: multi-point draw line on the Layers toolbar (rectangle / polygon / draw-line pick, numbered yellow snap badges matching LocalLine logic, auto-generate after pick, no separate Generate button).
    New: system properties can add third-party plugin actions (installed plugins only), with collapsible color-coded groups (up to 20), native items allowed in groups, and drag that no longer deletes rows. Toolbar checkbox for third-party actions only toggles the original top toolbar (PROC-style), never the Layers panel toolbar.
    Shared QGIS actions such as Toggle Editing keep separate Menu and Toolbar checkboxes.
    Metadata jumps from 1.0.5 to 1.0.12.
    1.0.5
    Batch export reports the folder or file when it finishes. For CSV, merge adds a second box, off by default and not remembered: one sheet per layer, written as a same-named Excel workbook because CSV cannot hold sheets; when checked, one CSV table. A field name shared by several layers appears once, and no layer’s fields are dropped.
    Export by class writes one file per legend class, or one file per distinct field value. A classified layer starts from the legend; an ordinary layer starts from a field. Split by field, which added subset layers inside the project, is removed.
    The layer right-click page can also add layer manager, polygon select, visibility schemes, basemap presets, and export by class. A custom name is listed as Original(custom) and shown alone on the menu. The same button’s toolbar title stays in step. Reset on that page restores only the right-click menu.
    Merge export writes several layers into one file when the format can hold them: GeoPackage, SQLite, KML, GML, Excel, ODS, and DXF. Checking merge asks for a file path instead of a folder. CSV cannot keep separate layers in one file. DXF still drops most attributes and says so.
    The layer right-click menu can be reordered, renamed, and hidden. A dropdown adds only plugin tools that act on the current layer. Labels, feature count, style copy, move, batch rename, and line marks are left out because QGIS already has them.
    New tools, on by default: layer actions (clear features, start editing, save and close, copy a layer or an empty copy), line marks (start, end, and length in meters, nothing written to the layer), and export by class. Export by class uses one layer at a time, shown in a dropdown with the feature count. A classified layer is bold red and starts from the legend; an ordinary layer starts from a field. The format defaults to ESRI Shapefile. Start editing and save-and-close do not pop up when they succeed.
    The settings button comes back if the Layers panel toolbar appears late. Turning the plugin off and on in the same QGIS session no longer reapplies a saved visibility scheme.
    1.0.3
    First public release. Buttons on the Layers panel toolbar, with settings for visibility, order, rows, and custom titles. Eleven tools on by default, fourteen more one click away in settings. Multi-function buttons unfold in settings so each sub-function can get its own title and shortcut; shortcuts are checked for conflicts as you type and are never system-wide. Interface in 中文, English, Español, Français, and العربية; the first launch follows the QGIS locale and the choice is remembered; Arabic lays out windows from right to left.
experimental=False
deprecated=False
server=False
