This class is deprecated. We strongly advise against using it in new code.
Member Function Documentation[override virtual noexcept]
PopupAttachmentListModel::~PopupAttachmentListModel()
Destructor.
bool PopupAttachmentListModel::applyFilter() constReturns whether the model is displaying PopupAttachmentManager::attachments (false
) or PopupAttachmentManager::filterAttachments (true
).
Note: The default value is false
.
See also setApplyFilter(), PopupAttachmentManager::filterAttachments, and PopupAttachmentManager::attachments.
[override virtual]
Esri::ArcGISRuntime::PopupAttachment *PopupAttachmentListModel::at(int index) const
Returns the popup attachment at the specified index.
bool PopupAttachmentListModel::autoFetchFullImages() constReturns whether the model should automatically request full images for attachments as they are accessed.
The popup attachment will be loaded when full images are requested if it is not loaded.
Note: The default value is true
.
See also setAutoFetchFullImages().
bool PopupAttachmentListModel::autoFetchThumbnails() constReturns whether the model should automatically request thumbnail images for attachments as they are accessed.
The popup attachment will be loaded when thumbnails are requested if it is not loaded.
Note: The default value is true
.
See also setAutoFetchThumbnails().
bool PopupAttachmentListModel::autoLoad() constReturns whether the model should attempt to load each popup attachment as they are accessed by the model.
Note: The default value is true
.
See also setAutoLoad() and Loadable.
[signal, since Esri::ArcGISRuntime 100.4]
void PopupAttachmentListModel::countChanged()
Signal emitted when the model row count changes.
Note: Notifier signal for property count.
This function was introduced in Esri::ArcGISRuntime 100.4.
[override virtual]
QVariant PopupAttachmentListModel::data(const QModelIndex &index, int role = Qt::DisplayRole) const
Reimplements: QAbstractItemModel::data(const QModelIndex &index, int role) const.
Returns the data stored under the given role for the popup referred to by the index.
Sets whether the model should display PopupAttachmentManager::attachments or PopupAttachmentManager::filterAttachments to applyFilter. This can be changed at any time.
Note: Setting this to true
will return the filtered attachments. The default value is false
.
See also applyFilter(), PopupAttachmentManager::filterAttachments, and PopupAttachmentManager::attachments.
void PopupAttachmentListModel::setAutoFetchFullImages(bool autoFetchFullImages)Sets whether the model should automatically request full images for attachments as they are accessed to autoFetchFullImages.
If this is true
the model will request full images if it encounters an empty full image from the underlying popup attachment.
See also autoFetchFullImages().
void PopupAttachmentListModel::setAutoFetchThumbnails(bool autoFetchThumbnails)Sets whether the model should automatically request thumbnail images for attachments as they are accessed to autoFetchThumbnails.
If this is true
the model will request thumbnail images if it encounters an empty thumbnail from the underlying popup attachment.
See also autoFetchThumbnails(), thumbnailWidth, thumbnailHeight, and thumbnailAspectRatioMode.
void PopupAttachmentListModel::setAutoLoad(bool autoLoad)Sets whether the model should attempt to load each popup attachment as they are accessed by the model to autoLoad.
See also autoLoad() and Loadable.
void PopupAttachmentListModel::setThumbnailAspectRatioMode(Esri::ArcGISRuntime::AspectRatioMode thumbnailAspectRatioMode)Sets the aspect ratio mode of each thumbnail requested by the model to thumbnailAspectRatioMode.
See also thumbnailAspectRatioMode() and autoFetchThumbnails.
void PopupAttachmentListModel::setThumbnailHeight(int thumbnailHeight)Sets the height of each thumbnail requested by the model to thumbnailHeight.
See also thumbnailHeight() and autoFetchThumbnails.
void PopupAttachmentListModel::setThumbnailWidth(int thumbnailWidth)Sets the width of each thumbnail requested by the model to thumbnailWidth.
See also thumbnailWidth() and autoFetchThumbnails.
[override virtual]
int PopupAttachmentListModel::size() const
Returns the number of popup attachments in the model.
Esri::ArcGISRuntime::AspectRatioMode PopupAttachmentListModel::thumbnailAspectRatioMode() constReturns the aspect ratio mode of each thumbnail requested by the model.
Note: The default value is Esri::ArcGISRuntime::AspectRatioMode::KeepAspectRatio
.
See also setThumbnailAspectRatioMode() and autoFetchThumbnails.
int PopupAttachmentListModel::thumbnailHeight() constReturns the height of each thumbnail requested by the model.
Note: The default value is 64.
Note: Getter function for property thumbnailHeight.
See also setThumbnailHeight() and autoFetchThumbnails.
[signal, since Esri::ArcGISRuntime 100.1]
void PopupAttachmentListModel::thumbnailHeightChanged()
Signal emitted when the thumbnail height changes.
Note: Notifier signal for property thumbnailHeight.
This function was introduced in Esri::ArcGISRuntime 100.1.
int PopupAttachmentListModel::thumbnailWidth() constReturns the width of each thumbnail requested by the model.
Note: The default value is 64.
Note: Getter function for property thumbnailWidth.
See also setThumbnailWidth() and autoFetchThumbnails.
[signal, since Esri::ArcGISRuntime 100.1]
void PopupAttachmentListModel::thumbnailWidthChanged()
Signal emitted when the thumbnail width changes.
Note: Notifier signal for property thumbnailWidth.
This function was introduced in Esri::ArcGISRuntime 100.1.
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