[Qt-interest] Navigating QListView with arrow keys

Mario Signorino mario.signorino at gmail.com
Mon Oct 26 12:01:08 CET 2009


Hi all,

which is the best way to handle the up and down keys on a QListView?

I can use the clicked() or the activated() signal, to catch mouse
activity.. but if the user navigate my listview with the up and down
keys (without pressing space or Enter), I can't trap nothing.
Should I use a installEventFilter() on the list?

Tnx
Mario

-- 
Mario Signorino | www.sgrunt.net



More information about the Qt-interest-old mailing list