pyside / pyqt: Getting values from dynamically created qlineedits on button clicked
问题 I have a program that creates a number of qlineedits and buttons depending on the users input: On the image above 4 lines have been added with a button after the grayed out "Next" button was clicked. Now I want to get the input from the user into a function when the corresponding button is clicked (Click "Create Shot 1! --> goto a function with "exShot1" passed as an argument). The thing is I have no idea how to get the names of each qline and button when they are created in a loop. I guess I