I was looking for an answer to this beginner question but only found long or complicated ones. I have a list of QLineEdits and now I want to get the string in one of them, how is this done?
my_list = []
a = QLineEdit()
a.setText("text1")
my_list.append(a)
b = QLineEdit()
b.setText("text2")
my_list.append(b)