QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
43 qDeleteAll( mMethods );
48 if ( mMethods.contains(
method->
id() ) )
63 QMap<QString, QString> methods;
QgsClassificationMethod is an abstract class for implementations of classification methods.
QgsClassificationPrettyBreaks is an implementation of QgsClassificationMethod for pretty breaks.
virtual QIcon icon() const
The icon of the method.
QgsClassificationMethod * method(const QString &id)
Returns a new instance of the method for the given id.
~QgsClassificationMethodRegistry()
QMap< QString, QString > methodNames() const
Returns a map <name, id> of all registered methods.
QgsClassificationEqualInterval is an implementation of QgsClassificationMethod for equal intervals.
QgsClassificationQuantile is an implementation of QgsClassificationMethod based on quantiles.
virtual QgsClassificationMethod * clone() const =0
Returns a clone of the method.
QgsClassificationCustom is a dummy implementation of QgsClassification which does not compute any bre...
virtual QString id() const =0
The id of the method as saved in the project, must be unique in registry.
QIcon icon(const QString &id) const
Returns the icon for a given method id.
Implementation of a fixed interval classification.
bool addMethod(QgsClassificationMethod *method)
Adds a method to the registry Returns false if a method with same id already exists.
Implementation of a logarithmic scale method.
QgsClassificationJenks is an implementation of QgsClassificationMethod for natural breaks based on Je...
QgsClassificationCustom is an implementation of QgsClassificationMethod based on standard deviation.
QgsClassificationMethodRegistry()
virtual QString name() const =0
The readable and translate name of the method.