Edwin, There is a modifierkeys member in your function, that is added to keyQt for the first keysymbol. If I understand this correctly, this disallows KeySequences like Alt-I Ctrl-B. Right?
I also do not understand the KeyReleased event where this modifierkeys is again modified. Bo