How can I access widgets from a customized widget?
<p>How can I access widgets from a customized widget?</p>
<p>For example:</p>
<p>I have a customized widget:
<a href="https://i.stack.imgur.com/MpZga.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MpZga.png" alt="enter image description here" /></a></p>
<p>Now I have a &quot;user info&quot; form that has a QWidget promoted to &quot;My Custom Widget&quot;:</p>
<p><a href="https://i.stack.imgur.com/xZa0P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xZa0P.png" alt="enter image description here" /></a></p>
<p>How can I get the text from my custom widget? (e.g. <code>QLineEdit-&gt;text()</code>)</p>