[Qgis-developer] setMapTool
Denis Rouzaud
denis.rouzaud at gmail.com
Mon Nov 11 22:17:23 PST 2013
Hi Martin,
Thanks a lot for your answer.
It does bring me a bit further!
But I was looking for setting the "run action feature" map tool (I took
identify as an example).
I see the function returning the action for it is missing. Do you know
if it's intended or not?
Thanks again,
Denis
On 11/12/2013 04:12 AM, Martin Dobias wrote:
> Hi Denis
>
> you can do that by triggering identify action (will call setMapTool for you):
>>>> iface.actionIdentify().trigger()
> Martin
>
>
> On Mon, Nov 11, 2013 at 10:01 PM, Denis Rouzaud <denis.rouzaud at gmail.com> wrote:
>> Hi all,
>>
>> Following Thomas' question, I wonder if it is possible to set a QGIS map
>> tool using setMapTool.
>>
>> The map tools are private variable so I suppose it's impossible for example
>> to set the identify map tool as the current tool.
>>
>> Am I wrong?
>>
>> Thanks,
>>
>> Denis
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list