16 #ifndef QGSIDENTIFYMENU_H 17 #define QGSIDENTIFYMENU_H 32 explicit CustomActionRegistry(
QObject *parent );
34 void clear() { mMapLayerActionList.clear(); }
60 , mAllResults( false )
61 , mIsExternalAction( false )
64 , mLevel( LayerLevel )
65 , mMapLayerAction( nullptr )
70 , mAllResults( !layer )
71 , mIsExternalAction( nullptr != mapLayerAction )
74 , mLevel( LayerLevel )
75 , mMapLayerAction( mapLayerAction )
80 , mAllResults( false )
81 , mIsExternalAction( nullptr != mapLayerAction )
84 , mLevel( FeatureLevel )
85 , mMapLayerAction( mapLayerAction )
130 void setMaxLayerDisplay(
int maxLayerDisplay );
135 void setMaxFeatureDisplay(
int maxFeatureDisplay );
142 void removeCustomActions();
166 virtual void closeEvent(
QCloseEvent *e )
override;
169 void handleMenuHover();
170 void deleteRubberBands();
171 void layerDestroyed();
172 void triggerMapLayerAction();
188 bool mAllowMultipleReturn;
189 bool mExecWithSingleResult;
190 bool mShowFeatureActions;
191 bool mResultsIfExternalAction;
192 int mMaxLayerDisplay;
193 int mMaxFeatureDisplay;
201 CustomActionRegistry mCustomActionRegistry;
209 #endif // QGSIDENTIFYMENU_H
Base class for all map layer types.
Q_DECLARE_METATYPE(QgsMimeDataUtils::UriList)
Map canvas is a class for displaying all GIS data types on a canvas.
Single scope for storing variables and functions for use within a QgsExpressionContext.
This class tracks map layer actions.
Represents a vector layer which manages a vector based data sets.
An action which can run on map layers.