[override virtual noexcept]
GraphicListModel::~GraphicListModel()
Destructor.
void GraphicListModel::append(Esri::ArcGISRuntime::Graphic *graphic)Appends the graphic to the graphic list model.
void GraphicListModel::append(const QList<Esri::ArcGISRuntime::Graphic *> &graphics)Appends graphics to the graphic list model.
[override virtual]
Esri::ArcGISRuntime::Graphic *GraphicListModel::at(int index) const
Returns the graphic at the specified index.
void GraphicListModel::clear()Removes all graphics 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 GraphicListModel::contains(Esri::ArcGISRuntime::Graphic *graphic) constReturns true
if the provided graphic is in the list model.
[override virtual]
QVariant GraphicListModel::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 graphic referred to by the index.
Returns the first graphic in the list model.
int GraphicListModel::indexOf(Esri::ArcGISRuntime::Graphic *graphic) constReturns the index of the provided graphic in the list model.
void GraphicListModel::insert(int index, Esri::ArcGISRuntime::Graphic *graphic)Inserts a graphic at a specified index in the list model.
bool GraphicListModel::isEmpty() constReturns true
if this list model is empty.
[signal, since Esri::ArcGISRuntime 100.15]
void GraphicListModel::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 GraphicListModel::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::Graphic *GraphicListModel::last() constReturns the last graphic in the list model.
void GraphicListModel::move(int from, int to)Moves one graphic from an index in the list model to a different index.
Moving a graphic's position in the list model does not affect drawing order. To change drawing order, use the Graphic::zIndex property on each Graphic.
void GraphicListModel::removeAt(int index)Removes a graphic 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 GraphicListModel::removeOne(Esri::ArcGISRuntime::Graphic *graphic)Removes the specified graphic 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 GraphicListModel::size() const
Returns the number of graphics 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