A container class storing a list of image overlays available in a SceneView. More...
Member Function Documentation[override virtual noexcept]
ImageOverlayListModel::~ImageOverlayListModel()
Destructor.
void ImageOverlayListModel::append(Esri::ArcGISRuntime::ImageOverlay *imageOverlay)Appends the imageOverlay to the image overlay list model.
[override virtual]
Esri::ArcGISRuntime::ImageOverlay *ImageOverlayListModel::at(int index) const
Returns the image overlay at the specified index.
void ImageOverlayListModel::clear()Removes all image overlays from the list model.
List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.
bool ImageOverlayListModel::contains(Esri::ArcGISRuntime::ImageOverlay *imageOverlay) constReturns true
if the provided imageOverlay is in the list model.
[override virtual]
QVariant ImageOverlayListModel::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 image overlay referred to by the index.
Returns the first image overlay in the list model.
int ImageOverlayListModel::indexOf(Esri::ArcGISRuntime::ImageOverlay *imageOverlay) constReturns the index of the provided imageOverlay in the list model.
void ImageOverlayListModel::insert(int index, Esri::ArcGISRuntime::ImageOverlay *imageOverlay)Inserts an imageOverlay at a specified index in the list model.
bool ImageOverlayListModel::isEmpty() constReturns true
if this list model is empty.
[signal, since Esri::ArcGISRuntime 100.15]
void ImageOverlayListModel::itemAdded(int index)
Signal emitted when an item is added to the list.
index is the index of the added item.
This function was introduced in Esri::ArcGISRuntime 100.15.
[signal, since Esri::ArcGISRuntime 100.15]
void ImageOverlayListModel::itemRemoved(int index)
Signal emitted when an item is removed from the list.
index is the index of the removed item.
This function was introduced in Esri::ArcGISRuntime 100.15.
Esri::ArcGISRuntime::ImageOverlay *ImageOverlayListModel::last() constReturns the last image overlay in the list model.
void ImageOverlayListModel::move(int from, int to)Moves one imageOverlay from an index in the list model to a different index.
Moving an imageOverlay's position in the list model affects drawing order.
void ImageOverlayListModel::removeAt(int index)Removes an imageOverlay at the specified index in the list model.
List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.
void ImageOverlayListModel::removeOne(Esri::ArcGISRuntime::ImageOverlay *imageOverlay)Removes the specified imageOverlay from the list model.
List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.
[override virtual]
int ImageOverlayListModel::size() const
Returns the number of image overlays in the model.
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