A CoordinateConversionResult stores the textual representation of a a point converted to a string using the formatting given in a CoordinateConversionOption. More...
| Header | #include <Coordinate |
| Inherits | Q |
Properties
Public Functions
| Coordinate | |
| virtual | ~ |
| Q | name() const |
| Q | notation() const |
| void | set |
| void | set |
| Esri | type() const |
Public Slots
| void | copy |
| void | update |
Signals
| void | name |
| void | notation |
| void | type |
Detailed Description
See also Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption.
Property Documentation
name : const QString
Access functions:
| Q | name() const |
Notifier signal:
| void | name |
notation : QString
Access functions:
| Q | notation() const |
| void | set |
Notifier signal:
| void | notation |
type : CoordinateConversionOption *
Access functions:
| Esri | type() const |
| void | set |
Notifier signal:
| void | type |
Member Function Documentation
CoordinateConversionResult::CoordinateConversionResult (QObject *parent = nullptr)
Constructor
- parent Owning parent QObject.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[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.
[signal] void CoordinateConversionResult::nameChanged ()
Emitted when the type changes or type name changes.
Note: Notifier signal for property name.
[signal] void CoordinateConversionResult::notationChanged ()
Emitted when the notation string changes.
Note: Notifier signal for property notation.
[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.
[override virtual] CoordinateConversionResult::~CoordinateConversionResult ()
The destructor.
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().
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().
void CoordinateConversionResult::setNotation (const QString ¬ation)
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().