QgsLayoutViewMenuProvider class

Interface for a QgsLayoutView context menu.

Contents

Implementations of this interface can be made to allow QgsLayoutView instances to provide custom context menus (opened upon right-click).

Public functions

auto createContextMenu(QWidget* parent, QgsLayout* layout, QPointF layoutPoint) const -> QMenu* pure virtual
Returns a newly created menu instance (or null pointer on error)