A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-graphicsoverlaylistmodel.html below:

GraphicsOverlayListModel Class | ArcGIS Maps SDK for Qt

A container class storing a list of graphics overlays available in a GeoView. More...

Member Function Documentation [override virtual noexcept] GraphicsOverlayListModel::~GraphicsOverlayListModel()

Destructor.

void GraphicsOverlayListModel::append(Esri::ArcGISRuntime::GraphicsOverlay *graphicsOverlay)

Appends the graphicsOverlay to the graphics overlay list model.

[override virtual] Esri::ArcGISRuntime::GraphicsOverlay *GraphicsOverlayListModel::at(int index) const

Returns the graphics overlay at the specified index.

void GraphicsOverlayListModel::clear()

Removes all graphics 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 GraphicsOverlayListModel::contains(Esri::ArcGISRuntime::GraphicsOverlay *graphicsOverlay) const

Returns true if the provided graphicsOverlay is in the list model.

[override virtual] QVariant GraphicsOverlayListModel::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 graphics overlay referred to by the index.

Esri::ArcGISRuntime::GraphicsOverlay *GraphicsOverlayListModel::first() const

Returns the first graphics overlay in the list model.

int GraphicsOverlayListModel::indexOf(Esri::ArcGISRuntime::GraphicsOverlay *graphicsOverlay) const

Returns the index of the provided graphicsOverlay in the list model.

void GraphicsOverlayListModel::insert(int index, Esri::ArcGISRuntime::GraphicsOverlay *graphicsOverlay)

Inserts a graphicsOverlay at a specified index in the list model.

bool GraphicsOverlayListModel::isEmpty() const

Returns true if this list model is empty.

[signal, since Esri::ArcGISRuntime 100.15] void GraphicsOverlayListModel::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 GraphicsOverlayListModel::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::GraphicsOverlay *GraphicsOverlayListModel::last() const

Returns the last graphics overlay in the list model.

void GraphicsOverlayListModel::move(int from, int to)

Moves one graphics overlay from an index in the list model to a different index.

void GraphicsOverlayListModel::removeAt(int index)

Removes a graphics overlay 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 GraphicsOverlayListModel::removeOne(Esri::ArcGISRuntime::GraphicsOverlay *graphicsOverlay)

Removes the specified graphicsOverlay 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 GraphicsOverlayListModel::size() const

Returns the number of graphics 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