16 #ifndef QGSIDENTIFYMENU_H 
   17 #define QGSIDENTIFYMENU_H 
   35     CustomActionRegistry() = 
default;
 
   37     void clear() { mMapLayerActionList.clear(); }
 
   68         , mAllResults( !layer )
 
   69         , mIsExternalAction( nullptr != mapLayerAction )
 
   71         , mMapLayerAction( mapLayerAction )
 
   76         , mIsExternalAction( nullptr != mapLayerAction )
 
   79         , mLevel( FeatureLevel )
 
   80         , mMapLayerAction( mapLayerAction )
 
   83       bool mIsValid = 
false;
 
   84       bool mAllResults = 
false;
 
   85       bool mIsExternalAction = 
false;
 
  141     void setMaxLayerDisplay( 
int maxLayerDisplay );
 
  148     void setMaxFeatureDisplay( 
int maxFeatureDisplay );
 
  155     void removeCustomActions();
 
  162     QList<QgsMapToolIdentify::IdentifyResult> exec( 
const QList<QgsMapToolIdentify::IdentifyResult> &idResults, QPoint pos );
 
  172     void closeEvent( QCloseEvent *e ) 
override;
 
  175     void handleMenuHover();
 
  176     void deleteRubberBands();
 
  177     void layerDestroyed();
 
  178     void triggerMapLayerAction();
 
  189     void addVectorLayer( 
QgsVectorLayer *layer, 
const QList<QgsMapToolIdentify::IdentifyResult> &results, 
bool singleLayer = 
false );
 
  192     QList<QgsMapToolIdentify::IdentifyResult> results( QAction *action, 
bool &externalAction );
 
  195     QList<QgsHighlight *> mRubberBands;
 
  196     bool mAllowMultipleReturn;
 
  197     bool mExecWithSingleResult;
 
  198     bool mShowFeatureActions;
 
  199     bool mResultsIfExternalAction;
 
  200     int mMaxLayerDisplay;
 
  201     int mMaxFeatureDisplay;
 
  206     QString mDefaultActionName;
 
  209     CustomActionRegistry mCustomActionRegistry;
 
  212     QMap <QgsMapLayer *, QList<QgsMapToolIdentify::IdentifyResult> > mLayerIdResults;
 
Single scope for storing variables and functions for use within a QgsExpressionContext.
A class for highlight features on the map.
Map canvas is a class for displaying all GIS data types on a canvas.
This class tracks map layer actions.
An action which can run on map layers The class can be used in two manners:
Base class for all map layer types.
Represents a vector layer which manages a vector based data sets.
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features
Q_DECLARE_METATYPE(QgsMeshTimeSettings)