How to select a layer with the mouse click programmaticaly

المشرف العام

Administrator
طاقم الإدارة
I am working in c++/QT 4.8.5 and the api c++ qgis 2.8.2

In my application i had top select layer with the mouse click button to get attribute value and show them in a popup windows

I see in the api online documentation taht there is two classes :

QgsMapToolIdentifyFeature and QgsMapToolIdentify

can i use one of them to do what i want to do in my application or there is another to do it ?



أكثر...
 
أعلى