QGIS API Documentation
2.8.2-Wien
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
gui
qgsmaptoolidentifyfeature.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaptoolidentifyfeature.h
3
--------------------------------------
4
Date : 22.5.2014
5
Copyright : (C) 2014 Denis Rouzaud
6
Email :
[email protected]
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSMAPTOOLIDENTIFYFEATURE_H
17
#define QGSMAPTOOLIDENTIFYFEATURE_H
18
19
#include "
qgsmaptoolidentify.h
"
20
26
class
GUI_EXPORT
QgsMapToolIdentifyFeature
:
public
QgsMapToolIdentify
27
{
28
Q_OBJECT
29
30
public
:
36
QgsMapToolIdentifyFeature
(
QgsMapCanvas
* canvas,
QgsVectorLayer
* vl = 0 );
37
38
~
QgsMapToolIdentifyFeature
();
39
41
void
setLayer
(
QgsVectorLayer
* vl ) { mLayer = vl; }
42
43
virtual
void
canvasReleaseEvent
( QMouseEvent* e )
override
;
44
45
signals:
46
void
featureIdentified(
const
QgsFeature
& );
47
void
featureIdentified(
QgsFeatureId
);
48
49
protected
:
50
virtual
void
keyPressEvent
( QKeyEvent* e )
override
;
51
52
private
:
53
QgsMapCanvas
*
mCanvas
;
54
QgsVectorLayer
* mLayer;
55
};
56
57
#endif // QGSMAPTOOLIDENTIFYFEATURE_H
Generated on Sun May 10 2015 16:33:26 for QGIS API Documentation by
1.8.1.2