<div dir="ltr">QgsMapTool is available in PyQGIS:<br><div><br></div><div><a href="http://www.qgis.org/en/docs/pyqgis_developer_cookbook/canvas.html#writing-custom-map-tools">http://www.qgis.org/en/docs/pyqgis_developer_cookbook/canvas.html#writing-custom-map-tools</a><br>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 February 2014 14:49, Josua S <span dir="ltr"><<a href="mailto:josh-talk@hotmail.com" target="_blank">josh-talk@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Matthias<br>
<br>
Thank you very much for your quick answer! I have a question left: Is it possible to inherit the identify maptool and use it only using Python? Or does this have to be done in C++?<br>
<span class="HOEnZb"><font color="#888888"><br>
Josua<br>
</font></span><div class="hm HOEnZb"><br>
<br>
----------------------------------------<br>
> Date: Mon, 10 Feb 2014 14:39:59 +0100<br>
> From: <a href="mailto:matthias.kuhn@gmx.ch">matthias.kuhn@gmx.ch</a><br>
> To: <a href="mailto:josh-talk@hotmail.com">josh-talk@hotmail.com</a><br>
> CC: <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
> Subject: Re: [Qgis-developer] Custom "Identify Results" Window<br>
</div><div class="HOEnZb"><div class="h5">><br>
> Hi Josua,<br>
><br>
> I don't think the possibility is available OOTB yet, but it should be<br>
> straightforward to create your own maptool which inherits from the<br>
> identify maptool and uses a QgsDualView with a request (or filter)<br>
> limiting the available features to only the relevant feature ids. This<br>
> should get you a list of all features and their form when selected.<br>
><br>
> Would be nice to be see this in core as well in the future.<br>
><br>
> Best<br>
> Matthias<br>
><br>
> On Mon 10 Feb 2014 02:29:37 PM CET, Josua S wrote:<br>
>> Hello<br>
>><br>
>> I am working on a QGIS Plugin with a touch-optimized GUI. So it is actually very useful to be able to create custom feature forms. However if I use the Identify tool and there are two or more features near together, QGIS does not show my feature form but a "Identify Results" window containing all the features nearby. So my question is: Is there a possibility to create a custom "Identify Results" window with Python if there are several features? Or is there a setting to change its behavior? Thank you very much for your help.<br>


>><br>
>> Josua<br>
>> _______________________________________________<br>
>> Qgis-developer mailing list<br>
>> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>