[Qgis-developer] Custom "Identify Results" Window

Gino Pirelli luipir at gmail.com
Mon Feb 10 06:11:05 PST 2014


QgsMapTool is available in PyQGIS:

http://www.qgis.org/en/docs/pyqgis_developer_cookbook/canvas.html#writing-custom-map-tools


On 10 February 2014 14:49, Josua S <josh-talk at hotmail.com> wrote:

> Hello Matthias
>
> 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++?
>
> Josua
>
>
> ----------------------------------------
> > Date: Mon, 10 Feb 2014 14:39:59 +0100
> > From: matthias.kuhn at gmx.ch
> > To: josh-talk at hotmail.com
> > CC: qgis-developer at lists.osgeo.org
> > Subject: Re: [Qgis-developer] Custom "Identify Results" Window
> >
> > Hi Josua,
> >
> > I don't think the possibility is available OOTB yet, but it should be
> > straightforward to create your own maptool which inherits from the
> > identify maptool and uses a QgsDualView with a request (or filter)
> > limiting the available features to only the relevant feature ids. This
> > should get you a list of all features and their form when selected.
> >
> > Would be nice to be see this in core as well in the future.
> >
> > Best
> > Matthias
> >
> > On Mon 10 Feb 2014 02:29:37 PM CET, Josua S wrote:
> >> Hello
> >>
> >> 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.
> >>
> >> Josua
> >> _______________________________________________
> >> Qgis-developer mailing list
> >> Qgis-developer at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140210/0d8552d7/attachment.html>


More information about the Qgis-developer mailing list