QKeySequence using mouse scroll

143 views Asked by At

I'm trying to create a QAction that will trigger when user uses Shift + mouse scroll up/down.
Is there a way to create a QKeySequence corresponding to this, to set the QAction shortcut ?
If not, what could I do, besides overriding my widget's wheelEvent? I wish I had a cleaner solution than this.

0

There are 0 answers