Obsolete Members for LabelDefinition

  • LabelDefinition
  • The following members of class LabelDefinition are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (obsolete) LabelDefinition(QObject *parent = nullptr)

    Member Function Documentation

    LabelDefinition::LabelDefinition(QObject *parent = nullptr)

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Creates a label definition.

    • parent - The optional parent QObject.

    The default LabelDefinition will have an empty expression and no TextSymbol, and will not produce any text labels until those properties are set.

    This method is deprecated since 100.11. LabelDefinition has replaced this method.

    It is safer to construct a LabelDefinition using a LabelExpression and TextSymbol. This reduces the chance of LabelDefinition being used with no expression or textSymbol, which would result in no labels being created.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.