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();
152 virtual void closeEvent(
QCloseEvent *e )
override;
155 void handleMenuHover();
156 void deleteRubberBands();
157 void layerDestroyed();
158 void triggerMapLayerAction();
174 bool mAllowMultipleReturn;
175 bool mExecWithSingleResult;
176 bool mShowFeatureActions;
177 bool mResultsIfExternalAction;
178 int mMaxLayerDisplay;
179 int mMaxFeatureDisplay;
185 CustomActionRegistry mCustomActionRegistry;
193 #endif // QGSIDENTIFYMENU_H
Base class for all map layer types.
Map canvas is a class for displaying all GIS data types on a canvas.
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.