QGIS API Documentation
2.8.2-Wien
|
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 () |
virtual QMenu * | createContextMenu ()=0 |
Return a newly created menu instance (or null pointer on error) |
Implementation of this interface can be implemented to allow QgsLayerTreeView instance to provide custom context menus (opened upon right-click).
Definition at line 127 of file qgslayertreeview.h.
|
inlinevirtual |
Definition at line 130 of file qgslayertreeview.h.
|
pure virtual |
Return a newly created menu instance (or null pointer on error)