15#ifndef QGSTILEDSCENEDATAITEMS_H
16#define QGSTILEDSCENEDATAITEMS_H
30 QgsTiledSceneRootItem(
QgsDataItem *parent, QString name, QString path );
34 QVariant
sortKey()
const override {
return 8; }
39class CORE_EXPORT QgsTiledSceneLayerItem :
public QgsLayerItem
43 QgsTiledSceneLayerItem(
QgsDataItem *parent, QString name, QString path,
const QString &encodedUri,
const QString &provider );
52 QString
name()
override;
A Collection that represents a root group of connections from a single data provider.
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),...
virtual int capabilities() const =0
Returns combination of flags from QgsDataProvider::DataCapabilities.
virtual QString name()=0
Human-readable name of the provider name.
virtual QgsDataItem * createDataItem(const QString &path, QgsDataItem *parentItem)=0
Create a new instance of QgsDataItem (or nullptr) for given path and parent item.
Base class for all items in the model.
virtual QVariant sortKey() const
Returns the sorting key for the item.
virtual QVector< QgsDataItem * > createChildren()
Create children.
Item that represents a layer that can be opened with one of the providers.