[QGIS-Developer] QgsAttributeDialog and PyQt - Signal for accept or close of dialog

Andreas Neumann a.neumann at carto.net
Thu Jan 5 00:40:09 PST 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20230105/953f7738/attachment.htm>


More information about the QGIS-Developer mailing list