Il 18/09/2018 16:14, Martin Koller ha scritto:
e is a pointer - I can not compare this to a QKeySequence enum, right ?
You can, just overload the operator== for it.
https://code.woboq.org/qt5/include/qt/QtGui/qevent.h.html#_ZeqP9QKeyEventN12QKeySequence11StandardKeyE
(No idea if that's
I'd just like to have someone telling me if I'm completely wrong
or if I'm missing something here, please:
In QAbstractScrollArea::keyPressEvent(QKeyEvent * e)
there is this check:
} else if (e == QKeySequence::MoveToPreviousPage) {