<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Thanks for your thoughts.</p>
<p>But, I asked for having the values to easily change (on little
points) them without writing the whole value (e.g. text).</p>
<p><br>
</p>
<p>If there were an event "onClosing"-Attribute-Dialog (UI, not
list) then everything would be fine for my needs.<br>
</p>
<p><br>
</p>
<p>I haven't found out how I can code a plugin the easy way ...
python isn't the easy way for me :-)<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 26.11.2020 um 11:09 schrieb Bernd
Vogelgesang:<br>
</div>
<blockquote type="cite"
cite="mid:0e05d5fd-466f-4ec6-3dcb-d34a09931a6e@gmx.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Without knowing more about your project than A and B, it is a
guessing game what could be best.<br>
</p>
<p>But to me, if I understood correctly, it sounds like you are
about to create a data-redundancy over several layers.</p>
<p>If those attributes are really the same, and stay the same, it
would maybe me wiser to work with relations and/or virtual
layers where you could deliver those common values without
having to really store them individually in each layer.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 25.11.20 22:43, L.W. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f3604022-a4bf-63cd-696d-16d44a1165a9@gmx.de">That's
what I want to use, but how to set the "default value" - no, not
<br>
per propertier and form builder. <br>
<br>
I want to set the DV by input in "UI A" (add feature to layer A)
and <br>
then add new feature to B, and in UI B the DV is set to value
from form A. <br>
<br>
<br>
Am 25.11.2020 um 21:19 schrieb Harrissou: <br>
<blockquote type="cite">Hi, <br>
Something like setting default values for field: <br>
<a class="moz-txt-link-freetext"
href="https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values"
moz-do-not-send="true">https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values</a>
<br>
<a class="moz-txt-link-rfc2396E"
href="https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values"
moz-do-not-send="true"><https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values></a>
<br>
? <br>
<br>
Regards, <br>
Harrissou <br>
<br>
Le 25 novembre 2020 20:49:17 GMT+01:00, "L.W." <a
class="moz-txt-link-rfc2396E" href="mailto:eaglelw@gmx.de"
moz-do-not-send="true"><eaglelw@gmx.de></a> a écrit :
<br>
<br>
Hello, <br>
<br>
I have a question again, I know the possibility of the
project <br>
variables, which can be queried from all layers. <br>
I have to insert several points and lines or polygons in
different layers. <br>
All inserted features have in common that they have
certain attributes <br>
that are the same for all. <br>
It would be nice if I only have to enter these common
attributes for the <br>
first feature and the values are then automatically
inserted as <br>
default values for each new feature. <br>
One possible way would of course be a link to a shared
data table, but I <br>
don't necessarily want to go this way for reasons. <br>
I know the option of giving a UI a Python script when it
is opened (even <br>
if I can't Python), but I haven't found anything to
execute a script <br>
after closing, for example. <br>
Obviously logical, you can of course set the variables
beforehand, but <br>
that would be another step that you have to take
beforehand and you <br>
cannot get to these variables without a whole series of
mouse clicks. <br>
<br>
Any ideas? <br>
<br>
Regards <br>
------------------------------------------------------------------------
<br>
Qgis-user mailing list <br>
<a class="moz-txt-link-abbreviated"
href="mailto:Qgis-user@lists.osgeo.org"
moz-do-not-send="true">Qgis-user@lists.osgeo.org</a> <br>
List <a class="moz-txt-link-freetext"
href="info:https://lists.osgeo.org/mailman/listinfo/qgis-user"
moz-do-not-send="true">info:https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<a class="moz-txt-link-rfc2396E"
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
moz-do-not-send="true"><https://lists.osgeo.org/mailman/listinfo/qgis-user></a>
<br>
Unsubscribe:<a class="moz-txt-link-freetext"
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<a class="moz-txt-link-rfc2396E"
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
moz-do-not-send="true"><https://lists.osgeo.org/mailman/listinfo/qgis-user></a>
<br>
<br>
<br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail.
Veuillez <br>
excuser ma brièveté. <br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</blockquote>
</body>
</html>