For a QGIS 2.6 python plugin, I am trying to send a signal when an attribute value is changed (values for an existing feature are updated or added and the attribute form dialog is accepted). This signal should then connect to another function. Note, that the feature is not being added (it already existed, and attributes are being modified after identifying a feature while in edit mode). This is why the
featureAdded signal doesn't work.
So far, i've tried using
layerModified signals from the vector layer class in this way with no success.
def myFunction(self): self.myLayer.attributeValueChanged.connect(self.myOtherFunction) def myOtherFunction(self): self.myLayer.dostuff self.dlg.show()