<div dir="ltr">andrea da iface poi prendere qualsiasi QAction e modificarne l'icona... o piu' genericamente iterare su tutte le widget partendo da mainWindow e modificare quel che vuoi... e questo magari e' pure un aspetto "pericolo" della introspezione<div><br></div><div>Luigi Pirelli<div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Mastering QGIS 2nd Edition:<br>* <a href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition" target="_blank">https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition</a><br>* Hire me: <a href="http://goo.gl/BYRQKg" target="_blank">http://goo.gl/BYRQKg</a><br>**************************************************************************************************</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 10 Oct 2018 at 04:05, andreaerdna <<a href="mailto:andreaerdna@libero.it">andreaerdna@libero.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">andreaerdna wrote<br>
> - quando sei in fase di editing e vuoi cambiare l'icona del cursore, apri<br>
> la<br>
> console Python ed esegui il comando<br>
<br>
Forse è ancora più semplice (e meno "invasivo"):<br>
<br>
iface.mapCanvas().setCursor(Qt.CrossCursor)<br>
<br>
o<br>
<br>
qgis.utils.iface.mapCanvas().setCursor(Qt.CrossCursor)<br>
<br>
<br>
che cambiano l'icona del cursore solo per mappa e solo finché un altro tool<br>
non la modifica.<br>
<br>
<br>
Non ho capito se è possibile modificare le icone dei cursori creando temi<br>
personalizzati. Qualcuno lo sa?<br>
<br>
<br>
Andrea<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html</a><br>
_______________________________________________<br>
QGIS-it-user mailing list<br>
<a href="mailto:QGIS-it-user@lists.osgeo.org" target="_blank">QGIS-it-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-it-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-it-user</a><br>
</blockquote></div>