QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
15 #ifndef QGSVECTORTILEDATAITEMS_H
16 #define QGSVECTORTILEDATAITEMS_H
30 QgsVectorTileRootItem(
QgsDataItem *parent, QString name, QString path );
34 QVariant
sortKey()
const override {
return 8; }
39 class CORE_EXPORT QgsVectorTileLayerItem :
public QgsLayerItem
43 QgsVectorTileLayerItem(
QgsDataItem *parent, QString name, QString path,
const QString &encodedUri );
52 QString
name()
override;
61 #endif // QGSVECTORTILEDATAITEMS_H
virtual int capabilities() const =0
Returns combination of flags from QgsDataProvider::DataCapabilities.
virtual QVariant sortKey() const
Returns the sorting key for the item.
virtual QgsDataItem * createDataItem(const QString &path, QgsDataItem *parentItem)=0
Create a new instance of QgsDataItem (or nullptr) for given path and parent item.
virtual QString name()=0
Human-readable name of the provider name.
This is the interface for those who want to add custom data items to the browser tree.
virtual QString dataProviderKey() const
Returns the data provider key (if the data item provider is associated with a data provider),...
Item that represents a layer that can be opened with one of the providers.
A Collection that represents a root group of connections from a single data provider.
Base class for all items in the model.
virtual QVector< QgsDataItem * > createChildren()
Create children.