|
QGIS API Documentation 4.1.0-Master (4aad578bf8d)
|
Handles actions which can be displayed in a context menu related to feature selection. More...
#include <qgsmaptoolselectutils.h>

Public Member Functions | |
| QgsMapToolSelectMenuActions (QgsMapCanvas *canvas, QgsVectorLayer *vectorLayer, Qgis::SelectBehavior behavior, const QgsGeometry &selectionGeometry, QObject *parent=nullptr) | |
| Constructor. | |
| ~QgsMapToolSelectMenuActions () override | |
| void | populateMenu (QMenu *menu) |
| Populates the menu with "All Feature" action and a empty menu that could contain later the "One Feature" actions Starts the search for canditate features to be selected on another thread, actions/menus will be updated at the end of this task. | |
Handles actions which can be displayed in a context menu related to feature selection.
Definition at line 130 of file qgsmaptoolselectutils.h.
| QgsMapToolSelectUtils::QgsMapToolSelectMenuActions::QgsMapToolSelectMenuActions | ( | QgsMapCanvas * | canvas, |
| QgsVectorLayer * | vectorLayer, | ||
| Qgis::SelectBehavior | behavior, | ||
| const QgsGeometry & | selectionGeometry, | ||
| QObject * | parent = nullptr ) |
Constructor.
| canvas | The map canvas where where are the selected features |
| vectorLayer | The target layer |
| behavior | behavior of select |
| selectionGeometry | the geometry used to select the feature |
| parent | a QObject that owns the instance ot this class |
Definition at line 518 of file qgsmaptoolselectutils.cpp.
|
override |
Definition at line 533 of file qgsmaptoolselectutils.cpp.
| void QgsMapToolSelectUtils::QgsMapToolSelectMenuActions::populateMenu | ( | QMenu * | menu | ) |
Populates the menu with "All Feature" action and a empty menu that could contain later the "One Feature" actions Starts the search for canditate features to be selected on another thread, actions/menus will be updated at the end of this task.
Definition at line 542 of file qgsmaptoolselectutils.cpp.