I have this code:

myEdit = QLineEdit()
myQFormLayout.addRow("myLabelText", myEdit)

Now I have to remove the row by reference to myEdit only:

myQformLayout.removeRow(myEdit)

But there is no API for that. I can use .takeAt(), but how can I get the argument? How do I find the label index, or the index of myEdit?

Edit
Report