<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I got the "featureSaved" signal working (firing), but the "closed" signal is not triggered - no idea why ...</p>
<p>But I can work with the "featureSaved" signal - I am fine with that one.</p>
<p>Andreas</p>
<p id="reply-intro">On 2023-01-05 09:49, Andreas Neumann wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi again,</p>
<p>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 ;-(</p>
<p>Andreas</p>
<p id="v1reply-intro">On 2023-01-05 09:40, Andreas Neumann via QGIS-Developer wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<div id="v1replybody1">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi,</p>
<p>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.</p>
<p>I tried</p>
<p><span style="font-family: courier new, courier, monospace;">myDialog.accepted.connect(myFunction)</span></p>
<p>but it tells me</p>
<p><span style="font-family: courier new, courier, monospace;">AttributeError: 'QgsAttributeForm' object has no attribute 'accepted'</span></p>
<p>Anyone has a hint what kind of signal I could use to process data on acceptance or closing of an attribute form?</p>
<p>Thanks,</p>
<p>Andreas</p>
</div>
</div>
<br />
<div class="v1pre" style="margin: 0; padding: 0; font-family: monospace;">_______________________________________________<br />QGIS-Developer mailing list<br /><a href="mailto:QGIS-Developer@lists.osgeo.org" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
<p><br /></p>
</div>
</div>
</blockquote>
<p><br /></p>

</body></html>