18#ifndef QGSELEVATIONPROFILELAYERTREEVIEW_H
19#define QGSELEVATIONPROFILELAYERTREEVIEW_H
25#include <QSortFilterProxyModel>
58 QVariant
data(
const QModelIndex &index,
int role = Qt::DisplayRole )
const override;
59 bool dropMimeData(
const QMimeData *data, Qt::DropAction action,
int row,
int column,
const QModelIndex &parent )
override;
60 QMimeData *
mimeData(
const QModelIndexList &indexes )
const override;
91 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const override;
123 QgsMapLayer *indexToLayer(
const QModelIndex &index );
128 void populateInitialLayers(
QgsProject *project );
132 void resizeEvent( QResizeEvent *event )
override;
A layer tree model subclass for elevation profiles.
A proxy model for elevation profiles.
A layer tree view for elevation profiles.
The QgsLayerTreeModel class is model implementation for Qt item views framework.
bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
QMimeData * mimeData(const QModelIndexList &indexes) const override
Namespace with helper functions for layer tree operations.
Base class for all map layer types.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...