16 #ifndef QGSLAYOUTITEMSLISTVIEW_H
17 #define QGSLAYOUTITEMSLISTVIEW_H
25 #include <QSortFilterProxyModel>
49 QgsLayoutItem *itemFromIndex(
const QModelIndex &index )
const;
50 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole )
const override;
54 void setSelected(
const QModelIndex &index );
57 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const override;
82 void setCurrentLayout(
QgsLayout *layout );
86 void showContextMenu( QPoint point );
A common interface for layout designer dialogs and widgets.
Base class for graphical items within a QgsLayout.
Model for the layout items list view.
A list view for showing items in a layout.
A model for items attached to a layout.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.