QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
Implementation of this interface can be implemented to allow QgsLayerTreeView instance to provide custom context menus (opened upon right-click). More...
#include <qgslayertreeview.h>
Public Member Functions | |
virtual | ~QgsLayerTreeViewMenuProvider ()=default |
virtual QMenu * | createContextMenu ()=0 |
Returns a newly created menu instance (or nullptr on error) More... | |
Implementation of this interface can be implemented to allow QgsLayerTreeView instance to provide custom context menus (opened upon right-click).
Definition at line 423 of file qgslayertreeview.h.
|
virtualdefault |
|
pure virtual |
Returns a newly created menu instance (or nullptr
on error)