Learning is a mess
Learning is a mess

Reputation: 8277

PyQt: widget for listing by in clickable rows

I am looking for a widget that would help me in building a GUI for a python program using PyQt5.

I need to display a list of data, row by row. When clicking on one of the rows it will open a a different window.

I have looked into QLabel, QTableView but they do not seem to do the job - in the sense having the right signals.

Is there any widget in the library that could help me or should I start building my own?

Upvotes: 0

Views: 1374

Answers (1)

cdonts
cdonts

Reputation: 9599

QListWidget with the itemClicked signal should be enough.

Hope it helps!

Upvotes: 2

Related Questions