|
| QgsClassificationLogarithmic () |
|
QgsClassificationMethod * | clone () const override |
| Returns a clone of the method. More...
|
|
QIcon | icon () const override |
| The icon of the method. More...
|
|
QString | id () const override |
| The id of the method as saved in the project, must be unique in registry. More...
|
|
QString | labelForRange (double lowerValue, double upperValue, ClassPosition position) const override |
| Returns the label for a range. More...
|
|
QString | name () const override |
| The readable and translate name of the method. More...
|
|
bool | valuesRequired () const override |
| Returns if the method requires values to calculate the classes If not, bounds are sufficient. More...
|
|
| QgsClassificationMethod (MethodProperties properties=NoFlag, int codeComplexity=1) |
| Creates a classification method. More...
|
|
virtual | ~QgsClassificationMethod () |
|
QList< QgsClassificationRange > | classes (const QgsVectorLayer *layer, const QString &expression, int nclasses) |
| This will calculate the classes for a given layer to define the classes. More...
|
|
QList< QgsClassificationRange > | classes (const QList< double > &values, int nclasses) |
| This will calculate the classes for a list of values. More...
|
|
QList< QgsClassificationRange > | classes (double minimum, double maximum, int nclasses) |
| This will calculate the classes for defined bounds without any values. More...
|
|
virtual QgsClassificationMethod * | clone () const =0 |
| Returns a clone of the method. More...
|
|
int | codeComplexity () const |
| Code complexity as the exponent in Big O notation. More...
|
|
QgsClassificationMethod::MethodProperties | flags () const |
| Returns the classification flags. More...
|
|
virtual QIcon | icon () const |
| The icon of the method. More...
|
|
virtual QString | id () const =0 |
| The id of the method as saved in the project, must be unique in registry. More...
|
|
QString | labelFormat () const |
| Returns the format of the label for the classes. More...
|
|
QString | labelForRange (const QgsRendererRange &range, ClassPosition position=Inner) const |
| Returns the label for a range. More...
|
|
virtual QString | labelForRange (double lowerValue, double upperValue, ClassPosition position=Inner) const |
| Returns the label for a range. More...
|
|
int | labelPrecision () const |
| Returns the precision for the formatting of the labels. More...
|
|
bool | labelTrimTrailingZeroes () const |
| Returns if the trailing 0 are trimmed in the label. More...
|
|
virtual QString | name () const =0 |
| The readable and translate name of the method. More...
|
|
const QgsProcessingParameterDefinition * | parameterDefinition (const QString ¶meterName) const |
| Returns the parameter from its name. More...
|
|
QgsProcessingParameterDefinitions | parameterDefinitions () const |
| Returns the list of parameters. More...
|
|
QVariantMap | parameterValues () const |
| Returns the values of the processing parameters. More...
|
|
virtual void | readXml (const QDomElement &element, const QgsReadWriteContext &context) |
| Reads extra information to apply it to the method. More...
|
|
QDomElement | save (QDomDocument &doc, const QgsReadWriteContext &context) const |
| Saves the method to a DOM element and return it. More...
|
|
void | setLabelFormat (const QString &format) |
| Defines the format of the labels for the classes, using %1 and %2 for the bounds. More...
|
|
void | setLabelPrecision (int labelPrecision) |
| Defines the precision for the formatting of the labels. More...
|
|
void | setLabelTrimTrailingZeroes (bool trimTrailingZeroes) |
| Defines if the trailing 0 are trimmed in the label. More...
|
|
void | setParameterValues (const QVariantMap &values) |
| Defines the values of the additional parameters. More...
|
|
void | setSymmetricMode (bool enabled, double symmetryPoint=0, bool symmetryAstride=false) |
| Defines if the symmetric mode is enables and configures its parameters. More...
|
|
bool | symmetricModeAvailable () const |
| Returns if the method supports symmetric calculation. More...
|
|
bool | symmetricModeEnabled () const |
| Returns if the symmetric mode is enabled. More...
|
|
bool | symmetryAstride () const |
| Returns if the symmetric mode is astride if true , it will remove the symmetry point break so that the 2 classes form only one. More...
|
|
double | symmetryPoint () const |
| Returns the symmetry point for symmetric mode. More...
|
|
virtual bool | valuesRequired () const |
| Returns if the method requires values to calculate the classes If not, bounds are sufficient. More...
|
|
virtual void | writeXml (QDomElement &element, const QgsReadWriteContext &context) const |
| Writes extra information about the method. More...
|
|