QgsLayerTreeViewMenuProvider class

Implementation of this interface can be implemented to allow QgsLayerTreeView instance to provide custom context menus (opened upon right-click).

Contents

Public functions

auto createContextMenu() -> QMenu* pure virtual
Returns a newly created menu instance (or null pointer on error)