Represents an attachment belonging to a popup. Wraps the Attachment object and adds additional properties and methods to support displaying attachments in a popup. More...
Member Function Documentation[override virtual noexcept]
PopupAttachment::~PopupAttachment()
Destructor.
Esri::ArcGISRuntime::Attachment *PopupAttachment::attachment() constReturns the underlying attachment.
[override virtual]
void PopupAttachment::cancelLoad()
Reimplements: Loadable::cancelLoad().
See Loadable.
QString PopupAttachment::contentType() constReturns the content type of the PopupAttachment.
[since Esri::ArcGISRuntime 200.3]
QFuture<QImage> PopupAttachment::createFullImageAsync()
Asynchronously creates 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 PopupAttachmentType::Image.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
This function was introduced in Esri::ArcGISRuntime 200.3.
[since Esri::ArcGISRuntime 200.3]
QFuture<QImage> PopupAttachment::createThumbnailAsync(int width, int height)
Asynchronously creates a thumbnail image with the specified width and height.
This is only supported if the popupAttachmentType is PopupAttachmentType::Image.
This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.
See Working with QFuture for further details.
This function was introduced in Esri::ArcGISRuntime 200.3.
[signal]
void PopupAttachment::doneLoading(const Esri::ArcGISRuntime::Error &error)
Signal emitted when this object is done loading.
Note: If there is a load error it will also be emitted on the errorOccurred
signal.
[since Esri::ArcGISRuntime 200.2]
QString PopupAttachment::filePath() const
Returns the local temporary filepath where we store the attachment once it is loaded.
This function was introduced in Esri::ArcGISRuntime 200.2.
bool PopupAttachment::isLocal() constReturns whether the PopupAttachment is local.
[override virtual]
void PopupAttachment::load()
Reimplements: Loadable::load().
See Loadable.
[override virtual]
Esri::ArcGISRuntime::Error PopupAttachment::loadError() const
Reimplements: Loadable::loadError() const.
See Loadable.
[override virtual]
Esri::ArcGISRuntime::LoadStatus PopupAttachment::loadStatus() const
Reimplements: Loadable::loadStatus() const.
See Loadable.
[signal]
void PopupAttachment::loadStatusChanged(Esri::ArcGISRuntime::LoadStatus loadStatus)
Signal emitted when the loadStatus changes for this object.
See also Loadable.
QString PopupAttachment::name() constReturns the name of the PopupAttachment.
[since Esri::ArcGISRuntime 200.3]
Esri::ArcGISRuntime::PopupAttachmentType PopupAttachment::popupAttachmentType() const
Returns the type of the PopupAttachment.
This function was introduced in Esri::ArcGISRuntime 200.3.
[override virtual]
void PopupAttachment::retryLoad()
Reimplements: Loadable::retryLoad().
See Loadable.
qint64 PopupAttachment::size() constReturns the size of the PopupAttachment in bytes.
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