Skip to content

Commit

Permalink
IdentifyMode docs edit #2
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 10, 2018
1 parent 94866f0 commit 481b85c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/quickgui/qgsquickidentifykit.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class QUICK_EXPORT QgsQuickIdentifyKit : public QObject
Q_PROPERTY( int featuresLimit READ featuresLimit WRITE setFeaturesLimit NOTIFY featuresLimitChanged )

/**
* Defines behavior of identify tool (See description of IdentifyMode enum).
* Defines behavior of the identify tool (See description of IdentifyMode enum).
*
* Default is TopDownAll.
*/
Expand All @@ -76,13 +76,21 @@ class QUICK_EXPORT QgsQuickIdentifyKit : public QObject
public:

/**
* TopDownAll - identifies from top to bottom down layer returning all identified features;
* TopDownStopAtFirst - identifies from top to bottom down layer while it stops on layer with
* the first non empty list of identified features skipping rest layers.
* IdentifyMode enums used to define identify tool behavior on identifiable layers.
*/
enum IdentifyMode
{

/**
* Identification is performed from top to bottom down layers returning all
* identified features;
*/
TopDownAll = 0,

/**
* Identification is performed from top to bottom down layers and stops on the first layer
* returning non-empty list of identified features. Identification on rest layers is skipped.
*/
TopDownStopAtFirst
};
Q_ENUM( IdentifyMode )
Expand Down

0 comments on commit 481b85c

Please sign in to comment.