Thanks, Uwe, but I already checked QwtEventPattern but still no clues on how to use it.

I tried something but it didn't work because of "selected" not being emitted while Shift was pressed. I'll try to post the code later (I don't have it at hand right now).