F
F
fllcntnt2020-02-08 15:33:43
Python
fllcntnt, 2020-02-08 15:33:43

Button to create new widget (repeatedly) Pyqt5?

It is necessary to make a button that creates more and more new widgets. On the screen from qt designer, it’s clearer what I mean: the ADDNEW button duplicates all the elements above it, but so that the input field has its own (for example, what I entered in the first line was not copied to the second, each existed separately, and the Delete button deleted all the line it is on). It is desirable not to have a limit on the number of such "groups of widgets", sometimes you will need 20 of them, or even more, you may have to do this with a grid, most likely you will have to sort these groups by the second field. I don't even know how to start this. Ready-made code is not needed, just a tip or hint on how to implement it

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question