153 void setMaxLayerDisplay(
int maxLayerDisplay );
160 void setMaxFeatureDisplay(
int maxFeatureDisplay );
167 void removeCustomActions();
174 QList<QgsMapToolIdentify::IdentifyResult> exec(
const QList<QgsMapToolIdentify::IdentifyResult> &idResults, QPoint pos );
205 void handleMenuHover();
206 void deleteRubberBands();
207 void layerDestroyed();
208 void triggerMapLayerAction();
218 void addVectorLayer(
QgsVectorLayer *layer,
const QList<QgsMapToolIdentify::IdentifyResult> &results,
bool singleLayer =
false );
221 QList<QgsMapToolIdentify::IdentifyResult> results( QAction *action,
bool &externalAction );
224 QList<QgsHighlight *> mRubberBands;
225 bool mAllowMultipleReturn =
true;
226 bool mExecWithSingleResult =
false;
227 bool mShowFeatureActions =
false;
228 bool mResultsIfExternalAction =
false;
229 int mMaxLayerDisplay = 10;
230 int mMaxFeatureDisplay = 10;
235 QString mDefaultActionName;
238 CustomActionRegistry mCustomActionRegistry;
241 QMap<QgsMapLayer *, QList<QgsMapToolIdentify::IdentifyResult>> mLayerIdResults;
Single scope for storing variables and functions for use within a QgsExpressionContext.