|
QGIS API Documentation 3.99.0-Master (26c88405ac0)
|
Stores metadata about a plot class. More...
#include <qgsplotregistry.h>

Public Member Functions | |
| QgsPlotAbstractMetadata (const QString &type, const QString &visibleName) | |
| Constructor for QgsPlotAbstractMetadata with the specified class type. | |
| virtual | ~QgsPlotAbstractMetadata ()=default |
| virtual QgsPlot * | createPlot ()=0 |
| Creates a plot of this class. | |
| virtual QgsVectorLayerAbstractPlotDataGatherer * | createPlotDataGatherer (QgsPlot *plot=nullptr)=0 |
| Creates a plot data gatherer of this class. | |
| virtual QgsPlotWidget * | createPlotWidget (QWidget *parent=nullptr)=0 |
| Creates a widget for configuring plot of this type. | |
| QString | type () const |
| Returns the unique type code for the plot class. | |
| QString | visibleName () const |
| Returns a translated, user visible name for the plot class. | |
Stores metadata about a plot class.
Definition at line 35 of file qgsplotregistry.h.
|
inline |
Constructor for QgsPlotAbstractMetadata with the specified class type.
Definition at line 42 of file qgsplotregistry.h.
|
virtualdefault |
|
pure virtual |
Creates a plot of this class.
Implemented in QgsPlotMetadata.
|
pure virtual |
Creates a plot data gatherer of this class.
Implemented in QgsPlotMetadata.
|
pure virtual |
Creates a widget for configuring plot of this type.
Can return nullptr if there's no GUI registered.
Ownership of the widget is transferred to the caller.
Implemented in QgsPlotMetadata.
|
inline |
Returns the unique type code for the plot class.
Definition at line 52 of file qgsplotregistry.h.
|
inline |
Returns a translated, user visible name for the plot class.
Definition at line 57 of file qgsplotregistry.h.