D
D
Danil2020-08-11 07:24:32
Python
Danil, 2020-08-11 07:24:32

Creating dynamic python and pyqt5 buttons?

I have a program written in python'e + pyqt5 and a database (sqlite, if this is important)
I need to implement a list output with data from the database and adding a button to each of the rows.
When you click on the button in any position (line), a new window will open, in which there will be data from this line.

I did not find anything on this issue, help me out

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bbkmzzzz, 2020-08-11
@bbkmzzzz

QTableView \ QTableWidget , depending on the desire to deal with models, on volume, and QTableWidgetItem for a button in a table cell

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question