On 11/22/20 8:40 PM, Jésahel Benoist wrote:
> The actions are a standard way of acting on graphical objects, so for me it 
> would be the first thing to try. Did you ?
> 
> Le dim. 22 nov. 2020 à 20:01, Bernd Vogelgesang <bernd.vogelges...@gmx.de 
> <mailto:bernd.vogelges...@gmx.de>> a écrit :
> 
>     if you would be so kind to explain the "just" part of your proposal?

I think in the User lists it is always good to add a link to some documentation 
about a QGIS-term. In this case 'actions' kan be a normal word, but (advanced) 
users maybe (or not) know that it is also something you can use to 'do 
something in QGIS upon a click on a feature'.

Some documentation here:
https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#actions-menu
(or do a search on 'actions' in the QGIS docs site).
Tip: go to vector layer properties, 'Actions' tab, and hit 'Create Default 
Actions' button. You will get all kind of examples.

About original post: I do not think we have an Action on hover (plz correct me 
if I'm wrong), but to run some (PyQGIS) python code is doable.
With PyQGIS you can search for features in other layers, and maybe 'select' 
these on click in the other layer (or change attribute, though I'm not sure how 
to change it back then... )

Acutally this sounds like nice functionality for layers which have relations... 
I'm not so experienced with relations in layers.

If you worked out a way to do this, plz let us know :-)

Regards,

Richard

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to