QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
A symbol entity for QgsStyle databases. More...
#include <qgsstyle.h>
Public Member Functions | |
QgsStyleSymbolEntity (QgsSymbol *symbol) | |
Constructor for QgsStyleSymbolEntity, with the specified symbol. More... | |
QgsSymbol * | symbol () const |
Returns the entity's symbol. More... | |
QgsStyle::StyleEntity | type () const override |
Returns the type of style entity. More... | |
Public Member Functions inherited from QgsStyleEntityInterface | |
virtual | ~QgsStyleEntityInterface ()=default |
virtual QgsStyle::StyleEntity | type () const =0 |
Returns the type of style entity. More... | |
|
inline |
Constructor for QgsStyleSymbolEntity, with the specified symbol.
Ownership of symbol is NOT transferred.
Definition at line 1350 of file qgsstyle.h.
|
inline |
Returns the entity's symbol.
Definition at line 1359 of file qgsstyle.h.
|
overridevirtual |
Returns the type of style entity.
Implements QgsStyleEntityInterface.
Definition at line 3399 of file qgsstyle.cpp.