F
F
frontjss2019-10-29 11:45:36
Python
frontjss, 2019-10-29 11:45:36

How to catch QListWidgetItem selection in PyQt5?

with buttons I know there is a connect function, but with QListWidgetItem what?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Rublev, 2019-10-29
@Meller008

Just like with a button, for example

list_widget = QListWidgetItem()
list_widget.itemClicked.connect(вызываемая функия)

The list of signals is here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question