QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
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. | |
virtual | ~MenuProvider ()=default |
virtual QMenu * | createContextMenu (QgsExpressionItem *item) |
Returns a newly created menu instance. | |
Implementation of this interface can be implemented to allow QgsExpressionTreeView instance to provide custom context menus (opened upon right-click).
Definition at line 162 of file qgsexpressiontreeview.h.
|
explicitdefault |
Constructor.
|
virtualdefault |
|
inlinevirtual |
Returns a newly created menu instance.
Definition at line 170 of file qgsexpressiontreeview.h.