[Qgis-user] Developing an "Action" that shows changed value of a form-field
Kai Behncke
Kai.Behncke at ibbenbueren.de
Mon May 27 04:04:47 PDT 2019
Dear users,
for a vector-layer I would like to produce an action, that shows the
changed value in a formular.
E.G. I am editing a vector-point-layer, click on a point, the fomular
is opening. I change a value (lets say
the formular-field "z" had a value "test" and I change it to "test2").
Then I start my developed action.
I tried for example:
----------------
from qgis.PyQt import QtWidgets
QtWidgets.QMessageBox.information(None, "Feature id", "feature id is [
$z ] '%Z%' '%z%' $z [z] $Z [Z] [%z%] [%Z%]")
----------------------
but I always get the "old" value "test" and not the formular-changed
value "test2".
Has anybody an idea what I can do?
Thank you in advance, Kai
Mit freundlichen Grüßen
Im Auftrag
Kai Behncke
Geoinformation
Tel.: +49 5451 931-7125
E-Mail: kai.behncke at ibbenbueren.de
Rathaus II
Roncallistraße 3-5
1. Stock, Raum 105
49477 Ibbenbüren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190527/d40f12d7/attachment.html>
More information about the Qgis-user
mailing list