QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsStyleSymbolEntity Class Reference

A symbol entity for QgsStyle databases. More...

#include <qgsstyle.h>

Inheritance diagram for QgsStyleSymbolEntity:
Inheritance graph
[legend]

Public Member Functions

 QgsStyleSymbolEntity (QgsSymbol *symbol)
 Constructor for QgsStyleSymbolEntity, with the specified symbol.
 
QgsSymbolsymbol () const
 Returns the entity's symbol.
 
QgsStyle::StyleEntity type () const override
 Returns the type of style entity.
 
- Public Member Functions inherited from QgsStyleEntityInterface
virtual ~QgsStyleEntityInterface ()=default
 

Detailed Description

A symbol entity for QgsStyle databases.

Since
QGIS 3.10

Definition at line 1395 of file qgsstyle.h.

Constructor & Destructor Documentation

◆ QgsStyleSymbolEntity()

QgsStyleSymbolEntity::QgsStyleSymbolEntity ( QgsSymbol symbol)
inline

Constructor for QgsStyleSymbolEntity, with the specified symbol.

Ownership of symbol is NOT transferred.

Definition at line 1404 of file qgsstyle.h.

Member Function Documentation

◆ symbol()

QgsSymbol * QgsStyleSymbolEntity::symbol ( ) const
inline

Returns the entity's symbol.

Definition at line 1413 of file qgsstyle.h.

◆ type()

QgsStyle::StyleEntity QgsStyleSymbolEntity::type ( ) const
overridevirtual

Returns the type of style entity.

Implements QgsStyleEntityInterface.

Definition at line 3431 of file qgsstyle.cpp.


The documentation for this class was generated from the following files: