QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Interface for a QgsLayoutView context menu. More...
#include <qgslayoutview.h>
Public Member Functions | |
virtual | ~QgsLayoutViewMenuProvider ()=default |
virtual QMenu * | createContextMenu (QWidget *parent, QgsLayout *layout, QPointF layoutPoint) const =0 |
Returns a newly created menu instance (or nullptr on error) More... | |
Interface for a QgsLayoutView context menu.
Implementations of this interface can be made to allow QgsLayoutView instances to provide custom context menus (opened upon right-click).
Definition at line 602 of file qgslayoutview.h.
|
virtualdefault |
|
pure virtual |
Returns a newly created menu instance (or nullptr
on error)