A list model storing a list of symbol layers available in a multi-layer symbol. More...
Member Function Documentation[override virtual noexcept]
SymbolLayerListModel::~SymbolLayerListModel()
Destructor.
void SymbolLayerListModel::append(Esri::ArcGISRuntime::SymbolLayer *symbolLayer)Appends symbolLayer to the symbol layer list model.
void SymbolLayerListModel::append(const QList<Esri::ArcGISRuntime::SymbolLayer *> &symbolLayers)Appends symbolLayers to the symbol layer list model.
[override virtual]
Esri::ArcGISRuntime::SymbolLayer *SymbolLayerListModel::at(int index) const
Returns the SymbolLayer
at the specified index.
Removes all symbol layers 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 SymbolLayerListModel::contains(Esri::ArcGISRuntime::SymbolLayer *symbolLayer) constReturns true
if the list model contains the specified symbolLayer.
[override virtual]
QVariant SymbolLayerListModel::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 symbol referred to by the index.
[signal]
void SymbolLayerListModel::errorOccurred(const Esri::ArcGISRuntime::Error &error)
Signal emitted when an error occurs.
Returns the first symbol layer in the list model.
int SymbolLayerListModel::indexOf(Esri::ArcGISRuntime::SymbolLayer *symbolLayer) constReturns the index of the symbolLayer specified.
void SymbolLayerListModel::insert(int index, Esri::ArcGISRuntime::SymbolLayer *symbolLayer)Inserts a symbolLayer 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 SymbolLayerListModel::isEmpty() constReturns true
if the list model contains no symbol layers.
[signal, since Esri::ArcGISRuntime 100.15]
void SymbolLayerListModel::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 SymbolLayerListModel::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::SymbolLayer *SymbolLayerListModel::last() constReturns the last symbol layer in the list model.
void SymbolLayerListModel::move(int from, int to)Moves one symbolLayer from an index in the list model to a different index.
void SymbolLayerListModel::removeAt(int index)Removes a symbol 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 SymbolLayerListModel::removeOne(Esri::ArcGISRuntime::SymbolLayer *symbolLayer)Removes the specified symbolLayer 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 SymbolLayerListModel::size() const
Returns the number of symbol layers 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