A list model storing a list of analysis overlays available in a scene view. More...
Member Function Documentation[override virtual noexcept]
AnalysisOverlayListModel::~AnalysisOverlayListModel()
Destructor.
void AnalysisOverlayListModel::append(Esri::ArcGISRuntime::AnalysisOverlay *analysisOverlay)Appends an analysisOverlay to the analysis overlay list model.
[override virtual]
Esri::ArcGISRuntime::AnalysisOverlay *AnalysisOverlayListModel::at(int index) const
Returns the analysis
overlay at the specified index.
Removes all analysis 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 AnalysisOverlayListModel::contains(Esri::ArcGISRuntime::AnalysisOverlay *analysisOverlay) constReturns true
if the list model contains the specified analysisOverlay.
[override virtual]
QVariant AnalysisOverlayListModel::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 analysis overlay referred to by the index.
An empty value is returned if the specified index is out of range.
[signal]
void AnalysisOverlayListModel::errorOccurred(const Esri::ArcGISRuntime::Error &error)
Signal emitted when an error occurs.
Returns the first analysis overlay in the list model.
int AnalysisOverlayListModel::indexOf(Esri::ArcGISRuntime::AnalysisOverlay *analysisOverlay) constReturns the index of the analysisOverlay specified.
void AnalysisOverlayListModel::insert(int index, Esri::ArcGISRuntime::AnalysisOverlay *analysisOverlay)Inserts an analysisOverlay at a specified index in the list model.
This method will append to the list if the index is greater than the current size of the list model.
bool AnalysisOverlayListModel::isEmpty() constReturns true
if the list model contains no analysis overlays.
[signal, since Esri::ArcGISRuntime 100.15]
void AnalysisOverlayListModel::itemAdded(int index)
Signal emitted when an item is added to the list model.
This function was introduced in Esri::ArcGISRuntime 100.15.
[signal, since Esri::ArcGISRuntime 100.15]
void AnalysisOverlayListModel::itemRemoved(int index)
Signal emitted when an item is removed from the list model.
This function was introduced in Esri::ArcGISRuntime 100.15.
Esri::ArcGISRuntime::AnalysisOverlay *AnalysisOverlayListModel::last() constReturns the last analysis overlay in the list model.
void AnalysisOverlayListModel::move(int from, int to)Moves one analysis overlay from an index in the list model to a different index.
void AnalysisOverlayListModel::removeAt(int index)Removes an analysis overlay at the specified index.
No analysis overlay will be removed if the specified index is out of range.
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 AnalysisOverlayListModel::removeOne(Esri::ArcGISRuntime::AnalysisOverlay *analysisOverlay)Removes the specified analysisOverlay 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 AnalysisOverlayListModel::size() const
Returns the number of analysis overlays contained in the list 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