# This file contains metadata for your plugin.

# This file should be included when you package your plugin.

# Mandatory items:

[general]
name=Transmittance Layer ctl
qgisMinimumVersion=4.0
description=Group layers and control their opacity, order, and labeling as a single blended layer.
description[ja]=複数レイヤーをグループ化し、透過率・順番・ラベルを一括制御して一体化したレイヤーのように扱います。
version=1.0.2
author=Hideharu Masai
email=hideharumasai@void.mints.ne.jp

about=Tag any QGIS layer group as a "Transmittance Group" to open an interactive 2D control panel.

    The canvas plots each layer as a draggable dot — X axis controls stacking order, Y axis controls opacity. Drag a dot to adjust both at once. Click a dot to toggle its visibility.

    Key features:
    - Real-time opacity and order editing with immediate map feedback
    - Label control: a △ indicator selects which layer displays its QGIS label
    - Exclusive Control mode: click any dot to show only that layer and its label; cycle through layers with arrow keys
    - Opacity clamping: define an upper/lower opacity range applied across all layers
    - Presets (×4): save and restore full panel states, including order, opacity, clamping, and exclusive control settings

    Designed for workflows that involve comparing multiple overlapping layers — such as elevation models, orthophotos, and feature layers — where visual blending and quick layer switching matter.

tracker=https://github.com/raw-slnc/transmittance_layer_ctl/issues
repository=https://github.com/raw-slnc/transmittance_layer_ctl
# End of mandatory metadata

# Recommended items:

hasProcessingProvider=no
changelog=
    1.0.2 - [IMPORTANT] Reset now restores the opacity each layer had when the group was first marked for Transmittance control. Exclusive Control can now remember visible groups with Ctrl+click and recall them by clicking any layer in the group. Opacity changes during dragging are applied more smoothly, and the graph area now has a clearer blue-toned background with brighter grid lines. Panel settings for each group (filter range, label marker, Exclusive Control on/off and remembered groups) are now saved with the project and restored when the group is reopened. Opening the panel no longer changes layer opacity, or layer visibility when Exclusive Control is on.
    1.0.1 - Changed display format: the panel is now a plain standalone window instead of a floating QDockWidget
    1.0.0 - QGIS 4.x support: ported to PyQt6 (scoped enums, qgis.PyQt.sip import path); removed unused imports and dead code; defer initial panel setFloating() to avoid failing to detach as a top-level window under some window managers
    0.1.8 - Fix bandit security scan warnings: suppress intentional bare-except patterns in unload() with nosec B110
    0.1.7 - Fix: preset button styles now correctly reset when switching groups, preventing stale visual state from a previous group
    0.1.6 - Fix: presets are now saved and loaded per group; switching groups resets the active preset
    0.1.5 - Fix: layer order changes via mouse drag and keyboard now correctly apply to QGIS layer tree; opacity is now applied immediately when the panel is opened; initial slot distribution adjusted to allow all layers to be reordered
    0.1.4 - Fix: prevent RuntimeError crash when operating after a transmittance group has been deleted from the layer tree
    0.1.3 - Fix: corrected critical misconfiguration where Order 1 (leftmost) was rendered at the bottom instead of the top; Reset button now sets all layers to visible
    0.1.2 - Fix: reordering layers no longer enables "Control rendering order" in QGIS Layer Order panel
    0.1.1 - UI refinements: added axis label, reduced point size, Tab/Space keyboard navigation, panel positioning and focus improvements
    0.1.0 - Initial release

tags=layer,opacity,transmittance,group,blend,labeling

homepage=https://github.com/raw-slnc/transmittance_layer_ctl
category=Layers
icon=icon.png
experimental=False
deprecated=False
server=False
