[QGIS-Developer] Changing attributes of a newly created feature in Python form init code

2024-01-04 Thread WhereGroup
Hey guys, I feel really dumb and I guess I am missing some basic concept...: * I have a layer with two attributes: "text" (string) and "int" (integer). * I used drag'n'drop form design to have a form with just the "text" attribute in it. * I added Python Init Code: ``` from functools

[QGIS-Developer] Details about the Grant Program?

2024-01-04 Thread Thomas Larsen Wessel via QGIS-Developer
I keep seeing mentions of the grant program related to various fixes / improvements. How does that work? I looked in the QGIS charter, but there is nothing there. There must be a framework / set of regulations for this grant program? This is not because I plan to apply for any grants, and

Re: [QGIS-Developer] Details about the Grant Program?

2024-01-04 Thread Thomas Larsen Wessel via QGIS-Developer
The information under "Submission form intro text" at https://docs.google.com/document/d/1CNmSJxztrHrqLfillDH8v1zWaMzxFUyYSPT3sut55eQ/ is exactly what I was looking for. Thanks :) When I google for the Grant Programme, I find plenty about actual proposals and grants, but I was never able to find

[QGIS-Developer] Details about the Grant Program?

2024-01-04 Thread Anita Graser via QGIS-Developer
Hi Thomas, Please have a look at last years round for all the steps involved: https://github.com/qgis/PSC/issues/58 Regards Anita ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] QGIS freezes when saving table with AFTER INSERT or UPDATE

2024-01-04 Thread Alexandre Neto via QGIS-Developer
Sorry for the cross posting. I have a table with the following trigger CREATE TRIGGER tr_base_cont_trocos_ai AFTER INSERT OR UPDATE ON base.cont_troco FOR EACH STATEMENT EXECUTE FUNCTION tr_gerar_outputs(); Now, the tr_gerar_outputs() takes some time to process, as it generates new tables and

Re: [QGIS-Developer] [postgis-users] QGIS freezes when saving table with AFTER INSERT or UPDATE

2024-01-04 Thread Alexandre Neto via QGIS-Developer
Uhmm... Thanks. So there's no way to avoid hanging QGIS while the trigger function(s) is running. I am guessing that if I have another trigger function in a table that is automatically populated by the first trigger, it will also be executed in the QGIS transaction, right? Thanks Again,