<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 1 Mar 2024, 5:02 am Jorge Tornero via QGIS-Developer, <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello all, <br></div><div><br></div><div>I write the list because I have a a simple question (currently I'm trying to tackle issue #56275 Improve Parsing of Data from Serial Port Sensors).</div><div><br></div><div>Is  using the QtDesigner signal/slot assignment facilities discouraged? I've read this in the QGIS coding standards guide and don't really know if that means that:</div><div><br></div><div><b>Avoid use of Qt auto connect slots (i.e. those named
<code><span>void</span> <span>on_mSpinBox_valueChanged</span></code>).</b></div><div><br></div><div>So, If I need to connect two widgets in a groupBox (a radioButton and a QLineEdit, just to enable the QLineEdit only a determinate radioButton is selected), should I make it programatically instead using QtDesigner?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I realise you posted a follow up, but just to confirm -- yes, do NOT rely on connections made in the designer.</div><div dir="auto"><br></div><div dir="auto">The rationale is that the designer can break these connections without any warning. Eg if you cut and paste some widgets to move them around, any connections to those will be silently broken. It's much safer to rely on manual connections with compile time checks...</div><div dir="auto"><br></div><div dir="auto">Nyall</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div><br></div><div>Thanks a lot</div><div><br></div><div>Jorge<br></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div></div></div>