When you click on QListWidget item, it gets selected.
When you click on the QListWidget, but not on an item, the selection is cleared.
Does somebody know which signal is emitted to clear that selection ?
When you click on QListWidget item, it gets selected.
When you click on the QListWidget, but not on an item, the selection is cleared.
Does somebody know which signal is emitted to clear that selection ?
Probably this, but you can look in the source code to be absolutely sure, that is the advantage of using open-source software.
ouekah (4th June 2010)
I don not clearly understand your question, but itemSelectionChanged () will be emited if the selection change, as well as the selection is cleared.
Stelios: What the hell are you laughing at?
Astinos: Well, you had to say it!
Stelios: What?
Astinos: "Fight in the shade"!
-------------------------------------------
If my answer has helped you, i would appreciate it if you use the thanks button.
ouekah (4th June 2010)
Bookmarks