qgserde - v0.3.1
    Preparing search index...

    Interface QgsLayerTreeLayer

    Tree node referencing a project layer by ID.

    interface QgsLayerTreeLayer {
        attributes?: QgsLayerTreeLayerAttributes;
        checked: QgsCheckState;
        customProperties?: QgsVariantMap;
        expanded: boolean;
        layerId: string;
        patch?: QgsLegendPatchAttributes;
        type: "layer";
    }
    Index

    Other attributes, such as patch_size, legend_exp, and legend_split_behavior.

    checked: QgsCheckState

    Layer reference check state. Parent group states also affect visibility.

    customProperties?: QgsVariantMap

    Plugin and application properties stored with the node.

    expanded: boolean

    Whether the node is expanded in the layer tree.

    layerId: string

    Referenced QgsMapLayerBase.id. The node's name, source, and provider are written from that layer; a reference to a layer outside the project keeps them as stored.

    Legend patch shape: type, wkt, and preserveAspect.

    type: "layer"

    Discriminant for a layer reference.