#include <qgslayertreeview.h>
Implementation of this interface can be implemented to allow QgsLayerTreeView instance to provide custom context menus (opened upon right-click).
- See also
- QgsLayerTreeView
- Since
- QGIS 2.4
Definition at line 282 of file qgslayertreeview.h.
◆ ~QgsLayerTreeViewMenuProvider()
virtual QgsLayerTreeViewMenuProvider::~QgsLayerTreeViewMenuProvider |
( |
| ) |
|
|
virtualdefault |
◆ createContextMenu()
virtual QMenu* QgsLayerTreeViewMenuProvider::createContextMenu |
( |
| ) |
|
|
pure virtual |
Returns a newly created menu instance (or nullptr
on error)
The documentation for this class was generated from the following file: