Obsolete Members for LayerListModel

The following members of QML type LayerListModel are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Signals

Methods

  • void setProperty(int index, string property, variant value) (obsolete)

Signal Documentation

layerAdded(int index)

This signal is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Emitted when an object is added to the list model at the index specified in the parameter. Use itemAdded(int index)

Note: The corresponding handler is onLayerAdded.


layerRemoved(int index)

This signal is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Emitted when an object is removed from the list model at the index specified in the parameter. Use itemRemoved(int index)

Note: The corresponding handler is onLayerRemoved.


Method Documentation

void setProperty(int index, string property, variant value)

This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Changes the property of the layer at index in the list model to value.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.