title: How to simply delete row in QFormLayout programatically
body: <p>I have this code:</p>
  
  <pre><code>myEdit = QLineEdit()
  myQFormLayout.addRow("myLabelText", myEdit)
  </code></pre>
  
  <p>Now I have to remove the row by reference to <code>myEdit</code> only:</p>
  
  <pre><code>myQformLayout.removeRow(myEdit)
  </code></pre>
  
  <p>But there is no API for that. I can use <code>.takeAt()</code>, but how can I get the argument? How do I find the label index, or the index of <code>myEdit</code>?</p>