16 #ifndef QGSIDENTIFYMENU_H
17 #define QGSIDENTIFYMENU_H
48 , mAllResults( false )
49 , mIsExternalAction( false )
52 , mLevel( LayerLevel )
53 , mMapLayerAction( NULL )
58 , mAllResults( layer == 0 )
59 , mIsExternalAction( mapLayerAction != 0 )
62 , mLevel( LayerLevel )
63 , mMapLayerAction( mapLayerAction )
68 , mAllResults( false )
69 , mIsExternalAction( mapLayerAction != 0 )
72 , mLevel( FeatureLevel )
73 , mMapLayerAction( mapLayerAction )
118 void setMaxLayerDisplay(
int maxLayerDisplay );
123 void setMaxFeatureDisplay(
int maxFeatureDisplay );
130 void removeCustomActions();
143 void handleMenuHover();
144 void deleteRubberBands();
145 void layerDestroyed();
146 void triggerMapLayerAction();
152 explicit CustomActionRegistry(
QObject *parent );
154 void clear() {mMapLayerActionList.clear();}
169 bool mAllowMultipleReturn;
170 bool mExecWithSingleResult;
171 bool mShowFeatureActions;
172 bool mResultsIfExternalAction;
173 int mMaxLayerDisplay;
174 int mMaxFeatureDisplay;
180 CustomActionRegistry mCustomActionRegistry;
188 #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.
Q_DECLARE_METATYPE(QgsExpression::Interval)
An action which can run on map layers.