QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Implementation of this interface can be implemented to allow QgsExpressionTreeView instance to provide custom context menus (opened upon right-click). More...
#include <qgsexpressiontreeview.h>
Public Member Functions | |
MenuProvider ()=default | |
Constructor. More... | |
virtual | ~MenuProvider ()=default |
virtual QMenu * | createContextMenu (QgsExpressionItem *item) |
Returns a newly created menu instance. More... | |
Implementation of this interface can be implemented to allow QgsExpressionTreeView instance to provide custom context menus (opened upon right-click).
Definition at line 148 of file qgsexpressiontreeview.h.
|
explicitdefault |
Constructor.
|
virtualdefault |
|
inlinevirtual |
Returns a newly created menu instance.
Definition at line 156 of file qgsexpressiontreeview.h.