[Qt-interest] Catching row changes of QListView

Robert Hairgrove evorgriahr at hispeed.ch
Sat May 14 14:17:36 CEST 2011


There is a protected signal "selectionChanged(...)" of QAbstractItemView
which would be nice to connect to a slot in order to update some other
controls in a data input form I am creating.

Unfortunately, QListView doesn't seem to provide any mechanism for
detecting the user's change of selection. Do I need to subclass
QListView in order to connect with this signal, or is there a better (or
easier) way?




More information about the Qt-interest-old mailing list