16#ifndef QGSATTRIBUTESFORMVIEW_H
17#define QGSATTRIBUTESFORMVIEW_H
64 const QList<QgsAttributesFormTreeViewIndicator *>
indicators(
const QModelIndex &index )
const;
122 QHash< QgsAttributesFormItem *, QList< QgsAttributesFormTreeViewIndicator * > >
mIndicators;
146 void setModel( QAbstractItemModel *model )
override;
173 void setModel( QAbstractItemModel *model )
override;
179 void dropEvent( QDropEvent *event )
override;
182 void onItemDoubleClicked(
const QModelIndex &index );
183 void handleExternalDroppedItems(
const QModelIndexList &indexes );
184 void handleInternalDroppedItems(
const QModelIndexList &indexes );
188 void selectDroppedItems(
const QModelIndexList &indexes );
191 void storeExpandedState(
const QModelIndex &sourceIndex );
194 void restoreExpandedState(
const QModelIndex &sourceIndex );
196 QHash< QgsAttributesFormItem *, bool > mDraggedExpandedState;
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Represents a vector layer which manages a vector based dataset.