CoordinateConversionResult Class

  • CoordinateConversionResult
  • class Esri::ArcGISRuntime::Toolkit::CoordinateConversionResult

    A CoordinateConversionResult stores the textual representation of a a point converted to a string using the formatting given in a CoordinateConversionOption. More...

    Header: #include <CoordinateConversionResult>
    Inherits: QObject

    Properties

    Public Functions

    CoordinateConversionResult(QObject *parent = nullptr)
    virtual ~CoordinateConversionResult() override
    QString name() const
    QString notation() const
    void setNotation(const QString &notation)
    void setType(Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *type)
    Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *type() const

    Public Slots

    void copyNotationToClipboard() const
    void updateCoordinatePoint(const Esri::ArcGISRuntime::Point &point)

    Signals

    void nameChanged()
    void notationChanged()
    void typeChanged()

    Detailed Description

    See also Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption.

    Property Documentation

    [read-only] name : const QString

    Access functions:

    QString name() const

    Notifier signal:

    void nameChanged()

    notation : QString

    Access functions:

    QString notation() const
    void setNotation(const QString &notation)

    Notifier signal:

    type : CoordinateConversionOption*

    Access functions:

    Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *type() const
    void setType(Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *type)

    Notifier signal:

    void typeChanged()

    Member Function Documentation

    [invokable] CoordinateConversionResult::CoordinateConversionResult(QObject *parent = nullptr)

    Constructor

    Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

    [override virtual] CoordinateConversionResult::~CoordinateConversionResult()

    The destructor.

    [slot] void CoordinateConversionResult::copyNotationToClipboard() const

    Takes the current string stored in notation and store it in the clipboard as if the user had copied the text themselves.

    QString CoordinateConversionResult::name() const

    Returns the name of this result. The name is the name as given by the associated CoordinateConversionOption.

    Returns name of result as dictated by the associated type.

    Note: Getter function for property name.

    See also type().

    [signal] void CoordinateConversionResult::nameChanged()

    Emitted when the type changes or type name changes.

    Note: Notifier signal for property name.

    QString CoordinateConversionResult::notation() const

    The textual representation of a point. Returns A string representing a point.

    Note: Getter function for property notation.

    See also setNotation().

    [signal] void CoordinateConversionResult::notationChanged()

    Emitted when the notation string changes.

    Note: Notifier signal for property notation.

    void CoordinateConversionResult::setNotation(const QString &notation)

    Set the notation of this object.

    Note: This object performs no checks on setNotation when called explicitly, and can contain any string data. E.g. A string containing the message "No point set".

    • notation String to set.

    Note: Setter function for property notation.

    See also notation().

    void CoordinateConversionResult::setType(Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *type)

    Set the CoordinateConversionOption used to format results to type.

    Note: Setting this clears the currently set notation string to a blank string.

    Note: Setter function for property type.

    See also type().

    Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *CoordinateConversionResult::type() const

    The CoordinateConversionOption used to format points passed into this object. Returns he current associated CoordinateConversionOption.

    Note: Getter function for property type.

    See also setType().

    [signal] void CoordinateConversionResult::typeChanged()

    Emitted when the type changes.

    Note: Notifier signal for property type.

    [slot] void CoordinateConversionResult::updateCoordinatePoint(const Esri::ArcGISRuntime::Point &point)

    Given a point, updates the notation of this object to the textual representation of the point as dictated by the formatting options given in type.

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