QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsRasterRendererRegistryEntry Struct Reference

Registry for raster renderer entries. More...

#include <qgsrasterrendererregistry.h>

Public Member Functions

 QgsRasterRendererRegistryEntry ()=default
 
 QgsRasterRendererRegistryEntry (const QString &name, const QString &visibleName, QgsRasterRendererCreateFunc rendererFunction, QgsRasterRendererWidgetCreateFunc widgetFunction, Qgis::RasterRendererCapabilities capabilities=Qgis::RasterRendererCapabilities())
 Constructor for QgsRasterRendererRegistryEntry.
 
QIcon icon ()
 

Public Attributes

Qgis::RasterRendererCapabilities capabilities
 Renderer capabilities.
 
QString name
 
QgsRasterRendererCreateFunc rendererCreateFunction = nullptr
 
QString visibleName
 
QgsRasterRendererWidgetCreateFunc widgetCreateFunction = nullptr
 

Detailed Description

Registry for raster renderer entries.

Note
Not available in Python bindings

Definition at line 44 of file qgsrasterrendererregistry.h.

Constructor & Destructor Documentation

◆ QgsRasterRendererRegistryEntry() [1/2]

QgsRasterRendererRegistryEntry::QgsRasterRendererRegistryEntry ( const QString &  name,
const QString &  visibleName,
QgsRasterRendererCreateFunc  rendererFunction,
QgsRasterRendererWidgetCreateFunc  widgetFunction,
Qgis::RasterRendererCapabilities  capabilities = Qgis::RasterRendererCapabilities() 
)

Constructor for QgsRasterRendererRegistryEntry.

Since QGIS 3.38, the capabilities argument can be used to specify renderer capabilities.

Definition at line 37 of file qgsrasterrendererregistry.cpp.

◆ QgsRasterRendererRegistryEntry() [2/2]

QgsRasterRendererRegistryEntry::QgsRasterRendererRegistryEntry ( )
default

Member Function Documentation

◆ icon()

QIcon QgsRasterRendererRegistryEntry::icon ( )

Definition at line 48 of file qgsrasterrendererregistry.cpp.

Member Data Documentation

◆ capabilities

Qgis::RasterRendererCapabilities QgsRasterRendererRegistryEntry::capabilities

Renderer capabilities.

Since
QGIS 3.38

Definition at line 64 of file qgsrasterrendererregistry.h.

◆ name

QString QgsRasterRendererRegistryEntry::name

Definition at line 56 of file qgsrasterrendererregistry.h.

◆ rendererCreateFunction

QgsRasterRendererCreateFunc QgsRasterRendererRegistryEntry::rendererCreateFunction = nullptr

Definition at line 67 of file qgsrasterrendererregistry.h.

◆ visibleName

QString QgsRasterRendererRegistryEntry::visibleName

Definition at line 57 of file qgsrasterrendererregistry.h.

◆ widgetCreateFunction

QgsRasterRendererWidgetCreateFunc QgsRasterRendererRegistryEntry::widgetCreateFunction = nullptr

Definition at line 68 of file qgsrasterrendererregistry.h.


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