Hi,

I got the "featureSaved" signal working (firing), but the "closed" signal is not triggered - no idea why ...

But I can work with the "featureSaved" signal - I am fine with that one.

Andreas

On 2023-01-05 09:49, Andreas Neumann wrote:

Hi again,

Oh - I see, i am dealing with the QgsAttributeForm and not the QgsAttributeDialog object. The QgsAttributeForm has a "closed" signal. I can attach to it, but it doesn't fire ;-(

Andreas

On 2023-01-05 09:40, Andreas Neumann via QGIS-Developer wrote:

Hi,

This concerns PyQt code. I am trying to process attribute data on acceptance of a QgsAttributeDialog and can't find the correct signal name that I could attach my function to.

I tried

myDialog.accepted.connect(myFunction)

but it tells me

AttributeError: 'QgsAttributeForm' object has no attribute 'accepted'

Anyone has a hint what kind of signal I could use to process data on acceptance or closing of an attribute form?

Thanks,

Andreas
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to