I am trying to do an iTunes like sidebar with different sections.

In the flags function from my QAbstractItemModel derived class I make sure not to return Qt::ItemIsSelectable for the items I like to use as titel for a section.
At the execution, the different titels are not selectable if I try to click them which is good, but going up and down with the keyboard will make me go through these titels (they do not appear as selected, but I loose the selection on the previously selected item)

What I would like to have is like in iTunes; if I have the selection on "iTunes Store" and pres the up key I will arrive immediatelly to the "Ringtone" element without stoping at the "Store" titel.

If someone has an idea...