[Qgis-user] Set variables by UI

Richard Duivenvoorde rdmailings at duif.net
Thu Nov 26 00:49:56 PST 2020


Hi,

Some days ago while browsing code, I got the feeling that there was also some kind of option like "Remember last inserted value of this field, and use it as 'default' for the next new feature to create...".
But I cannot find it in the gui (and no time to search for it in the code).

Does anybody is aware of such function?
Not sure if it is usefull for the original question though... It would not work over different layers...

Regards,

Richard Duivenvoorde

On 11/25/20 9:19 PM, Harrissou wrote:
> Hi,
> Something like setting default values for field: https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values <https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values> ?
> 
> Regards,
> Harrissou
> 
> Le 25 novembre 2020 20:49:17 GMT+01:00, "L.W." <eaglelw at gmx.de> a écrit :
> 
>     Hello,
> 
>     I have a question again, I know the possibility of the project
>     variables, which can be queried from all layers.
>     I have to insert several points and lines or polygons in different layers.
>     All inserted features have in common that they have certain attributes
>     that are the same for all.
>     It would be nice if I only have to enter these common attributes for the
>     first feature and the values ​​are then automatically inserted as
>     default values ​​for each new feature.
>     One possible way would of course be a link to a shared data table, but I
>     don't necessarily want to go this way for reasons.
>     I know the option of giving a UI a Python script when it is opened (even
>     if I can't Python), but I haven't found anything to execute a script
>     after closing, for example.
>     Obviously logical, you can of course set the variables beforehand, but
>     that would be another step that you have to take beforehand and you
>     cannot get to these variables without a whole series of mouse clicks.
> 
>     Any ideas?
> 
>     Regards
>     ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>     Qgis-user mailing list
>     Qgis-user at lists.osgeo.org
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> 
> 
> -- 
> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 



More information about the Qgis-user mailing list