PDA

View Full Version : QListWidget and signals...



ouekah
2nd June 2010, 19:23
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 ?

Zlatomir
2nd June 2010, 19:47
Probably this (http://doc.qt.nokia.com/4.6/qlistwidget.html#itemSelectionChanged), but you can look in the source code to be absolutely sure, that is the advantage of using open-source software.

CeeKey
2nd June 2010, 19:49
I don not clearly understand your question, but itemSelectionChanged () will be emited if the selection change, as well as the selection is cleared.