Obsolete Members for PopupAttachment

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

    Public Functions

    (deprecated) QUrl attachmentUrl() const
    (deprecated) Esri::ArcGISRuntime::PopupAttachmentEditState editState() const
    (deprecated) QUuid fullImage()
    (deprecated) Esri::ArcGISRuntime::PopupAttachmentType popupType() const
    (deprecated) QUuid thumbnail(int width, int height, Esri::ArcGISRuntime::AspectRatioMode aspectRatioMode = AspectRatioMode::KeepAspectRatio)

    Signals

    (deprecated) void fullImageCompleted(const QUuid &taskId, const QImage &thumbnail)
    (deprecated) void thumbnailCompleted(const QUuid &taskId, const QImage &thumbnail)

    Member Function Documentation

    QUrl PopupAttachment::attachmentUrl() const

    This function is deprecated. We strongly advise against using it in new code.

    Returns the PopupAttachment URL.

    Use filePath instead.

    Esri::ArcGISRuntime::PopupAttachmentEditState PopupAttachment::editState() const

    This function is deprecated. We strongly advise against using it in new code.

    Returns the edit state of the PopupAttachment.

    QUuid PopupAttachment::fullImage()

    This function is deprecated. We strongly advise against using it in new code.

    Returns the full image for displaying the attachment in full screen or some UI larger than a thumbnail.

    This is only supported if the PopupAttachmentType is Image.

    The fullImageCompleted signal emits when this asynchronous operation completes. Use the returned QUuid to keep track of concurrent operations.

    [signal] void PopupAttachment::fullImageCompleted(const QUuid &taskId, const QImage &thumbnail)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the full image of the attachment is obtained.

    • taskId - The task ID for the asynchronous operation.
    • thumbnail - The full image of the attachment.

    Esri::ArcGISRuntime::PopupAttachmentType PopupAttachment::popupType() const

    This function is deprecated. We strongly advise against using it in new code.

    Returns the type of the PopupAttachment.

    QUuid PopupAttachment::thumbnail(int width, int height, Esri::ArcGISRuntime::AspectRatioMode aspectRatioMode = AspectRatioMode::KeepAspectRatio)

    This function is deprecated. We strongly advise against using it in new code.

    Returns a thumbnail image with a give width, height, and aspectRatioMode.

    This is only supported if the PopupAttachmentType is Image.

    The thumbnailCompleted signal emits when this asynchronous operation completes. Use the returned QUuid to keep track of concurrent operations.

    [signal] void PopupAttachment::thumbnailCompleted(const QUuid &taskId, const QImage &thumbnail)

    This function is deprecated. We strongly advise against using it in new code.

    Signal emitted when the thumbnail image of the attachment is obtained.

    • taskId - The task ID for the asynchronous operation.
    • thumbnail - The thumbnail image of the attachment.

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