QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsStyleTextFormatEntity Class Reference

A text format entity for QgsStyle databases. More...

#include <qgsstyle.h>

Inheritance diagram for QgsStyleTextFormatEntity:
Inheritance graph
[legend]

Public Member Functions

 QgsStyleTextFormatEntity (const QgsTextFormat &format)
 Constructor for QgsStyleTextFormatEntity, with the specified text format. More...
 
QgsTextFormat format () const
 Returns the entity's text format. 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...
 

Detailed Description

A text format entity for QgsStyle databases.

Since
QGIS 3.10

Definition at line 1434 of file qgsstyle.h.

Constructor & Destructor Documentation

◆ QgsStyleTextFormatEntity()

QgsStyleTextFormatEntity::QgsStyleTextFormatEntity ( const QgsTextFormat format)
inline

Constructor for QgsStyleTextFormatEntity, with the specified text format.

Definition at line 1441 of file qgsstyle.h.

Member Function Documentation

◆ format()

QgsTextFormat QgsStyleTextFormatEntity::format ( ) const
inline

Returns the entity's text format.

Definition at line 1450 of file qgsstyle.h.

◆ type()

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

Returns the type of style entity.

Implements QgsStyleEntityInterface.

Definition at line 3441 of file qgsstyle.cpp.


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