Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Read keyboard input that can differ between LEFT Shift and RIGHT shift key

$
0
0
Hi, I am writing an application to test keyboards. I have to read input from both the shift buttons, the one on the right and the one on the left, and also for the right and left windows buttons. I haven’t written any Qt before, but if anyone could write up some example code on how I can capture these inputs from e.g. a QLineEdit (I want to show what character is being typed, irregardless of which shift-button the user press) I would really appreciate it! As a bonus, how can I read e.g. ctrl+shift, win+tab etc?

Viewing all articles
Browse latest Browse all 13965

Trending Articles