[override virtual noexcept]
ArcGISSublayerListModel::~ArcGISSublayerListModel()
Destructor.
void ArcGISSublayerListModel::append(Esri::ArcGISRuntime::ArcGISSublayer *sublayer)Appends a sublayer to the sublayer list model.
[override virtual]
Esri::ArcGISRuntime::ArcGISSublayer *ArcGISSublayerListModel::at(int index) const
Returns the sublayer
at the specified index.
Removes all sublayers 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 ArcGISSublayerListModel::contains(Esri::ArcGISRuntime::ArcGISSublayer *sublayer) constReturns true
if the list model contains the specified sublayer.
[override virtual]
QVariant ArcGISSublayerListModel::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 sublayer referred to by the index.
[signal]
void ArcGISSublayerListModel::errorOccurred(const Esri::ArcGISRuntime::Error &error)
Signal emitted when an error occurs.
Returns the first sublayer in the list model.
int ArcGISSublayerListModel::indexOf(Esri::ArcGISRuntime::ArcGISSublayer *sublayer) constReturns the index of the sublayer specified.
void ArcGISSublayerListModel::insert(int index, Esri::ArcGISRuntime::ArcGISSublayer *sublayer)Inserts a sublayer at a specified index in the list model.
This method will append to the list model if the index is greater than the current size of the list.
bool ArcGISSublayerListModel::isEmpty() constReturns true
if the list model contains no sublayers.
[signal, since Esri::ArcGISRuntime 100.15]
void ArcGISSublayerListModel::itemAdded(int index)
Signal emitted when an item is added to the list model.
index is the index of the added item.
This function was introduced in Esri::ArcGISRuntime 100.15.
[signal, since Esri::ArcGISRuntime 100.15]
void ArcGISSublayerListModel::itemRemoved(int index)
Signal emitted when an item is removed from the list model.
index is the index of the removed item.
This function was introduced in Esri::ArcGISRuntime 100.15.
Esri::ArcGISRuntime::ArcGISSublayer *ArcGISSublayerListModel::last() constReturns the last sublayer in the list model.
void ArcGISSublayerListModel::move(int from, int to)Moves one sublayer from an index in the list model to a different index.
void ArcGISSublayerListModel::removeAt(int index)Removes a sublayer at the specified index.
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 ArcGISSublayerListModel::removeOne(Esri::ArcGISRuntime::ArcGISSublayer *sublayer)Removes the specified sublayer 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 ArcGISSublayerListModel::size() const
Returns the number of sublayers 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