[Interest] MacOSx: Qt::KeypadModifier for arrow keys?
Alan Ezust
alan.ezust at gmail.com
Fri Sep 18 22:52:32 CEST 2015
I am running a keyboard test program on the MacOS
with Qt 5.4 on MacOSx 10.10.5, Clang.
All it does is print out the modifiers and the keycodes when I type arrow
keys.
void Dialog::keyPressEvent(QKeyEvent *ke) {
qDebug() << "event: " << ke->modifiers() << ke->key();
}
event: QFlags(0x20000000) 16777234
event: QFlags(0x20000000) 16777236
event: QFlags(0x20000000) 16777235
event: QFlags(0x20000000) 16777237
Why is the keypad modifier always selected for regular arrow keypress
events on the mac?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150918/bdbd92ea/attachment.html>
More information about the Interest
mailing list