QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Stores metadata about one 3D symbol class. More...
#include <qgs3dsymbolregistry.h>
Public Member Functions | |
Qgs3DSymbolAbstractMetadata (const QString &type, const QString &visibleName) | |
Constructor for Qgs3DSymbolAbstractMetadata, with the specified type and visibleName. More... | |
virtual | ~Qgs3DSymbolAbstractMetadata ()=default |
virtual QgsAbstract3DSymbol * | create ()=0 |
Creates a new instance of this symbol type. More... | |
virtual QgsFeature3DHandler * | createFeatureHandler (QgsVectorLayer *layer, const QgsAbstract3DSymbol *symbol) |
Creates a feature handler for a symbol of matching type, for the specified vector layer. More... | |
virtual Qgs3DSymbolWidget * | createSymbolWidget (QgsVectorLayer *) |
Create a widget for configuring a symbol of this type. More... | |
QString | type () const |
Returns the unique symbol type string. More... | |
QString | visibleName () const |
Returns the symbol's visible (translated) name. More... | |
Stores metadata about one 3D symbol class.
Definition at line 41 of file qgs3dsymbolregistry.h.
|
inline |
Constructor for Qgs3DSymbolAbstractMetadata, with the specified type and visibleName.
Definition at line 48 of file qgs3dsymbolregistry.h.
|
virtualdefault |
|
pure virtual |
Creates a new instance of this symbol type.
Caller takes ownership of the returned symbol.
Implemented in Qgs3DSymbolMetadata.
|
inlinevirtual |
Creates a feature handler for a symbol of matching type, for the specified vector layer.
Caller takes ownership of the returned handler.
Reimplemented in Qgs3DSymbolMetadata.
Definition at line 90 of file qgs3dsymbolregistry.h.
|
inlinevirtual |
Create a widget for configuring a symbol of this type.
Can return nullptr
if there's no GUI.
Reimplemented in Qgs3DSymbolMetadata.
Definition at line 81 of file qgs3dsymbolregistry.h.
|
inline |
Returns the unique symbol type string.
Definition at line 58 of file qgs3dsymbolregistry.h.
|
inline |
Returns the symbol's visible (translated) name.
Definition at line 63 of file qgs3dsymbolregistry.h.