PDA

View Full Version : QListWidget slots



tvj4218
13th December 2016, 22:06
Hi all. I am popping up a QListWidget when someone clicks on a button in my app.
Then I would like to process the QListWidget selection but when the user clicks on
one of the items, Qt seems to think that the user is clicking on what is behind/under
the QListWidget. Is there a way to let Qt know that the user is clicking on a QListWidget item
when this widget is displayed?

Thank you for any help.
tvj

rawfool
14th December 2016, 05:19
Qt seems to think that the user is clicking on what is behind/under
the QListWidget. Is there a way to let Qt know that the user is clicking on a QListWidget item
when this widget is displayed?
Qt doesn't think anything else except your code. So it might be what you have written in the code.

What needs to be checked is connecting the required signal from QListWidget to the appropriate slot. Check your connections first. Share your code, we can see what is happening there.