A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-popupattachmentmanager.html below:

PopupAttachmentManager Class | ArcGIS Maps SDK for Qt

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

Member Function Documentation [override virtual noexcept] PopupAttachmentManager::~PopupAttachmentManager()

Destructor.

Esri::ArcGISRuntime::PopupAttachment *PopupAttachmentManager::addAttachment(const QByteArray &data, const QString &contentType, const QString &name)

Adds an attachment to the PopupAttachmentManager.

You must call applyChanges to apply the edits from the PopupAttachmentManager to the associated ArcGISFeatureTable. To undo any edits, call revertChanges.

Note: This is a synchronous operation.

Esri::ArcGISRuntime::PopupAttachment *PopupAttachmentManager::addAttachment(const QImage &image, const QString &contentType, const QString &name)

Adds an attachment image to the PopupAttachmentManager.

You must call applyChanges to apply the edits from the PopupAttachmentManager to the associated ArcGISFeatureTable. To undo any edits, call revertChanges.

Note: This is a synchronous operation.

QUuid PopupAttachmentManager::addAttachment(const QUrl &localFilePath, const QString &contentType, const QString &name)

Asynchronously adds an attachment to the PopupAttachmentManager.

You must call applyChanges to apply the edits from the PopupAttachmentManager to the associated ArcGISFeatureTable. To undo any edits, call revertChanges.

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

[signal] void PopupAttachmentManager::addAttachmentCompleted(const QUuid &taskId, Esri::ArcGISRuntime::PopupAttachment *popupAttachment)

Signal emitted when an attachment from a local file has been added.

The returned PopupAttachment object has the PopupAttachmentManager as its parent.

See also Returned QObjects Parenting.

QUuid PopupAttachmentManager::applyChanges()

Applies the current changes in the PopupAttachmentManager to the ArcGISFeature in its ArcGISFeatureTable.

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

[signal] void PopupAttachmentManager::applyChangesCompleted(const QUuid &taskId, const Esri::ArcGISRuntime::Error &error)

Signal emitted when attachment changes are applied from the PopupAttachmentManager to the ArcGISFeature in the ArcGISFeatureTable.

QList<Esri::ArcGISRuntime::PopupAttachment *> PopupAttachmentManager::attachments() const

Returns a list of all the PopupAttachments in the PopupAttachmentManager.

[since Esri::ArcGISRuntime 100.1] Esri::ArcGISRuntime::PopupAttachmentListModel *PopupAttachmentManager::attachmentsModel() const

A model that can be used to display popup attachment information in a view.

Any changes made by the PopupAttachmentManager will be reflected immediately by the model.

Note: Getter function for property attachmentsModel.

This function was introduced in Esri::ArcGISRuntime 100.1.

void PopupAttachmentManager::deleteAttachment(Esri::ArcGISRuntime::PopupAttachment *popupAttachment)

Deletes the given popupAttachment from the PopupAttachmentManager.

You must call applyChanges to apply the edits from the PopupAttachmentManager to the associated ArcGISFeatureTable. To undo any edits, call revertChanges.

QUuid PopupAttachmentManager::fetchAttachments()

Fetches the Attachments from the ArcGISFeature and creates PopupAttachments from them.

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

[signal] void PopupAttachmentManager::fetchAttachmentsCompleted(const QUuid &taskId, const QList<Esri::ArcGISRuntime::PopupAttachment *> &popupAttachments)

Signal emitted when the attachments have been fetched from the ArcGISFeature.

The returned PopupAttachment objects have the PopupAttachmentManager as their parent.

See also Returned QObjects Parenting.

QList<Esri::ArcGISRuntime::PopupAttachment *> PopupAttachmentManager::filterAttachments() const

Returns a filtered list of popup attachments in the PopupAttachmentManager in an alphabetically ascending order by name (read-only).

This list only includes attachments with specific content types, which are:

void PopupAttachmentManager::revertChanges()

Reverts the current working changes made to the Popup's attachments (such as addAttachment and deleteAttachment).

This does not reverse a call to applyChanges.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4