QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsStyleEntityVisitorInterface::Node Struct Reference

Contains information relating to a node (i.e. More...

#include <qgsstyleentityvisitor.h>

Public Member Functions

 Node (QgsStyleEntityVisitorInterface::NodeType type, const QString &identifier, const QString &description)
 Constructor for Node, visiting the node with the specified identifier and description.
 

Public Attributes

QString description
 A string describing the node.
 
QString identifier
 A string identifying the node.
 
QgsStyleEntityVisitorInterface::NodeType type = QgsStyleEntityVisitorInterface::NodeType::Project
 Node type.
 

Detailed Description

Contains information relating to a node (i.e.

a group of symbols or other nodes) being visited.

Definition at line 110 of file qgsstyleentityvisitor.h.

Constructor & Destructor Documentation

◆ Node()

QgsStyleEntityVisitorInterface::Node::Node ( QgsStyleEntityVisitorInterface::NodeType  type,
const QString &  identifier,
const QString &  description 
)
inline

Constructor for Node, visiting the node with the specified identifier and description.

Definition at line 116 of file qgsstyleentityvisitor.h.

Member Data Documentation

◆ description

QString QgsStyleEntityVisitorInterface::Node::description

A string describing the node.

The actual value of description will vary depending on the node being visited. E.g for a rule based renderer, the identifier will be a rule label. For a project, node identifiers will be layer names.

Definition at line 141 of file qgsstyleentityvisitor.h.

◆ identifier

QString QgsStyleEntityVisitorInterface::Node::identifier

A string identifying the node.

The actual value of identifier will vary depending on the node being visited. E.g for a rule based renderer, the identifier will be a rule ID. For a project, node identifiers will be layer IDs.

Definition at line 133 of file qgsstyleentityvisitor.h.

◆ type

Node type.

Definition at line 125 of file qgsstyleentityvisitor.h.


The documentation for this struct was generated from the following file: