[QGIS-Developer] prevent deletion

Luigi Pirelli luipir at gmail.com
Thu Feb 22 03:48:11 PST 2018


or just look for the delete actionbutton and disable it
Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**************************************************************************************************


2018-02-22 11:47 GMT+00:00 Luigi Pirelli <luipir at gmail.com>:
> beforeCommit signal and managing edit buffer before real commit can be
> a solution?
>
> another is to modify the edit buffer attaching to the featureDeleted signal...
>
> do you need a beforeDelete signal?
> Luigi Pirelli
>
> **************************************************************************************************
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> * https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> * Hire me: http://goo.gl/BYRQKg
> **************************************************************************************************
>
>
> 2018-02-22 10:40 GMT+00:00 Poltini Roberto <Roberto.Poltini at gruppoiren.it>:
>> Hi Devs,
>>
>>    if there are some selected objects and a user press del button the
>> selected object wiil be deleted.
>>
>> Is it possible to prevent deletion using a python plugin ?
>>
>> When my maptool is active I don’t want this qgis function is active.
>>
>> Thanks
>>
>> Roberto
>>
>> ________________________________
>> Per essere informati sulle novità del Gruppo Iren, vi invitiamo a
>> registrarvi alla nostra mailing list, all’indirizzo
>> "http://www.gruppoiren.it/" .
>>
>> È possibile, inoltre, avanzare nuove idee e progetti per il territorio e
>> seguire quelli già attivi nei Comitati Territoriali del Gruppo Iren,
>> consultando "http://www.Irencollabora.it"
>>
>> You can also suggest new ideas and initiatives for the territory and view
>> those already active in the Iren Group Territorial Committees
>> "http://www.Irencollabora.it"
>>
>> Le informazioni contenute nella presente comunicazione e i relativi allegati
>> possono essere riservate e sono, comunque, destinate esclusivamente alle
>> persone o alla Società sopraindicati. La diffusione, distribuzione e/o
>> copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal
>> destinatario è proibita, sia ai sensi dell’art. 616 c.p. , che ai sensi del
>> D.Lgs. n. 196/2003. Se avete ricevuto questo messaggio per errore, vi
>> preghiamo di distruggerlo e di informare immediatamente il mittente.
>>
>>
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list