QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSSTYLEENTITYVISITOR_H
19 #define QGSSTYLEENTITYVISITOR_H
21 #include "qgis_core.h"
69 : identifier( identifier )
70 , description( description )
118 , identifier( identifier )
119 , description( description )
191 #endif // QGSSTYLEENTITYVISITOR_H
QString description
A string describing the node.
An interface for entities which can be placed in a QgsStyle database.
An interface for classes which can visit style entity (e.g. symbol) nodes (using the visitor pattern)...
virtual bool visitExit(const QgsStyleEntityVisitorInterface::Node &node)
Called when the visitor stops visiting a node.
Contains information relating to the style entity currently being visited.
Node(QgsStyleEntityVisitorInterface::NodeType type, const QString &identifier, const QString &description)
Constructor for Node, visiting the node with the specified identifier and description.
StyleLeaf(const QgsStyleEntityInterface *entity, const QString &identifier=QString(), const QString &description=QString())
Constructor for StyleLeaf, visiting the given style entity with the specified identifier and descript...
QString description
A string describing the style entity.
Contains information relating to a node (i.e.
virtual bool visitEnter(const QgsStyleEntityVisitorInterface::Node &node)
Called when the visitor starts visiting a node.
QString identifier
A string identifying the style entity.
virtual bool visit(const QgsStyleEntityVisitorInterface::StyleLeaf &entity)
Called when the visitor will visit a style entity.
NodeType
Describes the types of nodes which may be visited by the visitor.
QString identifier
A string identifying the node.
@ Project
QGIS Project node.