Howto change the symbology of selected features in QGIS

المشرف العام

Administrator
طاقم الإدارة
In QGIS selected features are normally highlighted in a different color to draw user’s attention on the selection. The default color can be changed programmatically. As a nice to have my standalone app (QGIS 2.8.2) should draw selected features with different stiles: points with another symbol or a greater size, maybe with a flashing effect, areas with hatch pattern drawn in a different orientation.

Any ideas on how to implement this?

My first idea was to switch between True and False in a hidden field whenever selectionChanged signal is emitted, but I am afraid of running in inconsistency and performance problems this way.



أكثر...
 
أعلى