Hi,

Just wondering if there is a way to single out all the 'F' keys (F1 through to F12) in one go when I have a keyPressEvent(QKeyEvent *k) without having to list then all like this

if(k->key() == Qt::Key_F1)
if(k->key() == Qt::Key_F2)

etc...

Thank you very much